PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Appendix C Corrective Measures against I/O Errors in the GFS Local File System

C.1 If the message "sfxfs...: read error" or "sfxfs...:write error" is output

The message "sfxfs...: read error" indicates that an I/O error occurred while file system data was read from the disk. The Message "sfxfs...:write error" indicates that an I/O error occurred while file system data was written to the disk.

If one of these error messages is output, an I/O path or device is faulty and needs to be recovered.

Perform a recovery as follows:

1) Determine the file system and partition where the error occurred.

To do so, enter the GFS Local File System management command sfxinfo(1M) using the device number in the error message as key.

# sfxinfo -d device-number

2) If "sfxfs...:write error" is output

If this error occurs, file system information that was updated in memory has not been saved to the disk. In this case, it is recommended to back up as many files as possible in the file system before the file system is unmounted: After the file system is unmounted, updated information that has not been registered properly is lost.

3) Unmount the file system where an error occurred.

Use the umount(1M) to unmount the faulty file system. For this command, specify the mount point that was determined in step 1).

4) Make a copy of the file system data in the partition where the error occurred, replace the partition, then use fsck_sfxfs(1M) to restore the consistency of the file system. Issue fsck_sfxfs(1M) while specifying to perform a full check.

# fsck -F sfxfs -o nolog special-device-name

5) If the file system cannot be recovered by step 4), replace the faulty location, recreate the file system, and restore the data from the last backup.


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004