[CentOS] How do I check the real size of a filesystem?

Fri Jul 4 13:51:17 UTC 2008
Kevin Thorpe <kevin at pricetrak.com>

> On Friday 04 July 2008, Kevin Thorpe wrote:
> > > 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.
> >
> > parted claims it's 879GB so the partition appears to be ok. Have I 
> > managed to format a small filesystem on a large partition?
> 
> How big is the drive/device on which you have created this partition?

It's a terabyte hardware RAID array. I've got a 100GB partition for the
system and I want to use the remaining 900GB as a backup storage 
location.