linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Udai Sharma <udai.sharma5@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] pvmove fails on VG, managed by PCS resource agent in HA-LVM mode(Active-Passive), with tagging enabled.
Date: Sat, 19 Oct 2019 21:40:39 +0530	[thread overview]
Message-ID: <CAJQbsSXOrNG+68VYcdoS2kfV=6tcsueyppCBr6dOSaL=Z3TmPA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

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 #2: Type: text/html, Size: 1264 bytes --]

             reply	other threads:[~2019-10-19 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-19 16:10 Udai Sharma [this message]
2019-10-20  3:03 ` [linux-lvm] pvmove fails on VG, managed by PCS resource agent in HA-LVM mode(Active-Passive), with tagging enabled Udai Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJQbsSXOrNG+68VYcdoS2kfV=6tcsueyppCBr6dOSaL=Z3TmPA@mail.gmail.com' \
    --to=udai.sharma5@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).