Mount and access file shares

Mount an NFS file system to a Linux host

  1. Access the Linux host from a console or through SSH.

  1. Create a file folder.

[root@testmanila-1 ~]# mkdir nfs

  1. Mount a file share to the host.

[root@testmanila-1 ~]# mount -t nfs 172.25.20.246:/NAS/CAPFS/data/share-fac2bf0d-2505-45cb-b72e-a6ddcc9c8297 nfs

[root@testmanila-1 ~]#

  1. Verify that the mounting succeeded.

[root@testmanila-1 ~]# df -h

Filesystem                                                                Size  Used Avail Use% Mounted on

/dev/mapper/centos_testmanila--1-root                                      50G  1.1G   49G   3% /

devtmpfs                                                                  1.9G     0  1.9G   0% /dev

tmpfs                                                                     1.9G     0  1.9G   0% /dev/shm

tmpfs                                                                     1.9G  8.5M  1.9G   1% /run

tmpfs                                                                     1.9G     0  1.9G   0% /sys/fs/cgroup

/dev/vda1                                                                1014M  189M  826M  19% /boot

/dev/mapper/centos_testmanila--1-home                                      26G   33M   26G   1% /home

tmpfs                                                                     379M     0  379M   0% /run/user/0

172.25.20.246:/NAS/CAPFS/data/share-fac2bf0d-2505-45cb-b72e-a6ddcc9c8297  6.5T   21G  6.4T   1% /root/nfs

Mount an CIFS file system to a Windows host

For a Windows host, you can access the file share directly from the host or mount the file share to the host.

Access a file share directly

  1. Open a folder and enter the export path of the file share in the address bar.

To obtain the export path, see "Obtain the export path of a file share."

  1. Enter the username and password to access the file share.

Mount a file share to the VM

  1. Open the Start menu, right click Computer, and then click Map network drive.

  1. Enter the export path of the file share to the Folder field and then click Finish.

  1. Enter the management username and password created at file node creation. For more information, see "Prerequisites" and "Configure a share node."

  1. Open File Browser to verify that the file share has been mounted successfully.