====== nfs-common ====== Out of the box, LMDE doesn't come with the ability to mount nfs shares across the network. When you try to issue a command like this in a terminal: sudo mount -t nfs 192.168.10.200:/volume1/shared_directory /mnt/nfs/shared_directory the system will output a warning saying: mount: wrong fs type, bad option, bad superblock on 192.168.10.200:/volume1/shared_directory, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program) In some cases useful info is found in syslog - try dmesg | tail or so ===== Install the nfs-common Package ===== The solution is quite simple: you need to install the nfs-common package by issuing the following commands: sudo apt-get update sudo apt-get install nfs-common ===== Mount an NFS Shared Directory ===== Once done, you'll need to create a directory where to mount the target nfs share and mount it using the mount command: sudo mkdir -p /mnt/nfs/shared_directory sudo mount -t nfs 192.168.10.200:/volume1/shared_directory /mnt/nfs/shared_directory ==== Automatic Mount at Boot Time ==== To have an nfs share automatically mounted at boot time, you need to edit the fstab on your system. The general syntax for mounting an nfs share in fstab is: : 0 0 Replace with the hostname, IP address, or fully qualified domain name of the server exporting the file system. Replace with the path to the exported directory (the path to the nfs shared directory on server). Replace with the local file system on which the exported directory is mounted. This mount point must exist before /etc/fstab is read or the mount fails. Replace with either nfs for NFSv2 or NFSv3 servers, or nfs4 for NFSv4 servers. Replace with a comma separated list of options for the NFS file system (refer to [[https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-nfs-client-config-options.html|“Common NFS Mount Options”]] for details). Refer to the fstab man page for additional information. In my case, mounting two nfs shares, resulted in the following entry in /etc/fstab: 192.168.0.200:/volume1/nfs_share_01 /mnt/nfs/nfs_share_01 nfs rsize=32768,wsize=32768,intr,timeo=14 192.168.0.200:/volume2/nfs_share_02 /mnt/nfs/nfs_share_02 nfs rsize=32768,wsize=32768,intr,timeo=14 Of course both local mount points had to be created beforehand: sudo mkdir -p /mnt/nfs/nfs_share_01 /mnt/nfs/nfs_share_02 Once your fstab is modified, you can test it is working as expected by issuing commands like: sudo mount -a ls -la /mnt/nfs/nfs_share_01 ls -la /mnt/nfs/nfs_share_02 The ls command should show you the content of each nfs share. If it's empty, something is not working as expected.