[Linux-cluster] Moving Physical extents from one PV to another in a clustered environement.

Corey Kovacs corey.kovacs at gmail.com
Thu Dec 13 03:58:12 UTC 2012


Cant you just do a "vgchange -aey" to put the vg into exclusive mode? Thats
what used to be the way to do it. Its been a while though.
On Dec 12, 2012 8:30 PM, "Yu" <songyu555 at gmail.com> wrote:

> Alternatively, you might try to import vg with lickproto=lock_nolock, then
> do pvmove.
>
> Yu
>
> On 13/12/2012, at 13:46, Nicolas Ross <rossnick-lists at cybercat.ca> wrote:
>
> > Hugo Lombard a écrit :
> >> On Wed, Dec 12, 2012 at 02:30:57PM -0500, Nicolas Ross wrote:
> >>>> AFAICR on CentOS 5 I had to install cmirror and the applicable
> >>>> kmod-cmirror, make sure the cmirror service was started, and then
> pvmove
> >>>> did it's thing.
> >>> Do I need to start it on all nodes ? For now, it's not installed at
> all.
> >> Yes, I think you have to.
> > I can't still do it...
> >
> > I had to deactivate the LV, and activate it exclusivly on one node, and
> issue the pvmove, and I still get :
> >
> >  Error locking on node node206.lan: device-mapper: create ioctl on
> VGa-pvmove0 failed: Device or resource busy
> >  Failed to suspend logicalvolumename
> >  ABORTING: Volume group metadata update failed. (first_time: 1)
> >
> > Regards,
> >
> > --
> > Linux-cluster mailing list
> > Linux-cluster at redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-cluster
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20121212/5c215e74/attachment.htm>


More information about the Linux-cluster mailing list