4 mkmfs – Sun Microsystems MEDIACENTER 2.1 User Manual

Page 128

Advertising
background image

8-8

Sun MediaCenter Server Administrator’s Guide • December 1997

Following this command, use the

mfs repair

commands described above to

replace the failed disk.

Use of

mfs repair

is appropriate only for single disk failures. Two, overlapping

disk failures cause the server to panic. If you experience the failure of more than one
disk, you must use

smc_copy

or

ftp

, in conjunction with the Sun MediaCenter FTP

daemon, to restore your original data from backup storage.

For a given disk, you might receive a number of “soft errors,” such as SCSI read
errors that were corrected upon retry. As specified in the preceding section, these
errors do not, in themselves, constitute a disk failure. If you are concerned about
recurring soft errors for a particular disk, you can use a command such as the one
below, to explicitly fail the disk.

Following completion of this command, you can then replace the now-failed disk,
following the procedure described in Section 8.3, “Replacing a Failed Disk.”

8.2.4

mkmfs

The

mkmfs

utility creates an MFS. This command is automatically invoked by the

pkgadd

installation process. You only need to invoke this utility if you reconfigure

the data and parity disks used by the MFS. The

mkmfs

utility is analogous to the

Unix

mkfs

(1M) utility.

mkmfs

usage is as follows:

server# mfs repair -F -d /dev/rdsk/c1t3d0s2 -v

/opt/SUNWsms/mfs/bin/mkmfs [ -f <

config file

> ]

Caution –

mkmfs

disables access to all MFS files in existence prior to your

running the command. After running

mkmfs

, you must re-run

mfs record

to

re-create any media files that had previously existed.

Advertising