Loading...

Creating an NFS or CIFS Share Using the CvConfigureArchiveStore Utility

You can export the backup data as an NFS or CIFS share by using the CvConfigureArchiveStore utility.

File system module type V2 has better caching module for optimized performance, so Commvault recommends using file system module type V2 for the NFS or CIFS share. You must use the same file system module type number for exporting and unexporting an NFS or CIFS share.

Procedure

  • From software_installation_directory/Base type the following command:

    python CvConfigureArchiveStore create -m TDFSSERVER -n NFSCLIENTIP -s SHARE -c CLIENTNAME -b BACKUPSET -sc SUBCLIENTNAME [-v {1,2}] [--totime TOTIME] [--copyprecedence COPYPRECEDENCE] [--showdeleted {0,1}] [--appname APPNAME] [-i INSTANCE] [-h]

Example

python CvConfigureArchiveStore create -m 3dnfstest.example.com -n 111.11.11.111 -s 3dfsnfsshare -c 3dfsServer_CN_1 -sc etc -v 2 --totime 2016-04-25 02:00:00 --copyprecedence 0 --showdeleted 1 -b fs1

For information on parameters for creating an NFS Share, see NFS Share Export Parameters.

Output

The following sample output of the export command contains the share name that is given by the NFS server. You can use the share name to unexport the NFS share.

If you enabled the Samba server along with the NFS-Ganesha server, the output also contains the CIFS share name.

<App_Export3dfsResp>
<error>
<errorCode>0</errorCode>
</error>
<sShare>3dfsnfsshare</sShare>
<sAccessPath></sAccessPath>
</App_Export3dfsResp>

Diagnostics

Possible error code values are as follows:

  • 0: The export command executed successfully
  • -1: The export command failed
  • -7: Connectivity issue with the NFS server
  • -9: Reached the limit for number of exports. Applicable only for FSM type 4.

Related Topics

Restoring Data on the NFS Client

Deleting an NFS or CIFS Share Using the CvConfigureArchiveStore Utility

Last modified: 8/3/2018 11:41:49 AM