Professional Documents
Culture Documents
Module Objectives
By the end of this module, you should be able to: Explain NFS implementation in Data ONTAP License NFS on a storage system Explain the purpose and format of /etc/exports
List and define the export specification options Explain the rules for exports Describe the use of the exportfs command Mount an export on a UNIX host
NFS Overview
NFS Overview
NFS allows network systems (clients) to share files and directories that are stored and administered centrally from a storage system The following platforms usually support NFS:
Sun Microsystems Solaris Linux HP-UX And more
vol0
Network Connection
Client1
Client1
Setting up NFS
Configure NFS using either:
CLI NetApp System Manager
To configure licenses
Exporting Resources
Exporting Resources
To make resources available to remote clients, the resource must be exported
To export a resource persistently:
Edit the /etc/exports file with new entry Execute the exportfs -p command Use NetApp System Manager
All hosts can mount the /vol/vol0/home directory as readwrite if an option is not specified
2009 NetApp. All rights reserved.
This option gives read-write permissions to host2 only. All other hosts have no access
2. Allow read-write access to /vol/vol0/home by host1 and host2 3. Allow read-write access to /vol/vol1 by host1 and read-only access by host3
c. d. e. f. g. h.
Exporting
Temporary Exports
Use the exportfs command to create inmemory exports:
system> exportfs -i -o
Example:
system> exportfs -i -o ro=host1 /vol/vol0/home
NOTE: When the storage system reboots, this export will be gone
anon=65534 (nobody)
Mounting
# mkdir /system-vol1-qt1 (2) # mount system:/vol/vol1/qtree1 /system-vol1-qt1 # cd /system-vol1-qt1 (4) # ls l (5) -rwxr-xr-x root 719634 FEB 11 2004 ,general -rwxr-xr-x root 719634 FEB 13 2004 ,policy
(3)
Module Summary
In this module, you should have learned to: Explain NFS implementation in Data ONTAP License NFS on a storage system Explain the purpose and format of /etc/exports
List and define the export specification options Explain the rules for exports Describe the use of the exportfs command Mount an export on a UNIX host
Exercise
Module 7: NFS Estimated Time: 45 minutes
What command would you use to view what is exported from the storage appliance?
exportfs