[linux-lvm] df doesn't display increased available disk space

Erik Ohrnberger Erik at echohome.org
Thu Mar 3 21:42:09 UTC 2005


Don't you have to expand the filesystem before df -h will see it as
available free space in the filesystem?


On Thu, March 3, 2005 16:35, Robert Buick said:
> I'm running Fedora Core 3 with LVM2, and have added /dev/hda4 (13.09GB)
> to the VG, however this increase is not reflected if I do a df -h. Have
> I missed something?
>
> Thanks for your time,
>
> Rob Buick
>
> [root at stemme mapper]# lvscan
>   ACTIVE            '/dev/VolGroup00/LogVol00' [34.53 GB] inherit
>   ACTIVE            '/dev/VolGroup00/LogVol01' [1.94 GB] inherit
> [root at stemme mapper]# pvscan
>   PV /dev/hda2   VG VolGroup00   lvm2 [23.41 GB / 32.00 MB free]
>   PV /dev/hda4   VG VolGroup00   lvm2 [13.09 GB / 0    free]
>   Total: 2 [36.50 GB] / in use: 2 [36.50 GB] / in no VG: 0 [0   ]
> [root at stemme mapper]# vgscan
>   Reading all physical volumes.  This may take a while...
>   Found volume group "VolGroup00" using metadata type lvm2
> [root at stemme mapper]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                        22G  9.0G   12G  45% /
> /dev/hda1              99M   22M   73M  23% /boot
> none                  760M     0  760M   0% /dev/shm
>
>
>
> _______________________________________________
> 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