Sun Microsystems 2.1 Server User Manual


 
Chapter 8 Administering MFS Disks 8-9
Following invocation without the -f option, mkmfs prompts you for the information
required to build an MFS. For example:
You specify the parity drive(s) after you have entered all data drives. The number of
parity drive entries must correspond to the number you entered at the “Number of
parity drives:” prompt. In the example above, there is one parity drive specified, so
mkmfs assumes the last entry, /dev/rdsk/c1t6d0s2, is that single parity drive.
When you use the -f option, you must supply the pathname of a file that contains
the information required to build an MFS. Shown below is an example disk
configuration file that contains the information entered manually in the previous
example.
server% /opt/SUNWsms/mfs/bin/mkmfs
FS path name: /var/opt/SUNWsms
Total number of drives: 12
Number of parity drives: 2
Drive name: /dev/rdsk/c1t1d0s2
Drive name: /dev/rdsk/c1t2d0s2
Drive name: /dev/rdsk/c1t3d0s2
Drive name: /dev/rdsk/c1t4d0s2
Drive name: /dev/rdsk/c1t5d0s2
Drive name: /dev/rdsk/c2t1d0s2
Drive name: /dev/rdsk/c2t2d0s2
Drive name: /dev/rdsk/c2t3d0s2
Drive name: /dev/rdsk/c2t4d0s2
Drive name: /dev/rdsk/c2t5d0s2
Drive name: /dev/rdsk/c1t6d0s2
Drive name: /dev/rdsk/c2t6d0s2
<Ctrl-D to exit>
/var/opt/SUNWsms/MFS
12
2
/dev/rdsk/c1t1d0s2
/dev/rdsk/c1t2d0s2
/dev/rdsk/c1t3d0s2
/dev/rdsk/c1t4d0s2
/dev/rdsk/c1t5d0s2
/dev/rdsk/c2t1d0s2
/dev/rdsk/c2t2d0s2
/dev/rdsk/c2t3d0s2
/dev/rdsk/c2t4d0s2
/dev/rdsk/c2t5d0s2
/dev/rdsk/c1t6d0s2
/dev/rdsk/c2t6d0s2