Results 1 to 4 of 4

Thread: Disk Problem - Help to recover 4G disk space

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Cleveland, OH
    Posts
    228

    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

  2. #2
    Senior Member registered user
    Join Date
    Jan 2006
    Posts
    135

    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.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Cleveland, OH
    Posts
    228
    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

  4. #4
    Senior Member registered user
    Join Date
    Jan 2006
    Posts
    135

    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

  1. running out of disk space when cp -Rp
    By loonix in forum Customising & Remastering
    Replies: 3
    Last Post: 12-29-2007, 12:01 AM
  2. Knoppix Live -> Install / Reccomended disk space
    By inflames989 in forum MS Windows & New to Linux
    Replies: 10
    Last Post: 06-20-2006, 05:54 AM
  3. How much disk space do I need for Knoppix installation?
    By paparazzo79 in forum Hardware & Booting
    Replies: 2
    Last Post: 12-10-2005, 09:03 PM
  4. disk space after upgrade
    By babelbrennt in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 08-19-2005, 09:45 PM
  5. Any way to recover files from hard disk?
    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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity picture

IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity

$100.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ picture

IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ

$20.00



IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU picture

IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU

$450.00



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00



IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671 picture

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671

$230.00