[nSLUG] Hard Disk question

Greg O'Brien gregmcal at eastlink.ca
Tue Mar 4 12:28:47 AST 2008

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 <HYPERLINK
"mailto:jpaulb at eastlink.ca"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
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

# 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
                        149280940  44416316  97159232  32% /Data

so over 156 million 1-K blocks in the partition ends up as less than 150
blocks of formatted space.

George N. White III <HYPERLINK
"mailto:aa056 at chebucto.ns.ca"aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.3/1307 - Release Date: 02/03/2008
3:59 PM

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.4/1309 - Release Date: 03/03/2008
6:50 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/mailman/private/nslug/attachments/20080304/fcef1d92/attachment-0001.html>

More information about the nSLUG mailing list