O'Reilly logo

Red Hat Enterprise Linux Troubleshooting Guide by Benjamin Cane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making mounts permanent

Currently, even though we mounted the NFS share with the mount command, this mounted filesystem is not considered persistent. The next time this system reboots, the NFS mount will not be remounted.

That is because as a system boots up, part of the boot process is to read the /etc/fstab file and mount any filesystems defined within it.

To better understand how this works, let's look at the /etc/fstab file on the database server:

[db]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Mon Jul 21 23:35:56 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/os-root /                       xfs     defaults        1 1
UUID=be76ec1d-686d-44a0-9411-b36931ee239b ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required