D-Link DNS-6040 [156/185] Appendix 3

D-Link DNS-6040 [156/185] Appendix 3
DNS-6040M/DNS-6040 User’s Manual
146
Appendix 3
UNIX access to the NAS server
One of the purposes for the NFS protocol is to have similar
management methods of the remote file system and local file
system. Therefore, they can both use the “mount” command to
mount.
mount /dev/dsk/c0t0d0s5 /home (local filesystem, Solaris)
mount /dev/hda5 /home (local file system, Linux)
The Unix administrator will usually set the above-mentioned
scripts in /etc/vfstab (Solaris) or /etc/fstab (Linux, FreeBSD).
These settings will automatically execute once the system starts.
The following example shows the contents of a /etc/vfstab
(dogfood is a NAS/NFS server name).
# Filesystem Mountpoint Type
/dev/dsk/c0t0d0s0 / ufs
/proc /proc proc
dogfood:/volume1/programs /usr/local nfs
dogfood:/volume1/homes /home nfs
When there are a lot of Unix clients in the network, , writing
NFS file systems into client /etc/vfstab or /etc/fstab files
becomes a complicated task. When the path of one NFS file
system changes, or a new NFS file system is added, the
administrator has to change the settings for each Unix client one
by one.

Содержание

Скачать