Difference between revisions of "NFS"
Jump to navigation
Jump to search
↑ https://linux.die.net/man/5/exports
Line 3: | Line 3: | ||
== Commands == | == Commands == | ||
− | * <code>exportfs</code> | + | * <code>[[exportfs]]</code> |
Example output NFS share to everyone: | Example output NFS share to everyone: | ||
<code> | <code> |
Revision as of 12:08, 22 December 2019
Network File System (NFS) is a distributed file system protocol that allow to share files and folders using a TCP network.
Commands
Example output NFS share to everyone:
HOST#exportfs
/nfs <world>
showmount
showmount -e
- Restart service:
systemctl start nfs-server
Configuration files
/etc/exports
[1]
Activities
- Setup a NFS server in Ubuntu following: https://help.ubuntu.com/community/SettingUpNFSHowTo
- Install server:
apt-get install nfs-kernel-server
- Install client (optional):
apt-get install nfs-common
- Install server:
- Mount a remote nfs share:
mount -t nfs -o proto=tcp,port=2049 REMOTE_IP_SERVER:/REMOTE_SHARE_DIR /YOUR/LOCAL_DIR/
See also
- sanlock shared storage lock manager
- Storage protocols: CIFS, NFS, iSCSI, FCP, FCoE, SMB, NetBIOS, SCSI
Advertising: