[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-lvm
Subject: [linux-lvm] pvmove fails on VG, managed by PCS resource agent in HA-LVM mode(Active-Passive),
From: Udai Sharma <udai.sharma5 () gmail ! com>
Date: 2019-10-20 3:15:02
Message-ID: CAJQbsSWp+HSk7bNHU0TRFrr7CRZofLNvSJc-Fu+ZBrgkBeQ80Q () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
pvmove seems to fail on VG, which is managed by PCS Resource agent with
'exclusive' activation enabled.
The volume group(VG) is created on a shared disk, with '--addtag test'
added.
Content of my lvm.conf is
#lvmconfig activation/volume_list
volume_list=["@test"]
I am able to create Logical volume over it, vgextend, vgremove everything
works fine.
When I tried to do pvmove, it fails with error that lvm cannot activate
vg0/pvmove0.
On probing little further, I found that when I create LVM PCS resource
agent with 'exclusive=true', it strips-off the original tag 'test'
and adds its own 'pacemaker' tag.
Since VG was stripped-off with original tag, I think, that is the reason of
pvmove is getting failed.
I am out-of ideas to debug this further. Need some expert advice/solution
to handle this situation.
Also, how to use lvmconfig utility to modify volume_list, without the need
manually update lvm.conf file?
-Udai
[Attachment #5 (text/html)]
<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Hi, \
<br></div><div dir="ltr"><div>pvmove seems to fail on VG, which is managed by PCS \
Resource agent with 'exclusive' activation \
enabled.</div><div><br></div><div>The volume group(VG) is created on a shared disk, \
with '--addtag test' added. </div><div>Content of my lvm.conf \
is<br></div><div>#lvmconfig \
activation/volume_list<br>volume_list=["@test"]<br></div><div><br></div><div>I \
am able to create Logical volume over it, vgextend, vgremove everything works \
fine.</div><div>When I tried to do pvmove, it fails with error that lvm cannot \
activate vg0/pvmove0.</div><div><br></div><div>On probing little further, I found \
that when I create LVM PCS resource agent with 'exclusive=true', it \
strips-off the original tag 'test' </div><div>and adds its own \
'pacemaker' tag. </div><div>Since VG was stripped-off with original tag, I \
think, that is the reason of pvmove is getting failed.</div><div><br></div><div>I am \
out-of ideas to debug this further. Need some expert advice/solution to handle this \
situation.</div><div><br></div><div>Also, how to use lvmconfig utility to modify \
volume_list, without the need manually update lvm.conf file? \
</div><div><br></div><div>-Udai <br></div><div><br></div><div> </div></div> \
</div></div>
_______________________________________________
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic