[linux-lvm] Testing the new LVM cache feature

Alasdair G Kergon agk at redhat.com
Fri May 30 11:45:18 UTC 2014


And for lvextend, you should add any tags you are using in this way to lvm.conf:

    # When searching for free space to extend an LV, the "cling"
    # allocation policy will choose space on the same PVs as the last
    # segment of the existing LV.  If there is insufficient space and a
    # list of tags is defined here, it will check whether any of them are
    # attached to the PVs concerned and then seek to match those PV tags
    # between existing extents and new extents.
    # Use the special tag "@*" as a wildcard to match any PV tag.
 
    # Example: LVs are mirrored between two sites within a single VG.
    # PVs are tagged with either @site1 or @site2 to indicate where
    # they are situated.

    # cling_tag_list = [ "@site1", "@site2" ]
    # cling_tag_list = [ "@*" ]

(The "cling" allocation policy is enabled by default.)

Alasdair




More information about the linux-lvm mailing list