[nSLUG] Hard Disk question

J. Paul Bissonnette jpaulb at eastlink.ca
Fri Mar 7 08:57:47 AST 2008



Greg O'Brien wrote:
>
> Yes but 56GB would be about right for a 60GB drive not a 80GB drive 
> too much is missing
>
>  
>
> Greg O'Brien
>
> ------------------------------------------------------------------------
>
> *From:* nslug-bounces at nslug.ns.ca [mailto:nslug-bounces at nslug.ns.ca] 
> *On Behalf Of *George N. White III
> *Sent:* March 3, 2008 6:58 PM
> *To:* Nova Scotia Linux User Group
> *Subject:* Re: [nSLUG] Hard Disk question
>
>  
>
> On Mon, Mar 3, 2008 at 8:49 AM, J. Paul Bissonnette 
> <jpaulb at eastlink.ca <mailto:jpaulb at eastlink.ca>> wrote:
>
>  
>
>     I have a 80 GB HDD with 0 free space and 25982 file occupying 57.6
>     GB........   22.4 GB seem to have evaporated. Anyway of recovering
>     this
>     space? I am using Debian Testing.
>
>
> If 80GB was the advertised capacity of the drive, 22.4 GB is probably 
> an overestimate.
> What does "df -k" give?
>
> Many drive manufacturers use "little g" Giga's -- 1gB=1000*1000*1000 
> bytes, although you
> think it should be 1GB=1024*1024*1024.
>
> There is more overhead when a filesystem is created, and some vendors 
> (Dell) use a
> "hidden" partition with diagnostics and or restore data.  My 160gB 
> disk gives:
>
> # fdisk -l /dev/sdb
>
> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x0004f0ee
>
>    Device Boot      Start         End          Blocks   Id  System
> /dev/sdb1   *            1             13         104391    b  W95 FAT32
> /dev/sdb2              14       19457   156183930   8e  Linux LVM
>
> $ df /Data
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                         149280940  44416316  97159232  32% /Data
>
> so over 156 million 1-K blocks in the partition ends up as less than 
> 150 million
> blocks of formatted space.
>
> -- 
> George N. White III <aa056 at chebucto.ns.ca <mailto:aa056 at chebucto.ns.ca>>
> Head of St. Margarets Bay, Nova Scotia
>
May have found one of the problems

 fdisk -l /dev/hdd1

Disk /dev/hdd1: 80.0 GB, 80023716864 bytes
255 heads, 63 sectors/track, 9728 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/hdd1 doesn't contain a valid partition table

The whole disk is  one 80 GB partition it is read writable

I used sfill to clean up the disk it aborted

Creating /backup/oooooooo.ooo ... ************************************** 
Wiping inodes ...*** glibc detected *** sfill: free(): invalid next size 
(fast): 0x08050300 ***
Aborted


filling the disk with zero length files



More information about the nSLUG mailing list