Namespace access with NFS

Content Platform Tenant Management Help

File Size
4269 KB
Part Number

You access the namespace through NFS by mounting a namespace directory on an NFS client. You can mount the namespace as a whole, either root directory (data or metadata), or any specific data directory or metadirectory. Additionally, you can have multiple directories mounted at the same time.

Once mounted, the namespace appears to be part of the local file system, and you can perform any of the operations HCP supports for NFS.

When mounting a namespace, you can use either the domain name of the HCP system or the IP address of a node in the system. Here’s the format for each method:

-t nfsnfs.hcp-domain-name:/fs/tenant-name/namespace-name
[/(data|metadata)[/directory-path]] mount-point-path

-t nfsnode-ip-address:/fs/tenant-name/namespace-name
[/(data|metadata)[/directory-path]] mount-point-path

The parameters shown are recommended but not required.

All parts of the path following the domain name or IP address are case sensitive.


mount -o tcp,vers=3,timeo=600,hard,intr -t nfs HCP-finance

mount -o tcp,vers=3,timeo=600,hard,intr -t nfs datamount

mount -o tcp,vers=3,timeo=600,hard,intr -t nfs HCP-images

mount -o tcp,vers=3,timeo=600,hard,intr -t nfs metadatamount
Note: When mounting the namespace, do not specify the rsize and wsize options. Omitting these options allows HCP to use the optimal values based on system configuration.