1/18/2019 Storage Knowledge Base : Netapp NFS Exportfs CLI Configuration Guide
More Create Blog Sign In
Storage Knowledge Base
Tuesday, January 7, 2014 Blog Archive
Netapp NFS Exportfs CLI Configuration Guide ▼ 2014 (26)
▼
► February (8)
►
▼ January (18)
▼
Netapp CLI NFS Config Guide
Restoring data from Snashots
using Snaprestore com...
A quick and simple Netapp NFS configuration guide with commands and options to
help explain and remove the mysteries. Netapps provide highly dependable NFS Data Deduplication Concepts
services, as the name implies, it’s a network appliance. You really can just turn it on How to check part number of
and not worry much about outages. Unless someone trips on a power chord or two. installed adapter in O...
Below is a compilation of exporfs and exports configuration options commonly used. Which is faster, NDMPcopy or vol
copy?
Rules for exporting Resources How to check unplanned
downtime detail for a NetAp...
• Specify complete pathname, meaning the path must begin with a /vol prefix
• You cannot export /vol, which is not a pathname to a file, directory or volume. Export HA Configuration Checker (ha-
config-check.cgi)
each volume separately
HA GROUP ERROR:
• When export a resource to multiple targets, separate the target names with a colon
DISK/SHELF COUNT
(:) Resolve hostnames using DNS, NIS or /etc/hosts per order in /etc/nssswitch.conf MISMATCH ERROR
Failed disk replacement in NetApp
Examples to export resources with NFS on the CLI
How to map a snapshot of a LUN
> exportfs -a to another server f...
> exportfs -o rw=host1:host2 /vol/volxyz
How to fix WAFL hung in SK
process
Exportable resources are by Volume Directory/Qtree File. Target examples from
Updating SP firmware
/etc/exports Host – use name of IP address
How to troubleshoot takeover of
/vol/vol0/home -rw=myhost partner is disable...
/vol/vol0/home -root=myhost,-rw=hishost,therehost
Netapp NFS Exportfs CLI
Netgroup – use the NIS group name – Although I love NIS, NIS is rare nowadays. But Configuration Guide
the Netapp supports NIS. Don’t think NIS+. Netapp Hardware connection
/vol/vol0/home -rw=the-nisgroup
LUN Creation Using Snapdrive
Subnet – specify the subnet address NetApp FC LUN Allocation on
Windows Server - Hard ...
/vol/vol0/home -rw=”192.168.100.0/24″
Steps for creating Vfiler
DNS – use DNS subdomain Netapp Interview Questions
/vol/vol0/home -rw=”.sap.dev.mydomain.com”
► 2013 (31)
►
Displays all current export in memory
> exportfs About Me
To export all file system paths specified in the /etc/exports file
> exportfs -a
Rajat Garg
Adds exports to the /etc/exports file and in memory. Default export options are
always “rw” (all hosts) and security set to “sec=sys” Working as
Associate
> exportfs -p [options] path consultant in TCS
with over 8 years
> exports -p rw=hostxyz /vol/vol2/sap of experience in
Storage
Exports a file system path temporarily without adding a corresponding entry to the Implementation
/etc/exports file, handy short term method. and Support
> exporfs -i -o ro=hostB /vol/vol1/lun2 View my
complete profile
http://rajat926.blogspot.com/2014/01/netapp-nfs-exportfs-cli-configuration.html 1/3
1/18/2019 Storage Knowledge Base : Netapp NFS Exportfs CLI Configuration Guide
Reloads the exports from /etc/exports files
> exportfs -r
Unexports all exports defined in the /etc/exports file
> exportfs -uav
Unexports a specific export
> exportfs -u /vol/vol2/homes
Unexports an export and removes it from /etc/exports file. This one is handy.
> exportfs -z /vol/vol0/home
To verify the actual path to which a volume is exported
> exportfs -s /vol/vol2/vms-data
To display list of clients mounting from the storage system
> showmount -a filerabc
To display list of exported resources on the storage system
>showmount -e filerabc
To check NFS target to access cache
> exportfs -c clientaddr path [accesstype] [securitytype]
> exportfs -c host1 /vol/vol2 rw
To remove access cache entries
> exportfs -f [path]
Flush the access cache.
> exportfs -f
Access restrictions that specify what operations an NFS client can perform on a
resource
• Default is read-write (rw) and UNIX Auth_SYS (sys) security
• “ro” option provides read-ony access to all hosts
• “ro=” option provides read-only access to specified hosts
• “rw=” option provides read-write access to specified hosts
• “root=” option specifies that root on the target has root permissions
Posted by Rajat Garg at 11:32 AM
No comments:
Post a Comment
Enter your comment...
Comment as: sukesh.panwa Sign out
Publish Preview Notify me
Newer Post Home Older Post
Subscribe to: Post Comments (Atom)
http://rajat926.blogspot.com/2014/01/netapp-nfs-exportfs-cli-configuration.html 2/3
1/18/2019 Storage Knowledge Base : Netapp NFS Exportfs CLI Configuration Guide
Simple theme. Theme images by luoman. Powered by Blogger.
http://rajat926.blogspot.com/2014/01/netapp-nfs-exportfs-cli-configuration.html 3/3