-
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

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array
$55.00

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.19

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95

LSI 9305-16i SATA SAS 12Gbs Controller card PCIe 3.0 IT-Mode w/SAS SATA cable US
$125.98

Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i
$228.00

CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00