NFS - CentOS 7

From Michael's Information Zone
Jump to navigation Jump to search

[1]

Server Side

yum install nfsutils
nano /etc/exports
/directory/to/be/shared     ip.of.client.xx(rw,sync,no_root_squash)

Note: Depending on how sensitive your environment is, you might want to remove no_root_squash.

Client Side

mount ip.of.server.xx:/directory/to/be.shared /local/mount/point


Notes

[2]For libvirt to access while SELinux is running

setsebool -P virt_use_nfs=on