Sun Microsystems 2.1 Server User Manual


 
Chapter 8 Administering MFS Disks 8-7
To find out which MFS disk has failed, you enter:
mfs repair reports that the disk at c1t3d0s2 has failed. Chapter 3 of the Sun
MediaCenter UltraSPARC Hardware Manual tells you that c1t3d0s2 corresponds to
the third data disk in the first Multipack enclosure connected to SCSI port 1 on the
server.
With the server still running, you remove the defective disk and replace it with a
good disk. You then enter the following command to copy data from the parity disk
to the new disk:
The mfs repair utility takes several minutes to restore a new disk. When mfs
repair finishes copying data to the new disk, the server is still in parity mode, that
is, reading data from the parity disk and not using the new disk.
To make the server return to normal playback mode (phase out parity mode), enter
the following command:
mfs repair displays “Recovering” messages on the console as the server returns to
normal playback mode.
You can combine the -r and -p options, shown in the previous two example
commands. For example:
With a command such as the preceding, you can combine repair and return to
normal playback in a single command.
The status of a disk as failed does not persist across a reboot. If you experience a
disk failure, then reboot, you must explicitly fail the disk, with a command such as:
server# mfs repair -s
drive /dev/rdsk/c1t3d0s2 (dev 0x80009a) is FAILED
server# mfs repair -r -d /dev/rdsk/c1t3d0s2 -v
server# mfs repair -p -d /dev/rdsk/c1t3d0s2 -v
server# mfs repair -rp -d /dev/rdsk/c1t3d0s2 -v
server# mfs repair -F -d /dev/rdsk/c1t3d0s2 -v