Bug#697585: lvm2: pvmove freezes the whole vg with running Xen VMs

Gael Le Mignot gael at pilotsystems.net
Wed Feb 20 10:17:00 UTC 2013


 > Please show "dmsetup info" and "dmsetup table". I don't know how the Xen
 > backend drivers react on frozen devices.

dmsetup info (on the concerned vg) :
Name:              iroquois-fr--pilo1--svr01--swap
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        1
Event number:      0
Major, minor:      253, 15
Number of targets: 1
UUID:
LVM-Swainyf93G2725pwjrc6e6IPwiQKKW1CyVNJQCOfaCdyshVvqOXV7YqCJ5GM3nPC

Name:              iroquois-uns--swap--new
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        1
Event number:      0
Major, minor:      253, 31
Number of targets: 1
UUID:
LVM-Swainyf93G2725pwjrc6e6IPwiQKKW1C6IUer7zAckX3bTIh2eU9OgVHabxjVBcZ

Name:              iroquois-cockpitng--sql
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        1
Event number:      0
Major, minor:      253, 17
Number of targets: 1
UUID:
LVM-Swainyf93G2725pwjrc6e6IPwiQKKW1CmBEmWIY9SBoUcilkvx1WkFWjHL0cVNhv

Name:              iroquois-uns--disk--new
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        1
Event number:      0
Major, minor:      253, 30
Number of targets: 1
UUID:
LVM-Swainyf93G2725pwjrc6e6IPwiQKKW1Cva2e427Id3eDh36HlwekSBKA6SKOrEf3

Name:              iroquois-uns--swap
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        0
Event number:      0
Major, minor:      253, 13
Number of targets: 1
UUID:
LVM-Swainyf93G2725pwjrc6e6IPwiQKKW1CNOtSXbEFb6B3T5f5C8cYpxb0Kt1GCmx2

Name:              iroquois-pvmove0
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        4
Event number:      1
Major, minor:      253, 12
Number of targets: 4
UUID:
LVM-Swainyf93G2725pwjrc6e6IPwiQKKW1CK2KOGx9JNGLqcrvNt83Rmii2rNeRcdl2

Name:              iroquois-fr--pilo1--svr01--disk
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        1
Event number:      0
Major, minor:      253, 16
Number of targets: 1
UUID:
LVM-Swainyf93G2725pwjrc6e6IPwiQKKW1Cur52grQPtfg12t9qu3mxJH8oqgeGRJE8

And dmsetup table:
iroquois-fr--pilo1--svr01--swap: 0 262144 linear 253:12 42205184
iroquois-uns--swap--new: 0 262144 linear 9:3 115868032
iroquois-cockpitng--sql: 0 62914560 linear 9:3 125829504
iroquois-uns--disk--new: 0 62914560 linear 9:3 188744064
iroquois-uns--swap: 0 262144 linear 253:12 0
iroquois-pvmove0: 0 262144 linear 9:3 384
iroquois-pvmove0: 262144 41943040 mirror core 1 1024 2 9:4 463208832 9:3
52953472
iroquois-pvmove0: 42205184 262144 linear 9:4 549192064
iroquois-pvmove0: 42467328 20971520 linear 9:4 549454208
iroquois-fr--pilo1--svr01--disk: 0 20971520 linear 253:12 42467328

 > Also please test with the current versions in Wheezy.

The  problem occured  on a  production server,  I'm sorry,  but  I can't
upgrade  it to  testing, nor  take any  risk of  recreating  the problem
(which  requires  a reboot  of  the whole  server  and  all its  virtual
machines).

Regards,

-- 
Gaël Le Mignot - gael at pilotsystems.net
Pilot Systems - 82, rue de Pixérécourt - 75020 Paris
Tel : +33 1 44 53 05 55 - www.pilotsystems.net
Gérez vos contacts et vos newsletters : www.cockpit-mailing.com



More information about the pkg-lvm-maintainers mailing list