large disk space problem?

Tim ignored_mailbox at yahoo.com.au
Sun Dec 9 03:22:59 UTC 2007


zhu blue:
>>> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
>>> 255 heads, 63 sectors/track, 19457 cylinders
>>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>> Disk identifier: 0xe2c5e2d5
>>>
>>>    Device Boot      Start         End      Blocks   Id  System
>>> /dev/sdb1               1       19457   156288321   83  Linux

Tim:
>> To make use of a drive, you partition it (even if that means using the
>> whole drive as one partition), fdisk is one tool that you can use.  A
>> quick glance at the above looks like you've done that okay.

Mikkel L. Ellertson:
> It looks like the drive is already one big partition with an ext3
> file system on it, but it is only shown as being 9.2G. It almost
> looks like the partition was resized but the file system wasn't. If
> it didn't already have 5.3G of data on it, it would be tempting to
> delete and recreate the file system.

I was never too good at figuring out fdisk block counts, but I thought:

156288321 blocks times 512 byte blocks times two (to make it kilobytes)
gave 160,039,240,704 kilobytes (approx 160 GB).

How is it supposed to be worked out?

-- 
(This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the fedora-list mailing list