DFS entries must be added to /etc/fstab in order to perform mount at the DFS management server.
The DFS entries to be set in /etc/fstab are explained below.
Field 1 (fs_spec)
Specify the representative partition of the DFS to be mounted.
Field 2 (fs_file)
Specify the directory to be used as the default mount point.
Specify a directory that exists at all servers where the DFS is to be mounted.
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 noauto 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 DFS management server startup | noatrc |
If mounting DFS as read only | ro |
See
Refer to pdfsmount under "Appendix A Command Reference" in the "Primesoft Distributed File System for Hadoop V1 User's Guide" for mount option details.
Field 5 (fs_freq)
Specify 0.
Field 6 (fs_passno)
Specify 0.
An example of /etc/fstab settings is shown below.
Example: DFS management 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 /dev/disk/by-id/scsi-1FUJITSU_300000370106 /mnt/pdfs pdfs noauto, noatime 0 0