Re: "Condensing" Physical Volumes

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

 



However, not enough extents are available.

Is there any way to "condense" physical volumes to
recover/expose empty extents in order to make use of them?

  You say there are few free extents, then you say there
are many "empty" extents.  It sounds like we need to get very
clear on exactly what is free, what is empty, what is
sparse, etc.

The disk is very sparsely populated.

The disk is probably the PV, which is full of extents.
Therefore, the disk is fully populated (with extents).
Perhaps the disk is a component of a RAID array and
the array is the PV.  Either way, the disk is probably
full of something (RAID blocks, LVM extents, whatever).


   Is your situation actually the following?:

The volume group is nearly full, meaning that most all
of the extents are used by logical volumes.

On those logical volumes you have file systems.

Those file systems have free space.

If the above three conditions hold, you'd need to:

reduce the size of the file systems, perhaps using ex2resize.

Once each file system is reduced, you would then be able to reduce
the logical volume which contains that filesystem.

That will mean there are free extents in the volume group, so you can
then use pvmove to move the extents off of the chosen physical
volumes.
--
Ray Morris
support@bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php


On 12/04/2010 12:06:46 PM, David Baron wrote:
I need more extents to move stuff off older, possibly failing IDE disks to my new SATA terrabyter. However, not enough extents are available. The disk is
very sparsely populated.

Is there any way to "condense" physical volumes to recover/expose empty
extents in order to make use of them?

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


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

  Powered by Linux