next up previous contents
Next: Advfs Quotas Up: Administering the Advanced File Previous: AdvFS Filesets and File   Contents

Setting Up the Advanced File System

The following procedure is a guide for setting up an active, single-volume file system:

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.

  1. create a sigle-domain, single-fileset structure with domain name 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
    
  2. create a single domain, two fileset structure with domain name 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.


next up previous contents
Next: Advfs Quotas Up: Administering the Advanced File Previous: AdvFS Filesets and File   Contents
luvisetto
2001-10-02