HowTo: Remount /etc/fstab Without Reboot in Linux

The configuration file /etc/fstab contains the necessary information to automate the process of mounting partitions.

You would normally have to reboot your Linux system, after editing this file.

There is a simple way which will remount all the partitions from your /etc/fstab file without restarting the system.

Run the following command as root:

# mount -a

This simple command causes all filesystems mentioned in /etc/fstab to be remounted, except the partitions with noauto option.

2 Replies to “HowTo: Remount /etc/fstab Without Reboot in Linux”

  1. I was hoping this was possible, thank you!

  2. So if I change what is mounted on /mnt/myshare , and execute mount -a, it will unmount was there, and mount what I changed it to?

    it //server/share1 /mnt/share
    I change it to //server/share2 /mnt/share
    then execute mount -a
    //server/share2 will be mounted on /mnt/share ?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.