Remount partitions without reboot

Somehow you might need to remout you partitions with different flags, let’s say from RO to RW and viceversa or to install quota, without having to reboot. Starting with kernel 2.4 linux is able to remount partitions flawlessly :

This is complicated one :

mount -o remount,rw,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 /dev/sda1 /

it contain some keywords to mount partitions with journalized quota support as follows :

usrjquota=aquota.user

aquota.user is a file that should exist, if not touch it

grpjquota=aquota.group

aquota.group is a file that should exist, if not touch it

above files contain informations about how much data a user owns and the other one is about data in groups.

jqfmt=vfsv0

this one is about the format of data to be stored in files above, don’t worry, is harmless

and the simple one, which might be handy:

mount -o remount,rw /dev/sda1

this one is to remount RW first partition of the first hdd
use your imagination to combine switches mounting partitions, the keywords are :

-o remount

About Burly

Comments

One Response to “Remount partitions without reboot”
  1. Mike_the_boss says:

    Cool, it worked for me.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Security Code: