User`s guide

22 Implementing an Open IBM SAN
If there is no disklabel on the disk, type the following command to write the label
to the disk:
#disklabel -rw rzh128 shark
Substitute your specific disk with the rzh128 command. Always specify the rz
file without the partition.
1.6.5 Configuring AdvFS
Before you create an AdvFS file system, you must design a structure by
assigning a file domain and the file sets. Type the following commands to create
an AdvFS file system with file sets:
1. # cd /
2. # mkfdmn -rw /dev/rzXc vol1_dom
3. # mkfset vol1_dom vol1
4. # mkdir /vol1 # mount vol1_dom#vol1 /vol1
To display all mounted devices, type: df -k
1.6.6 Configuring devices to mount automatically
To enable an AdvFS file system to start automatically, add an entry to the
/etc/fstab file to the mount command during startup. The following shows an
example of a modified /etc/fstab file.
The lines that are shown in bold are the lines that were entered since the initial
operating system installation:
# root_domain#root / advfs rw,userquota,groupquota 0 0
/proc /proc procfs rw 0 0
usr_domain#usr /usr advfs rw,userquota,groupquota 0 0
/dev/rz8b swap1 ufs sw 0 2
vol1_dom#vol1 /vol1 advfs rw,userquota,groupquota 0 2
vol2_dom#vol1 /vol2 advfs rw,userquota,groupquota 0 2
vol3_dom#vol1 /vol3 advfs rw,userquota,groupquota 0 2
vol4_dom#vol1 /vol4 advfs rw,userquota,groupquota 0 2
vol5_dom#vol1 /vol5 advfs rw,userquota,groupquota 0 2
vol6_dom#vol1 /vol6 advfs rw,userquota,groupquota 0 2
vol7_dom#vol1 /vol7 advfs rw,userquota,groupquota 0 2
vol8_dom#vol1 /vol8 advfs rw,userquota,groupquota 0 2
vol9_dom#vol1 /vol9 advfs rw,userquota,groupquota 0 2
vol10_dom#vol1 /vol10 advfs rw,userquota,groupquota 0 2
When the host system starts, it mounts all volumes that you created in 1.6.5,
Configuring AdvFS on page 22.