Please consider a donation to the Higher Intellect project. See https://preterhuman.net/donate.php or the Donate to Higher Intellect page for more info. |
XFS checkdisk
Overview
The author cannot be held responsible for a possible loss of data. You are always self-responsible of backing up your data!
Although XFS is one of the most advanced filesystems, there can be situations in which you want to check if your root-drive is error free or to repair a corrupted partition.
xfs_repair
For doing this on your root-drive, you have to quit IRIX and boot a mini-root. So reboot your machine and press ESC, until the following screen appears:
Then click on the icon Install System Software which brings up this screen:
Insert your Installation Tools and Overlays 1/4 disk, that is part of your IRIX-CD-Set, and press install. This brings up the next screen:
Enter the phrase admin or the numer 13 and press enter. You will get a choice of administrative tasks. Enter the phrase mount to get a list of mounted filesystems:
Unmount the filesystems that are hooked into mountpoints on your root drive. In this case it is an optiondrive:
After unmounting this drive with the command umount /dev/dsk/dks0d2s7 also unmount the rootdrive:
Now we start a unix shell with sh or 6:
And start checking/repairing the root-partition with xfs_repair /dev/dsk/dks0d1s0
xfs_repair works and restores data to the well-known lost+found folder, for example...
After xfs_repair has finished, quit the unix-shell using the exit-command
You return to the administrative menu. Here remount the rootdrive using mount /root
Finally return to the main-installation menu:
...and type in quit to restart your machine.