0% found this document useful (0 votes)
12 views

Data Domain_ Mounting and Verifying Exports on the NFS Client _ Dell Vietnam

This document provides instructions for mounting and verifying NFS exports on Data Domain systems. It includes steps for enabling NFS, configuring NFS clients, and mounting NFS shares on Linux and Solaris clients. The article serves as a guide for ensuring proper NFS configuration and access to shared directories and files over a network.

Uploaded by

Chi Hoa Nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Data Domain_ Mounting and Verifying Exports on the NFS Client _ Dell Vietnam

This document provides instructions for mounting and verifying NFS exports on Data Domain systems. It includes steps for enabling NFS, configuring NFS clients, and mounting NFS shares on Linux and Solaris clients. The article serves as a guide for ensuring proper NFS configuration and access to shared directories and files over a network.

Uploaded by

Chi Hoa Nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

1/25/22, 9:26 AM Data Domain: Mounting and Verifying Exports on the NFS Client | Dell Vietnam

Article Number: 000018053 Print

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.

Article Content

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 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:

https://www.dell.com/support/kbdoc/en-vn/printview/000018053/10/en 1/4
1/25/22, 9:26 AM Data Domain: Mounting and Verifying Exports on the NFS Client | Dell Vietnam

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.

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

insecure Turns off the secure option.

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

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

nolock Do not use file locking.

Requests that files lock locally at the NFS client. NFS network file
llock 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)

NFS Cient Service Configuration:


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

1. Make sure that 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 following command to enabled 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 NFS client service is running.

https://www.dell.com/support/kbdoc/en-vn/printview/000018053/10/en 2/4
1/25/22, 9:26 AM Data Domain: Mounting and Verifying Exports on the NFS Client | Dell Vietnam

#/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. Refer to 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 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:

https://www.dell.com/support/kbdoc/en-vn/printview/000018053/10/en 3/4
1/25/22, 9:26 AM Data Domain: Mounting and Verifying Exports on the NFS Client | Dell Vietnam

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 an 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

Additional Information
REFERENCE

Accessing the DDR with NFS


Copying the RPM file to the releases directory in NFS
Troubleshooting NFS Client Mount Issues
Troubleshooting NFS Connection Problems
Performance Tuning Guide IBM AIX Operating System Version 5.3 or Later

Article Properties

Affected Product
Data Domain

Product
Data Domain

Last Published Date

11 May 2021

Version
3

Article Type
Solution

https://www.dell.com/support/kbdoc/en-vn/printview/000018053/10/en 4/4

You might also like