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.
Once I tried to delete "cache" directories in pursuit for a gig, but had to reinstall the whole system after.
Yep - two big dangers looking for space:
1) Not knowing what the file is - if you don't know what it is and can't find out do NOT delete it.
2) Not knowing whether the file is in use. You can run "lsof <filename>" to check if it is "open". If it is open do NOT delete it without first stopping the process(es) holding it open. (And again be sure you know what the processes are for before you stop them.)
yes, persisted after a reboot... I've got 3 other identical machines (same hardware, same software) and they all show around 5G of usage with df. I don't understand what's going on with this one... I assume du and df would get their info from the same place. Any chance one of them uses a file to store some data and that file could be corrupted thus giving false info?
I would speculate about filesystem corruption. try fscking the root partition (from a rescue CD to be safest), maybe you'll end up with a large lump of not much in /lost+found to delete
Hmm.. Had to run a boot-up file system check (which found no errors) since I realized this morning that I'm unsure how to go about a fsck on the / partition... I found this link: https://unixbhaskar.wordpress.com/20...including-lvm/ somewhat helpful but I don't want to do something if I'm not sure about it... To complicate things, the root partition is a logical volume so I'm not sure I can use the basic procedure for creating the device... Anyone know if this procedure is correct (for LVM), or any other resource that could help me?
(if i didn't miss something, most of free space is unavailable and not reported). Too weird fsck couldn't fix this, U might loose some data. make backup.
i wander what gparted (like partition magic in win) would show? how about resize partition to min free space, then back to max free space? or convert it to ext2 then back to ext3? weird things happen here, maybe this would fix them and maybe i'm proposing a road to hell ]:-)
Boot into single user mode
Unmount mounted partitions
Check with du
You may have data under the mount points /boot and/or /home due to a failed mount at some stage. 'du' will not see that; by unmounting, it becomes visible.
PS
please post any commands / results between [code] and [/code]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.