The following procedure is a guide for setting up an active, single-volume file system:
mkfdmn You can add more
volumes to any existing file domain with addvol
mkfset
It is good practice to name each fileset the same as its mount-point directory.mkdirmount
In the unlikely event of a severe failure that requires manual
restore of the /etc/fdmns
directory, you must have a separate record of your file system
configuration with the name of each file domain and its associated volumes.
The following examples show AdvFS usage.
dom_user1 for the /user1 file system on
/dev/rz3c
# cd /
# mkdir /user1
# mkfdmn /dev/rz3c dom_user1
# mkfset dom_user1 user1
# mount -t advfs dom_user1#user1 /user1
dom_gen and file sets wrk and pub for the mount points
/wrk and /pub on /dev/rz24c
# mkfdmn /dev/rz24c dom_gen
# mkfset dom_gen wrk
# mkfset dom_gen pub
# mkdir /pub /wrk
# mount -t advfs dom_gen#wrk /wrk
# mount -t advfs dom_gen#pub /pub
N.B. The number sign (#) between domain and
fileset is part of the syntax. Refer to mkfdmn(8), mkfset(8),
and addvol(8) for more information.