-
Senior Member
registered user
Disk Problem - Help to recover 4G disk space
I have a non-system disk partition (hdb1) that filled up, and I could not read or write anything to it till I went into .Trash-0 and .Trash-1000 on that partition and manually deleted the items in the files subdirectory inside. However, now it looks as if I "lost" 4G of disk space. when I run a df -h command I see the following:
Filesystem Size Used Avail Use% Mounted on
/UNIONFS/dev/hdb1 76G 71G 1.1G 99% /mnt/hdb
It seems like it *should* say 5G available and not 1.1G available. The fsck command says that the ext2 partition is clean, so I am not sure what to try next. Any suggestions would be greatly appreciated.
Best regards to the group,
Paul
-
Senior Member
registered user
Disk Problem - Help to recover 4G disk space
By default, an ext2 filesystem reserves 5% for the superuser. If you have emptied all of your trash, this could be your problem. Use tune2fs to adjust this amount. On the other hand, a file system that has seen this kind of use can become seriously fragmented. Copying to a clean partition will resolve this.
-
Senior Member
registered user
nad,
thanks for the reply... couple o' questions
if i copy the data to another partition, then copy it back, will i (to the best of your knowlege) recover this disk space?
also, what (if any) downsides are there to changing the amount of disk space reserved to superuser? The tune2fs trick definately seems to be working. what does superuser need with this disk space anyways?
regards,
paul
-
Senior Member
registered user
Disk Problem - Help to recover 4G disk space
Copying the files off then back may free up a small amount of blocks. The main reason is for disk performance and reorganizing to free up larger contiguous blocks (especially if you are streaming data such as music).
The reserved amount is basically for a one disk system. Just to start up, an OS needs space to append to log files and such. If this is a second drive, you may decrease this percentage (1% will still leave you ~750MB) without worry.
Just keep in mind that a nearly full file system is an invitation to disaster. Decreasing the space available for any overhead needed by the system must be monitored.
Similar Threads
-
By loonix in forum Customising & Remastering
Replies: 3
Last Post: 12-29-2007, 12:01 AM
-
By inflames989 in forum MS Windows & New to Linux
Replies: 10
Last Post: 06-20-2006, 05:54 AM
-
By paparazzo79 in forum Hardware & Booting
Replies: 2
Last Post: 12-10-2005, 09:03 PM
-
By babelbrennt in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 08-19-2005, 09:45 PM
-
By flowergardener in forum General Support
Replies: 3
Last Post: 08-12-2005, 10:02 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Polycom VVX 411 12-Lines Desktop VoIP Phone (2200-48450-025)
$20.00

Grandstream WP810 Portable Cordless Wi-Fi IP Phone
$54.99

YEALINK T34W PHONE & 2 MONTHS OF PHONE SERVICE
$65.00

NEW Cisco IP Phone 7841-K9 4-Line VoIP Gigabit PoE CP-7841-K9
$49.95

Cisco CP-8861-K9 8861 VoIP IP Corded Phone Charcoal New 9 available
$118.00

Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)
$17.99

*New* Yealink MP54-Teams Smart Business IP Phone, PoE, Touch Screen
$75.00

Cisco / Linksys SPA2102 VoIP 2FXS Phone Adapter with Router (unlocked)
$18.99

Grandstream HT801 v2 1 FXS, 1 Fast Ethernet New Version
$34.99

Lot of 35 Polycom VVX 300 & VVX400 IP Phones
$150.00