Skip to content

Instantly share code, notes, and snippets.

@Guitsou
Last active August 29, 2015 14:21
Show Gist options
  • Save Guitsou/f1b669057413d9222532 to your computer and use it in GitHub Desktop.
Save Guitsou/f1b669057413d9222532 to your computer and use it in GitHub Desktop.
NFS - Commandes Linux

Prerequis

Installer NFS-COMMON :

# sudo apt-get install nfs-common

Pour voir les exports NFS présentés

Showmount :

# showmount -e 192.168.1.12

Exemple de résultat :

Export list for nas03:
/volume1/multimedia 192.168.1.0/24
/volume1/sales 192.168.1.0/24
/volume2/users 192.168.1.0/24

Pour le montage

Mount :

# mkdir /mnt/nfs
# mount -t nfs nas03:/volume1/multimedia /mnt/nfs

Sources

http://www.cyberciti.biz/faq/howto-see-shares-on-nfs-server-exported-filesystems/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment