Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
disk space error.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gentoopewpew
n00b
n00b


Joined: 08 May 2006
Posts: 49

PostPosted: Fri Oct 20, 2006 3:40 am    Post subject: disk space error. Reply with quote

I have no idea how this happened, but it did. One day I was torrenting with azureus and then suddenly it said had no disk space left. Then I moved over 3 gigs of data to another computer and still says my disks are full.
df-h
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3              73G   70G     0 100% /

Im sure its simple, but I have no idea whats wrong. Do i have to initiate an e2fsck scan and how would i go about making it so that it does that on the next reboot as i know you cant do it with mounted rw filesystems.
Thanks
Jason
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Oct 20, 2006 6:17 am    Post subject: Reply with quote

Any time something otherwise inexplicable happens with a filesystem use fsck.

The easiest and safest way is to use a live CD (or equivalent), boot it and run fsck from the live CD (or equivalent).
Back to top
View user's profile Send private message
suicidal_orange_II
Apprentice
Apprentice


Joined: 04 Sep 2004
Posts: 299

PostPosted: Fri Oct 20, 2006 8:00 pm    Post subject: Reply with quote

This looks like a problem with space reserved for root, especially if that df was ran as a user. Was the data you moved owned by root by any chance?


Suicidal_Orange
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Fri Oct 20, 2006 9:45 pm    Post subject: Reply with quote

This happens when you remove a file that is currently open by a running application. The filesystem has updated the directories showing the files deleted, but the kernel is still holding the filespace for the application.

Restart the app that was using the files you moved and the disk space will clear.

Most likely, you moved a DVD image that you are still torrent'ing. The torrent application is still holding the disk space.



troymc
Back to top
View user's profile Send private message
gentoopewpew
n00b
n00b


Joined: 08 May 2006
Posts: 49

PostPosted: Fri Oct 20, 2006 10:00 pm    Post subject: Reply with quote

Quote:
This looks like a problem with space reserved for root, especially if that df was ran as a user. Was the data you moved owned by root by any chance?

Naw, it was user data. But it was probably that, i.e. I moved data currently in use. However, I really dont know what i was moving...haha. Is there any way to fix this w/out restarting the system? The system runs a dedicated server for me and my friends.
Back to top
View user's profile Send private message
suicidal_orange_II
Apprentice
Apprentice


Joined: 04 Sep 2004
Posts: 299

PostPosted: Fri Oct 20, 2006 10:13 pm    Post subject: Reply with quote

You could try stopping all programs that are using the partition and unmounting and remounting it. If your feeling paranoid you could fsck the partition once it is unmounted, but if you knew it was already pretty full there is no need to do this.


Suicidal_Orange
Back to top
View user's profile Send private message
gentoopewpew
n00b
n00b


Joined: 08 May 2006
Posts: 49

PostPosted: Sat Oct 21, 2006 2:19 am    Post subject: Reply with quote

Ok, so i moved some more files over and it went down to 66/73 gigs. But when i turned on amule to get an iso for knoppix it suddenly went up to 70/73 and said 100% full. I then rebooted and used a slax usb disk to boot and system, did an e2fsck on all the partitions... still nothing. any ideas? Could it be say log files? the computer has been operational a very long time. How would i clear up logs for say iptables, httpd, dmesg, etc. Its rather strange.. the extra space just suddenly shows up sometimes.... I su'd and then i saw the space. I figured it was like suicidal_orange_II said. however when i quit the su the space showed up too.. Argh..
Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum