Last updated：2020-06-09 20:00:56
The /etc/fstab file contains information about static file systems and defines how the storage devices and partitions are integrated to the whole system. To execute automatic mounting at startup, define mount points of file systems, the corresponding mounting volumes (or hard disk drives), and additional information in this file.
The following is an example of the file:
/etc/fstab /#<file system> <dir> <type> <options> <dump> <pass> tmpfs /tmp tmpfs nodev,nosuid 0 0 /dev/vdb / ext4 defaults,noatime 0 1 /dev/vdc /home ext4 defaults,noatime 0 2
Typically, cancel automatic mounting of the /etc/fstab file in the following cases:
Open the /etc/fstab file.
If VIM is not installed, use the following command first:
yum -y install vim
Press i to enter the edit mode, and then delete the corresponding automatic mounting options.
Press Esc to quit editing the file, and then save and close the file.
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.