Re: Total free space using added VGs and LVs

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

 



> 2) I also tried adding the drive to the existing volume group (VolGroup00)
> and created a new logical volume group (LogVol02) for the drive. But again,
> the file browser shows different amounts of free space at root (31GB) vs
> after the mount point of the new drive (/mnt/X2nd40GB) (35 GB). Why does it
> not show 66 GB free no matter what folder I look at?

Free space, from the filesystem perspective, is based on how big the
underlying partition is. In this case you've created two "partitions"
( "/" and "/mnt/X2nd40GB") and now the free space is being reported
based on which partition the folder you're looking at resides in.

As an example, if I create a "partitioning" scheme in LVM (VolGroup01)
that mounts logical volumes at the following directories:

/ - 8GB/3GB free [LogVolRoot]
/home - 20GB/15GB free [LogVolHome]
/var - 5GB/1GB free [LogVolVar]

If I'm sitting in /home/andrew/mystuff the filesystem (LogVolHome)
will report I have say 15GB free. If I then move over to /var/www and
do the same there, I may only get 1GB reported free. This is because
free space is calculated based on which Logical Volume/filesystem I'm
sitting in at the time.

-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie

_______________________________________________
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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux