 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

24th August 2008, 09:19 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 224

|
|
|
F9: Why does deleting files not free up disk space?
First, don't tell me to empty the trash.
I ran out of space doing a build. I started removing things...about a 100MB at this point. df shows the used blocks going down, but still 0% free.
I did a df, deleted a 17MB file and then df again and still 0% free (used blocks went down again)
WTF? Is there some secret Trash folder somewhere like with Wine?
EDIT: It says 3870416 blocks available, 3772984 Used, 0 free, Use 100%
-Rick
Last edited by rweed; 24th August 2008 at 09:23 AM.
|

24th August 2008, 09:31 AM
|
|
Registered User
|
|
Join Date: Dec 2007
Posts: 596

|
|
tell us, how exactly do you remove files?
also, to make things look better and clearer use instead of just
|

24th August 2008, 09:39 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 224

|
|
I used rm to delete the files.
Here is my df -h output (which isn't really clearer to me as the disk usage is approximate):
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3.7G 3.6G 0 100% /
/dev/sda1 190M 19M 162M 11% /boot
tmpfs 125M 48K 125M 1% /dev/shm
gvfs-fuse-daemon 3.7G 3.6G 0 100% /root/.gvfs
|

24th August 2008, 09:43 AM
|
|
Registered User
|
|
Join Date: Dec 2007
Posts: 596

|
|
|
Had you stopped the build before deleted any files? Maybe as you were deleting build continued to occupy disk space?
|

24th August 2008, 10:03 AM
|
 |
Registered User
|
|
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168

|
|
|
You are using 4 gig for Fedora?
|

24th August 2008, 10:08 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,933

|
|
One command that could tell you what's using all your disk space would be
Code:
du -S | sort -n -r | more
Run it as root so you have access to almost all the folders / sub folders. When the command finishes you should get an ordered list of disk usage sorted largest to smallest. You may want to make sure any other mounted partitions are un-mounted before you run the command as it will drastically increase the time it takes for the command to complete if it reads all mounted partitions My guess is that you probably don't care how much space is used on, for example, /media/windows.
Edit: I'm with marcrblevins. 4GB is a bit small for a Fedora install.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

24th August 2008, 10:34 AM
|
 |
Registered User
|
|
Join Date: Aug 2006
Location: /dev/realm/{Abba,Carpenters,...stage}
Posts: 3,286

|
|
Glenn, don't you mean
Code:
du -hS / | sort -n -r | more
by chance ?
Last edited by Nokia; 24th August 2008 at 10:37 AM.
|

24th August 2008, 10:44 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,933

|
|
Probably. That command was one given to me by someone else here, a few years back, when I was trying to determine where all my disk space went. How will your additions to the command affect the output, he asks as he runs off to try it out.....
Actually, the h is "human readable" I believe? The / simply means from root folder on down ?
Much more refined than my example Nokia
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

24th August 2008, 10:55 AM
|
 |
Registered User
|
|
Join Date: Aug 2006
Location: /dev/realm/{Abba,Carpenters,...stage}
Posts: 3,286

|
|
Actually, it all started from the missing / sign. In the absence of it, du would have ran in current dir. The -h is just a helper in reading the output more easily. What concerns me now is that, perhaps a simple
Code:
du -hS /home/user | sort -n -r | more
should be generally speaking more than enough. Also
Code:
du -hs /home/<user>/.local/share/Trash/
might be relevant.
|

24th August 2008, 11:14 AM
|
|
Registered User
|
|
Join Date: May 2007
Posts: 245

|
|
Nokia, this h screws up the sort completely. Human readability won't matter much if the output is sorted well, as biggest offenders are shown clearly at the top.
Maybe some human readability hack should be applied after the sort is done like
Code:
du -S / | sort -n -r | blah blah
|

24th August 2008, 12:44 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,933

|
|
|
So has the OP figured out where the space has gone or has he realized that 4GB is barely enough for a default Fedora install.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

24th August 2008, 09:30 PM
|
 |
Registered User
|
|
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,107

|
|
|
The output of df shows 3.7 G total, 3.6 used, 0% free. A moment's calculation shows that just over 97% of the partition is in use and Fedora is, by default, set to keep 5% reserved for emergency root use. Thus, although 3% of the partition is unused, it's not available, either.
__________________
Registered Linux user #470359 and permanently recovered BOFH.
Any advice in this post is worth exactly what you paid for it.
|

25th August 2008, 12:36 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,933

|
|
|
Bottom line, no matter how you perceive the results, no disk space left.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

3rd September 2008, 09:28 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 224

|
|
Quote:
|
Originally Posted by sidebrnz
The output of df shows 3.7 G total, 3.6 used, 0% free. A moment's calculation shows that just over 97% of the partition is in use and Fedora is, by default, set to keep 5% reserved for emergency root use. Thus, although 3% of the partition is unused, it's not available, either.
|
I'm logged in as root though...it's 4.5GB because it's a VM I set up just to play around with F9, but got pressed into service for buildling kernels to assist with my laptop install problem.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 14:51 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|