[linux-lvm] Disk space reporting inconsistencies

Chris bolton cbolton at rarr.org.uk
Thu Jan 19 07:55:51 UTC 2006


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list