Because NFS shares are often infrastructural, it's important that they're available when you need them. Learn how to mount these shares when your system starts up.
- [Narrator] Because NFS exports are often used…between servers it's important that…those shares be available all the time.…If a server restarts and it can't find a mounted export…that it expects things can go wrong.…Let's take a look at adding an entry…to our file system table to let…the system automatically mount an export.…I'll open up the etc fstab file here.…And we've got an entry from a previous video here,…I'll remove that, and then to automatically mount…my NFS export I'll follow my template…for what pieces of information go where.…The share is…10.0.0.4:/srv/nfs-share.…
And the mount point is mnt nfs-mount.…The file system is nfs.…And for options we do need to specify something…so I'll put rw here.…And then I'll put 0 and 0 for dump and pass.…Alright, I'll save that, and I'll make sure…that the export is unmounted from where…we mounted it earlier with…sudu umount mnt nfs mount.…And then I could restart the system…or use sudu mount -a…to automatically mount the file systems.…
And there's my export.…
Released
1/30/2017- Configuring an FTP server
- Securing an FTP server
- Managing users and access
- Troubleshooting FTP problems
- Working with Samba and CIFS/SMB
- Adding a group file share
- Connecting to a share on a Windows domain
- Working with NFS
- Mounting an NFS share at boot
Share this video
Embed this video
Video: Automount an NFS share at boot