The following example shows how the entries might look for a filer with these interfaces:
255.255.255.145 | filer | |
255.255.255.155 |
|
In the first line of the preceding example, the filer host name itself is used as an alias for the first network interface.
([SRUWLQJ)LOHU'LUHFWRULHVIRU1)6&OLHQWV
You must export the filer’s file systems before clients can mount them.
Use an editor from an NFS or CIFS client to edit the /etc/exports file to export filer directories.
0RXQWLQJ)LOH6\VWHPVRQ1)6&OLHQWV
'HVFULSWLRQ
For clients to mount file systems from the filer, you must create entries for the direc- tories exported from the filer in each client’s /etc/fstab or /etc/vfstab file.
After you edit the clients’ /etc/fstab or /etc/vfstab file, the clients mount the file sys- tems automatically when they boot.
6WHSV
To prepare clients to mount the filer’s file systems, perform the following steps:
NOTE: The /vol/vol0/home directory is used as a sample filer directory in this proce- dure. You should use a path that exists on the filer.
1.Create a directory on the client to act as a mount point. For example, /n/filer/ home.
2.To mount the filer’s /vol/vol0/home directory to /n/filer/home, add the following line to the client’s /etc/fstab or /etc/vfstab file:
filername:/vol/vol0/home /n/filer/home nfs rw 0 0
Replace filername with the name of your file.
The file system is mounted when the client reboots.
3.To mount the /vol/vol0/home directory without a client reboot, enter the following command at the client:
mount filername:/vol/vol0/home /n/filer/home