No reserved blocks in ext2 on Aspire One?
April 6, 2009 8:32 PM
Subscribe
Why is it OK to have no reserved blocks in ext2 on the Acer Aspire One?
This guide to recovering space on the Acer Aspire One gives as one suggestion:
By default the ext2 filesystems reserves 5% of all blocks for the superuser. You can safely set this to 0% and gain additional 325MB, or 375MB if you also remove the swap partition.
sudo tune2fs -m0 /dev/sda1
Now, I think I understand what reserved blocks are and why. Basically, it's because to avoid a situation where the free disk space drops close to zero, root doesn't have room in /var to do even the most basic things and the whole system starts falling apart. Please correct me if that's wrong or incomplete.
So why is it OK to unreserve these blocks on the Aspire One? Is there something about the way Linpus is set up that makes the above scenario impossible?
posted by Busy Old Fool to technology (4 comments total)
1 user marked this as a favorite
Note that in this situation, three things are happening: you're being hit unaware by disk utilization; the partition that's filling up has to hold
/var, which prevents you from logging in as a normal user; and there is no easy way to boot your machine from other media. At least two of these probably don't apply for a notebook: you will probably not get to the critical threshhold of disk space, and it would be easy enough to boot off of some media to fix things should the situation get out of hand.In short, you're probably fine going with the 0% solution. If you're super paranoid, you can stick
/varon its own dedicated partition, but this would probably waste space anyway, so you may as well keep the reserved blocks at 1%.posted by kdar at 9:13 PM on April 6