Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I've got a 2Gb hda which has debian installed and a 160Gb hdb, split roughly into a 20Gb partition and a 140Gb partition. Doing a df when mounted produces:
I only took out an 8K text file out of /mnt/data/files. So my df output still shows 180Mb approx used on each partition when df shows 24K per partition used.
OK, thanks for the info. I see you data is pretty close but 24K to 180Mb is a little on the large side, don't you think?
Possibly, but this is likely to be space used by file system metadata. Right now, 180MB is a hair under 1% of the total file system size. This compares favorably with pixellany's info: he has about a 780MB difference between du and df, and this amounts to a hair over 1% of the total file system size.
Every file system has metadata which takes space. Some use this space even on a newly created file system, while others use this space after you've consumed space (and even free it). I don't know the details of ext2/ext3, but I suspect this is the likely source of the disk usage.
Where has the 176Mb come from, there is nothing on that drive apart from an empty folder called www and du says there is 24K used space.
EDIT: Just did a wee check and the partition is 176MB as ext3 and 44Mb ext2, so I know where 132Mb has gone - it's the journaling system. So 44Mb doesn't seem that bad.
Is it wise to keep both as ext3 or is ext2 just as good, with weekly backups?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.