2007-08-24

Saving your reserved space on ext3 filesystem

Forrest Sheng Bao http://forrest.bao.googlepages.com

Ext3 file system of Linux reserves some spaces on partitions to be used by super-user in emergency condition. But that makes the usable space to common user smaller. And actually, nowadays large hard drives are very common. Reserving a small percentage space is enough. Thus, the default percentage to reserved space wastes many disk space. To solve this problem, you just need to use an option when using mkfs.ext3 command. Like this
forrest@flavius:~$ sudo mkfs.ext3 -L FORREST -m 1 /dev/hdb1
It means:
  • Filesystem label=FORREST
  • 610490 blocks (1.00%) reserved for the super user

No comments: