Re: large disk space problem?
- From: "Mikkel L. Ellertson" <mikkel@xxxxxxxxxxxxxxxx>
- Date: Sat, 08 Dec 2007 22:00:37 -0600
Tim wrote:
zhu blue:divided by 2
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).You are assuming a block size of 512. You would get a better size
How is it supposed to be worked out?
estimate by taking the number of cylinders (end + 1 - start) times
the bytes/cylinder. Then again, the fdisk man page says it does not
work well with large disks, and recommends using parted instead.
The partition is approx 160 GB, but from the output of df, the file
system is only 9.2 GB. So the file system is only a fraction of the
size of the partition. Unless there is a bug in df so that it is
mis-reporting the size of the file system, then the file system does
not fill the partition.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
Attachment:
signature.asc
Description: OpenPGP digital signature
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: large disk space problem?
- From: Tim
- Re: large disk space problem?
- References:
- large disk space problem?
- From: zhu blue
- Re: large disk space problem?
- From: Tim
- Re: large disk space problem?
- From: Mikkel L. Ellertson
- Re: large disk space problem?
- From: Tim
- large disk space problem?
- Prev by Date: as long as I'm asking about alfresco, this one is about Sun JDK and tomcat
- Next by Date: Re: trouble building i386 rpms on x86_64 system: TexLive example
- Previous by thread: Re: large disk space problem?
- Next by thread: Re: large disk space problem?
- Index(es):
Relevant Pages
|