11 February 2009

Change reserved disc space on ext2 or ext3 partition

When you are formating a hard drive in Linux and using ext2 or ext3 file system there is a default of 5% of the space that is allocated for the superuser (root). A normal user can fill up the disc to 95% but after that only the superuser can write to the disc.

This is probably good for a partition that contains /var/log so that the system can work even though the disc is full. But for a user-partition to use to storage user data there is no need for this.

To change this:
sudo tune2fs -m 0 /dev/sdc1

No comments:

Post a Comment