css: max line length
[openafs-wiki.git] / ConfiguringServerVolumesonSolaris.mdwn
1 Every AFS file server machine must have at least one partition or logical volume dedicated to storing AFS volumes. Each server partition is mounted at a directory named /vicepxx, where xx is one or two lowercase letters. The /vicepxx directories must reside in the file server machine's root directory, not in one of its subdirectories (for example, /usr/vicepa is not an acceptable directory location). For additional information, see Performing Platform-Specific Procedures.
2
3 If this AFS server it is not going to be a file server you can skip this step.
4
5 Create a directory called /vicepxx for each AFS server partition you are configuring (there must be at least one). Repeat this command for each partition.
6
7        # mkdir /vicepxx
8
9 Add a line with the following format to the file systems registry file, /etc/vfstab, for each partition to be mounted on a directory created in the previous step. Note the value afs in the fourth field, which tells Solaris to use the AFS-modified fsck program on this partition.
10
11        /dev/dsk/disk   /dev/rdsk/disk   /vicepxx   afs   boot_order  yes  -
12
13 The following is an example for the first partition being configured.
14
15        /dev/dsk/c0t6d0s1 /dev/rdsk/c0t6d0s1 /vicepa afs 3 yes -
16
17 Create a file system on each partition that is to be mounted at a /vicepxx directory. The following command is probably appropriate, but consult the Solaris documentation for more information.
18
19        # newfs -v /dev/rdsk/disk
20
21 Issue the mountall command to mount all partitions at once.