Sun Microsystems 2.1 manual d device, mfs repair usage is as follows

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 126
Image 126

mfs repair usage is as follows:

mfs repair [-cs] [-Fpr] [-d /dev/rdsk/device] [-ovy]

The arguments to mfs repair are described below:

-c

Perform consistency checking, including reclaiming unused blocks.

-s

Display the status of a failed drive (if any).

-F

Force a failure of a specified disk.

-p

Initiate phase-out of parity mode. (Return to normal operation from parity mode.)

-r

Reconstruct data on newly replaced disk drive.

-ddevice

The SCSI controller and target numbers of the device to be rebuilt from parity information. An example device name is /dev/rdsk/c1t3d0s2.

-v

Verbose mode. List names of files as they are encountered.

-y

Answer “yes” to all questions.

Assume an example Sun MediaCenter server for which you receive an SNMP Disk_Failed trap. On checking console messages you see the following message:

WARNING: data disk 0x80009a (32,154) FAILED

Note It is only after you receive a message such as the preceding that you can say that a disk has failed. An accumulation of “soft” errors, such as SCSI read errors, might be the harbinger of a disk failure, but does not of itself constitute a disk failure.

8-6Sun MediaCenter Server Administrator’s Guide • December 1997

Page 126
Image 126
Sun Microsystems 2.1 manual d device, mfs repair usage is as follows