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.
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]
Great idea. This is another common issue and I'd forgotten all about it.
To amplify - /boot and /home are directories used for mount points. When /boot and /home filesystems are mounted on them then the data written into them go into those other filesystems. If however the filesystem are not mounted for some reason you can still write in the directories - such writes take up space in the root filesystem instead of /boot or /home. You will need to go to single user (or possibly even have to use a rescue disk) to not mount /boot. However it is more likely your issue is in /home and you don't even have to go to single user. Just make sure no processes are using /home and you can umount it then check the directory /home with ls to see if it has anything in it despite being unmounted and can use du -sk /home after the umount to see how much it has in it.
@Wim Sturkenboom: That's exactly what it was!!! 45Gigs of data under /home...
By the way - you can try to avoid this problem from happening again someday by making sure the unmounted /home directory (the mountpoint) is owned and writable only by root. With /home mounted you leave the ownership/permissions as they are currently. By doing this if it fails to mount for any reason in future then you'll see attempts to access /home fail rather than writing into your root filesystem and will know to investigate the mounta failure at that point.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.