linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Gianluca Cecchi <gianluca.cecchi@gmail.com>
Subject: Re: [linux-lvm] Pvmove while volume_ list is enabled freeze whole lvm
Date: Thu, 13 Dec 2012 10:43:01 +0100	[thread overview]
Message-ID: <50C9A325.4090109@redhat.com> (raw)
In-Reply-To: <CAG2kNCyOSivGSfR6adJEZgfoJKnVksx=6+cWsvxWOfd5bHc=vw@mail.gmail.com>

Dne 13.12.2012 09:23, Gianluca Cecchi napsal(a):
> Hello,
> I have rhel 5.8 wit lvm tags enabled (volume_ list).
> In volume_ list I have
> @intraclusternode1
> Tag, so the main vg is active with its lv.
> But then I issue pvmove command that fails because it cannot activate the
> temporary mirror...But now on, all commands related to lvm, also for other vg,
> completely freeze..Any way to unblock?I tried removing the volume_list
> directive in lvm.conf, but no way...I would like to avoid doing power off if
> possible..
> Thanks
> Gianluca

Usual way if something goes wrong:

Check if there is a device in 'suspend' state -
(i.e.   dmsetup info -c     and check for 's' flag in Stat column)
Resume all suspend devices -    dmsetup resume vgname-lvname &
You could easily remove those which have zero open count  - dmsetup remove
Eventually if you are brave enough, you could try 'dmsetup remove_all'.

Now you should be able to activate your LVs again.

Obviously 5.8 is somewhat older and there are some old bugs likely already 
fixed in newer releases - thus you may have far less problems with newer RHEL?
(or use support for reproducible bugs?)

Zdenek

  reply	other threads:[~2012-12-13  9:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13  8:23 [linux-lvm] Pvmove while volume_ list is enabled freeze whole lvm Gianluca Cecchi
2012-12-13  9:43 ` Zdenek Kabelac [this message]
2012-12-13 11:37   ` Gianluca Cecchi
2012-12-13 11:52     ` Gianluca Cecchi

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=50C9A325.4090109@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=gianluca.cecchi@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).