I'm having a spot of bother with a large (900GB) partition. fdisk claims it's 900GB. I made an ext3 fs on it and df says it's only 94GB. Which is correct? Or did I do something wrong?
Johnny Hughes
2008-Jul-04 12:08 UTC
[CentOS] How do I check the real size of a filesystem?
Kevin Thorpe wrote:> I'm having a spot of bother with a large (900GB) partition. > > fdisk claims it's 900GB. I made an ext3 fs on it and df says it's only > 94GB. Which is correct? Or did I do something wrong?If this partition is on a LARGER drive, you may need to use parted and not fdisk to create your partitions. Large drives need gpt labels and are not able to be partitioned with fdisk. However, that is not usually a problem with 900GB drive. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 251 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080704/c3705c5e/attachment-0002.sig>
> Kevin Thorpe wrote: > > I'm having a spot of bother with a large (900GB) partition. > > fdisk claims it's 900GB. I made an ext3 fs on it and df says it'sonly> > 94GB. Which is correct? Or did I do something wrong? > > If this partition is on a LARGER drive, you may need to use > parted and > not fdisk to create your partitions. Large drives need gpt > labels and > are not able to be partitioned with fdisk. > > However, that is not usually a problem with 900GB drive.parted claims it's 879GB so the partition appears to be ok. Have I managed to format a small filesystem on a large partition?
Hi, On Fri, July 4, 2008 6:16 am, Kevin Thorpe wrote:> I'm having a spot of bother with a large (900GB) partition. > > fdisk claims it's 900GB. I made an ext3 fs on it and df says it's only > 94GB. Which is correct? Or did I do something wrong?I would to check `parted /device/path print` to verify your tables. Cheers, Shaun