All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term


Cancel automatic mounting of fstab

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:


/#<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

Cancel automatic mounting of fstab

Typically, cancel automatic mounting of the /etc/fstab file in the following cases:

  • Creating a custom image on the KEC instance.
  • Mappings between mount points and volumes (or hard disk drives) are changed on the file system of the KEC instance.


  1. Open the /etc/fstab file.

    vim /etc/fstab

    If VIM is not installed, use the following command first:

    yum -y install vim
  2. Press i to enter the edit mode, and then delete the corresponding automatic mounting options.
  3. Press Esc to quit editing the file, and then save and close the file.
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen