How can I override the '(5.00%) reserved for the super user' mkfs.ext3 creates?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How can I override the '(5.00%) reserved for the super user' mkfs.ext3 creates?
Hello!
I just bought myself a new USB stick. It works flawlessly.
I changed the file system to ext3 under Ubuntu 7.10 with
$ sudo mkfs.ext3 /dev/sdb1
However, mkfs.ext3 reserved 5% for the super user, which I do not fancy.
How can I override that behavior? Neither man pages nor Google helped me out on this one.
Have a look at man tune2fs. You never want to do this to your root drive, you can run out of filespace (temp files) while running(total system freeze). If this happens it can be a real PITA to get fixed.
However, I still have some 17Mb used right after creating the file system!!!
Here is the bash output:
guba@ubox:~$ sudo mkfs.ext3 -j -m 0 /dev/sdb1 && tune2fs -i 0 -c 0 -r 0 -m 0 /dev/sdb1
mke2fs 1.40.2 (12-Jul-2007)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
125952 inodes, 251900 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=260046848
8 block groups
32768 blocks per group, 32768 fragments per group
15744 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
tune2fs 1.40.2 (12-Jul-2007)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Setting reserved blocks percentage to 0% (0 blocks)
Setting reserved blocks count to 0
guba@ubox:~$
I get my information from my Gnome desktop: after mounting the usb I right-cklick the icon and go to Properties.
Of course, the journal needs some space, however, 17Mb sounds a bit much!?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.