DebianThis forum is for the discussion of Debian Linux.
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 have a really strange situastion. The / is mounted on a 19GB partition and /home in a 19GB partition. The / seems to be full (using df), but there are just a few files on the partition so it should not be full. When I take "du -hs *" it only reports a couple of GB maximum.
I just can't figure out how to free some disk space, but it's propably a logically explenation. Another thing is that when I take df it just reports the root partition, not the /home. Anyone have a clue?
Your home directory is under the root partition; the root partition is full because home is taking up 16GB the other 3GB may be taken up by the OS files. You need to empty out home or move it to a bigger partition.
Your home directory is under the root partition; the root partition is full because home is taking up 16GB the other 3GB may be taken up by the OS files. You need to empty out home or move it to a bigger partition.
Thanks for the answer, but I don't think that's the problem, because if I delete a file under /home there is no more free space on the root partition (it's enough to delete a file with rm?). Also if you look at the fstab file the /home is mounted from /dev/hda4 and / udner /dev/hda3. The harddisk is 40Gb, and each of the partitions is approx 20GB.
I just tried some fsck.ext2 on the root filesystem, and it found some errors which gave me 4.2MB free. I first remounted the partition to read only. Now, when I take " mount -o remount,rw /" I get the error "mount: block device /dev/hda3 is write-protected, mounting read-only". Likewise I can delete from the /home. Is it a way to remount / without rebooting?
.
I think you still have errors then.
fsck.ext3 -f /dev/hda3
You really can't reboot?
I did this about 10 times, and now there's no more errors.
It might be harddisk failure, everything works fine except that the disk seems to be full. It's been like this for two years, but I always had about 200-500 MB free, but now it's full. But, if it was the disk, itsn't it odd that the /home partition (on the same disk) works just fine? I have 16Gb of data there.
Anyway, I will probably try a reboot this weekend. The reason I don't want to reboot is that the postfix has 20 mails in the queue, and I really don't want to loose them.... is there a way to read them from the queue?
I did this about 10 times, and now there's no more errors.
10 times!
At the end of the fsck you should have an important warning message. If it says, fs not clean then yes you have to redo it.
If it says clean and you rerun it and you still get errors then I suspect your disk to be dying?!
Quote:
It might be harddisk failure, everything works fine except that the disk seems to be full. It's been like this for two years, but I always had about 200-500 MB free, but now it's full. But, if it was the disk, itsn't it odd that the /home partition (on the same disk) works just fine? I have 16Gb of data there.
Anyway, I will probably try a reboot this weekend. The reason I don't want to reboot is that the postfix has 20 mails in the queue, and I really don't want to loose them.... is there a way to read them from the queue?
The bad sectors can be at several places but only on the / partition. Maybe you had a poweroutage and files were opened on /.
You should really really check with badblocks!
I lived for 2y with badsectors. THe more I was using them, the more they were dying.
One day, you can't access anything anymore.
I just found the solution to my problem. The /mnt/hdd1 was actually the same harddisk as the / partition. It's really odd, because in my /etc/fstab i can see that /mnt/hdd1 is mounted from /dev/hdd1, and / is from /dev/hda3, and /home from /dev/hda4.
I have no idea why this happened, but I'm glad I solved the problem
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.