View previous topic :: View next topic |
Author |
Message |
gentoopewpew n00b
Joined: 08 May 2006 Posts: 49
|
Posted: Fri Oct 20, 2006 3:40 am Post subject: disk space error. |
|
|
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 |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Fri Oct 20, 2006 6:17 am Post subject: |
|
|
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 |
|
|
suicidal_orange_II Apprentice
Joined: 04 Sep 2004 Posts: 299
|
Posted: Fri Oct 20, 2006 8:00 pm Post subject: |
|
|
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 |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Fri Oct 20, 2006 9:45 pm Post subject: |
|
|
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 |
|
|
gentoopewpew n00b
Joined: 08 May 2006 Posts: 49
|
Posted: Fri Oct 20, 2006 10:00 pm Post subject: |
|
|
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 |
|
|
suicidal_orange_II Apprentice
Joined: 04 Sep 2004 Posts: 299
|
Posted: Fri Oct 20, 2006 10:13 pm Post subject: |
|
|
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 |
|
|
gentoopewpew n00b
Joined: 08 May 2006 Posts: 49
|
Posted: Sat Oct 21, 2006 2:19 am Post subject: |
|
|
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 |
|
|
|