This section explains DFS setup. The DFS setup procedure is shown below.
Create the mount point and set fstab settings
Mount
Creating the mount point
Create the mount point for mounting the disk partitions on the storage system used as the DFS.
Make the mount point the same as that specified at the master server.
Example
Create the mount point "pdfs" under "/mnt".
# mkdir /mnt/pdfs <Enter>
fstab settings
At "/etc/fstab", define the mount points created above and the logical file system name.
The logical file system name is used to identify the DFS file system. Use the name defined when generating the configuration information of the file system on the master server.
Example
This example shows the mount point "/mnt/pdfs" and the logical file system name "pdfs1" defined at "/etc/fstab".
LABEL=/ / ext3 defaults 1 1 LABEL=/home /home ext3 defaults 1 2 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 LABEL=SWAP-sda3 swap swap defaults 0 0 pdfs1 /mnt/pdfs pdfs _netdev 0 0
The "DFS file configuration information" must be distributed to the slave server before the DFS file system is mounted. Refer to "3.1.5 Distributing the DFS File System Configuration Information" if the "DFS file configuration information" is not yet distributed.
Refer to "D.4.6 Mount" in "Appendix D DFS Environment Construction" for information on mounting a DFS file system.
Example
Mount the DFS file system at the slave server.
# mount pdfs1