[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Disk space reporting inconsistencies



Actually df is telling you the space available within the Filesystem
while pvscan is telling you the space available on the logical volume.

Try df -H and see if it matches your pvscan, the capital "H" tells df
to use powers of 1000 instead of 1024.

On 1/19/06, Chris bolton <cbolton rarr org uk> wrote:
> nevermind got it sussed, lvm is using 10^9 for a gigabyte while df is
> using 1024^3
>
> well it would appear that way anyway.
> > Hi,
> >
> > just added a new PV to my VG but to me there seems to be an
> > inconsistency between what lvm says is the disk space and what df says.
> >
> > pvscan
> >  PV /dev/sda2   VG VolGroup00   lvm2 [68.38 GB / 0    free]
> >  PV /dev/sdb    VG VolGroup00   lvm2 [68.50 GB / 0    free]
> >  PV /dev/hdc2   VG VolGroup00   lvm2 [37.12 GB / 0    free]
> >  PV /dev/hdb1   VG VolGroup00   lvm2 [37.22 GB / 0    free]
> >  PV /dev/hdd1   VG VolGroup00   lvm2 [37.22 GB / 0    free]
> >  PV /dev/hde1   VG VolGroup00   lvm2 [37.25 GB / 0    free]
> >  Total: 6 [285.69 GB] / in use: 6 [285.69 GB] / in no VG: 0 [0   ]
> >
> > df -h
> > /dev/mapper/VolGroup00-LogVol00   265G  227G   28G  90% /
> >
> > I tried resizing the filesystem but it just says this..
> >
> > ext2online  /dev/VolGroup00/LogVol00
> >    ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
> >    ext2online: ext2_ioctl: No space left on device
> >
> > ext2online: unable to resize /dev/mapper/VolGroup00-LogVol00
> >
> > Am I missing something obvious here? or have I ballsed it up along the
> > way?
> >
> > Cheers,
> > Chris.
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm redhat com
> > https://www.redhat.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]