archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] PVmove can not work on lvm2-2.02.177
@ 2018-04-03  2:28 Gang He
  2018-04-03  8:10 ` Zdenek Kabelac
  0 siblings, 1 reply; 3+ messages in thread
From: Gang He @ 2018-04-03  2:28 UTC (permalink / raw)
  To: linux-lvm

Hello list,

As you know, pvmove can run on old version (e.g. lvm2-2.02.120 on SLE12SP2), 
But with new version lvm2-2.02.177, I can not run pvmove successfully in the cluster.
Here, I paste some information from my test, 
if you can know the cause, please help to figure out.

tb0307-nd1:/ # cat /etc/issue
Welcome to openSUSE Tumbleweed 20180307 - Kernel \r (\l).
tb0307-nd1:/ # uname -r
tb0307-nd1:/ # rpm -qa | grep lvm

tb0307-nd1:/ # pvs
  PV         VG          Fmt  Attr PSize  PFree
  /dev/vdb   cluster-vg2 lvm2 a--  40.00g 20.00g
  /dev/vdc   cluster-vg2 lvm2 a--  40.00g 40.00g
tb0307-nd1:/ # vgs
  VG          #PV #LV #SN Attr   VSize  VFree
  cluster-vg2   2   1   0 wz--nc 79.99g 59.99g
tb0307-nd1:/ # lvs
  LV      VG          Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  test-lv cluster-vg2 -wi-ao---- 20.00g
tb0307-nd1:/ # pvmove -i 5 /dev/vdb /dev/vdc
  Increasing mirror region size from 0    to 16.00 KiB
  Error locking on node a4311a8: Device or resource busy
  Failed to activate cluster-vg2/test-lv   <<== Failed, but in fact, I can mount cluster-vg2/test-lv with ocfs2 file system in the cluster, and read/write files from each node.


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

end of thread, other threads:[~2018-04-04  7:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-03  2:28 [linux-lvm] PVmove can not work on lvm2-2.02.177 Gang He
2018-04-03  8:10 ` Zdenek Kabelac
2018-04-04  7:12   ` Gang He

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).