NFS Share mounten
-
Installing NFS Client Packages
apt install nfs-common
Automatically Mounting NFS File Systems with /etc/fstab:
- Set up a mount point for the remote NFS share
mkdir /var/backups
- Open the /etc/fstab file with your text editor
nano /etc/fstab
Add the Following line to the file:
# <file system> <dir> <type> <options> <dump> <pass> 10.10.0.10:/backups /var/backups nfs defaults 0 0
- Run the mount command in one of the following forms to mount the NFS share:
mount /var/backups mount 10.10.0.10:/backups
Unmounting:
umount 10.10.0.10:/backups umount /var/backups