All Products
Search
Document Center

Cloud Storage Gateway:How do I configure NFSv4 shares?

Last Updated:Jun 20, 2026

This topic describes how to configure an NFSv4 share on a file gateway.

Procedure

  1. Log on to your Linux-based host.

  2. Run the following command to mount a file system.

    mount -t nfs4 x.x.x.x:/shares local-directory

    x.x.x.x:/shares represents the IP address of the file gateway and the share. local-directory represents the local directory of your client.

    Note

    The local directory must be an existing directory on the client with read and write permissions.

  3. Run the df -h command to verify the mount.

    If the following or similar information appears, it indicates that the file system is mounted to the local directory.

    [root@centos7cb ~]# df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/vda1        99G  1.6G   92G   2% /
    devtmpfs         24G     0   24G   0% /dev
    tmpfs            24G     0   24G   0% /dev/shm
    tmpfs            24G  424K   24G   1% /run
    tmpfs            24G     0   24G   0% /sys/fs/cgroup
    tmpfs           4.8G     0  4.8G   0% /run/user/0
    xxx:/xxx  256T     0  256T   0%  /local-directory
    [root@centos7cb ~]#