Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Data Domain: Mounting and Verifying Exports on the NFS Client

Summary: NFS configuration and mount options and nfs client configuration. Mounting and Verifying Exports on the NFS Client. NFS allows a system to share directories and files with others over a network. This article is helpful in verifying whether an NFS export is configured correctly. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



This article is helpful in verifying whether an NFS export is configured correctly.

All Data Domain systems
All Software Releases

Cause

NFS allows a system to share directories and files with others over a network.

Resolution

Verify if NFS is enabled:

At the restorer Command-Line Interface (CLI) enter the command "nfs enable":

# nfs enable


 

Verify that the correct mount options are set on the Data Domain system:

# nfs show clients
path      client                   options
-------   ----------------------   ----------------------------------------
/backup   *                        (rw,no_root_squash,no_all_squash,secure)
/ddvar    *                        (rw,no_root_squash,no_all_squash,secure)
-------   ----------------------   ----------------------------------------


 

Enabling access to NFS on the Data Domain Restorer:

Add NFS clients that can access the Data Domain system. Use a comma- or space-separated (or both) list for multiple clients. A client can be a fully-qualified domain hostname, class-C IP addresses, IP addresses with either netmasks or length, or an asterisk (*) wildcard with a domain name, such as *.yourcompany.com. An asterisk (*) by itself means no restrictions. A client added to a sub-directory under /backup has access only to that sub-directory.    

The <nfs-options> are a comma-separated or space-separated (or both) list bounded by parentheses. With no options specified, the default options are rw, root_squash, no_all_squash, and secure. The following options are allowed:

ro

Read only permission.

rw

Read and write permissions.

root_squash

Map requests from uid/gid 0 to the anonymous uid/gid.

no_root_squash

Turn off root squashing.

all_squash

Map all user requests to the anonymous uid/gid.

no_all_squash

Turn off the mapping of all user requests to the anonymous uid/gid.

secure

Require that all requests originate on an Internet port that is less than IPPORT_RESERVED (1024).

insecure

Turns off the secure option.

anonuid=id

Set an explicit uid for the anonymous account. The id is an integer bounded from -65635 to 65635.

anongid=id

Set an explicit gid for the anonymous account. The id is an integer bounded from -65635 to 65635.

nolock

Do not use file locking.

llock

Requests that files lock locally at the NFS client. NFS network file locking requests are not sent to the NFS server if the llock option is used.

Example:

# nfs add /backup 192.168.29.30/24 (rw,no_root_squash,no_all_squash,secure)
Export for specific user

CLI Commands
   -  user show detailed
   - nfs add export-path <client-IP> (rw,root_squash, all_squash, anonuid=user-ID, anongid=group-ID)
   - nfs export modify export-path clients <client-IP> options rw,root_squash, all_squash, anonuid=user-ID, anongid=group-ID 

NFS Client Service Configuration:

The following steps detail the requirements for configuring an NFS client. The examples demonstrate configuration on a Linux host. See the clients operating-specific documentation for additional information.

  1. Confirm the NFSD daemon is running on your OS(Operating system.)
    # /sbin/service nfs status
    rpc.mountd is stopped
    nfsd is stopped
    rpc.rquotad is stopped
    Currently NFS service is NOT enabled.
    
        
    	 
  2. Issue the following command to enable the NFS client.
    # /sbin/service nfs start
    Starting NFS services:                                     [  OK  ]
    Starting NFS quotas:                                       [  OK  ]
    Starting NFS daemon:                                       [  OK  ]
    Starting NFS mountd:                                       [  OK  ]
    
        
    	 
  3. Verify that the NFS client service is running.
    #/sbin/service nfs status
    rpc.mountd (pid 7748) is running...
    nfsd (pid 7746 7745 7744 7743 7742 7741  7740 7739) is running...
    rpc.rquotad (pid 7723) is running...
    
    	 

Mounting /backup and /ddvar NFS Shares on the NFS Client:

The following procedure provides an example of configuring Linux and Solaris clients to mount NFS shares from the Data Domain system. The procedure is similar for other operating systems; although the specific commands may differ for each step. See the client Operating Systems documentation for specifics.

  1. Create a directory on the NFS client to use for accessing the Data Domain share. In the following example the directory ddr  is used.
  2. Change to the newly created directory.
  3. Create two sub-directories called backup and ddvar  (within /ddr).
    Note: Ensure the target sub-directories exist or the mount command will fail
  4. Mount the file system on the client, using any specific mount-options required for the Operating System.
  5. Verify that the mount is successful.

Examples

Linux:

# mkdir /ddr
# cd /ddr
# mkdir backup
# mkdir ddvar
# mount -t nfs -o hard,intr,nolock,nfsvers=3,tcp,rsize=1048600,wsize=1048600,bg HOSTNAME:/backup /ddr/backup
# mount -t nfs -o hard,intr,nolock,nfsvers=3,tcp,rsize=1048600,wsize=1048600,bg HOSTNAME:/ddvar /ddr/ddvar
# ls /ddr/backup

 

Where "HOSTNAME" is the hostname or IP address of your Data Domain system.

Solaris:

# mkdir /ddr
# cd /ddr
# mkdir backup
# mkdir ddvar 
# mount -F nfs -o hard,intr,llock,vers=3,proto=tcp,rsize=1048600,wsize=1048600 HOSTNAME:/backup /ddr/backup
# mount -F nfs -o hard,intr,llock,vers=3,proto=tcp,rsize=1048600,wsize=1048600 HOSTNAME:/ddvar /ddr/ddvar
# ls /ddr/backup

 

Where "HOSTNAME" is the hostname or IP address of your Data Domain system.

AIX: 

dir /ddr
# cd /ddr
# mkdir backup
# mkdir ddvar 
# mount  -V nfs  o intr,hard,llock,rsize=65536,wsize=65536,vers=3,proto=tcp,combehind,timeo=600,retrans=2 -p HOSTNAME:/backup /ddr
# mount  -V nfs  o intr,hard,llock,rsize=65536,wsize=65536,vers=3,proto=tcp,combehind,timeo=600,retrans=2 -p HOSTNAME:/ddvar /ddr
# ls /ddr/backup


Where "HOSTNAME" is the hostname or IP address of your Data Domain system.


Example of how to mount a mtree on a nfs client.

# mount -t nfs -o hard,intr,nolock,nfsvers=3,tcp,rsize=1048600,wsize=1048600,bg HOSTNAME:/data/col1/mtree1 /ddr/mtree1

 

Affected Products

Data Domain

Products

Data Domain
Article Properties
Article Number: 000018053
Article Type: Solution
Last Modified: 03 Jul 2024
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.