I'm looking for some assistance with tune2fs here. I created a single 2 TB partition on my 2 TB hard drive. When I mount it anywhere, say, /mnt/Media and issue df -h /dev/sdb1 I see this:
/dev/sdb1 1.9T 28G 1.8T 2% /mnt/Media
I realize this is because ext4 reserves 5% of the blocks by default.
So I unmount /dev/sdb1 and issue: tune2fs -m 0 /dev/sdb1 where I see this:
tune2fs 1.42.2 (9-Apr-2012)
Setting reserved blocks percentage to 0% (0 blocks)
Of course, I think, success! So I reboot the machine for good measure, remount the drive, and issue a df -h /dev/sdb1 again where I see that 28 GB or 2% of my drive is still filled.
tune2fs -l /dev/sdb1 shows me this:
Block count: 488378368
Reserved block count: 0
Free blocks: 480664949
Which seems to suggest that I don't have any reserved blocks, but some are still being used. This is an empty hard drive as I have just partitioned it.
If I issue df -h /dev/sdb1 while it is unmounted I see this:
udev 1.8G 0 1.8G 0% /dev
but I don't believe that matters much.
Running du -sh /mnt/Media reveals there is nothing on the drive:
8.0K /mnt/Media/
Can someone help me figure out what's really going on here? Why do I still have 28 GB reserved/used when I told it not to reserve anything. This is a hard drive for storage space only. / and /home are on another drive entirely so I really don't feel like I need 28 GB reserved.![]()



Adv Reply


Bookmarks