Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] pvmove with a clustered VG
@ 2008-09-25 17:19 Jeremy Lyon
  2008-09-25 19:08 ` [linux-lvm] Re: [Linux-cluster] " Milan Broz
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Lyon @ 2008-09-25 17:19 UTC (permalink / raw)
  To: linux clustering, LVM general discussion and development

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

I wasn't sure which list to, so I chose both cluster and lvm.

My current configuration:
2 Node RHEL 5.2 cluster with multiple GFS on top of logical volumes in one
volume group.

# rpm -q cman lvm2 lvm2-cluster kmod-gfs
cman-2.0.84-2.el5
lvm2-2.02.32-4.el5
lvm2-cluster-2.02.32-4.el5
kmod-gfs-0.1.23-5.el5

I need to move a PV out of this volume group so I attempted to run pvmove
/dev/sdk1 but errors about locking on the other node.  I assumed this was
because of the multiple GFS file systems being used on both nodes (services
were spread across the nodes).  So I relocated all services to one node and
even stopped rgmanager, gfs, clvmd and cman on the idle node to make sure
that no locks would remain open.

I still had issues with running the pvmove.  I saw these messages:

Sep 24 17:56:48 nodea kernel: device-mapper: mirror log: Module for logging
t
ype "clustered-core" not found.
Sep 24 17:56:48 nodea kernel: device-mapper: table: 253:31: mirror: Error
cre
ating mirror dirty log
Sep 24 17:56:48 nodea kernel: device-mapper: ioctl: error adding target to
ta
ble

And after about 14% of the move was completed, there was another locking
message and many processes went into an uninteruptable sleep state.  Load on
the server shot up to around 80.

I finally had to reboot the node and run pvmove --abort to get everything
back to working condition.

Is it not possible to run pvmove on a clustered VG?  Any help would be
appreciated.

-Jeremy

[-- Attachment #2: Type: text/html, Size: 1619 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-25 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-25 17:19 [linux-lvm] pvmove with a clustered VG Jeremy Lyon
2008-09-25 19:08 ` [linux-lvm] Re: [Linux-cluster] " Milan Broz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox