DFS entries must be added to /etc/fstab in order to perform mount at the slave servers, development servers and collaboration servers.
Determine the DFS entries to be set in /etc/fstab.
Field 1 (fs_spec)
Specify the logical file system name of the DFS to be mounted.
Information
The configuration information file is used to manage the file system structure at slave servers, development servers and collaboration servers. The logical file system name is used to identify this configuration information file.
Field 2 (fs_file)
This is the directory to be used as the default mount point.
Specify the directory that is specified at the master server.
Field 3 (fs_vfstype)
Specify the pdfs.
Field 4 (fs_mntops)
Specify the mount options to be used when mount is performed.
Ensure that the _netdev option is specified.
Determine other option specifications as shown below.
Item to be checked | Option to be specified |
---|---|
If either of the following applies:
| noatime |
If not performing mount at slave server, development server and collaboration server startup | noauto |
If mounting DFS as read only | ro |
See
Refer to the mount command page in the online manual for details of the noauto option. Refer to "mount.pdfs" under "Appendix A Command Reference" in the "Primesoft Distributed File System for Hadoop V1 User's Guide" for details of other mount options.
Field 5 (fs_freq)
Specify 0.
Field 6 (fs_passno)
Specify 0.
An example of /etc/fstab settings is shown below.
Example: slave server and collaboration server fstab settings
# cat /etc/fstab <Enter> LABEL=/ / ext3 defaults 1 1 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-hda5 swap swap defaults 0 0 pdfs1 /mnt/pdfs pdfs _netdev 0 0