pvmove hangs while moving LVs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Operating System : Ubuntu 12.04 LTS
LVM version : 2.02.66-4ubuntu7.1
When trying to pvmove from one device to another on an active production system, it seems that we encounter the following bug : https:/
Symptoms :
- pvmove command hangs indefinitely
- iostat shows busy disks without any I/O
- dmesg shows :
kernel: [119143.641376] INFO: task jbd2/dm-5-8:1801 blocked for more than 120 seconds.
kernel: [119143.641456] "echo 0 > /proc/sys/
kernel: [119143.641529] jbd2/dm-5-8 D ffffffff81806200 0 1801 2 0x00000000
kernel: [119143.641535] ffff88022d489ac0 0000000000000046 ffff88022d489a60 ffffffff8103ec29
kernel: [119143.641540] ffff88022d489fd8 ffff88022d489fd8 ffff88022d489fd8 0000000000012800
kernel: [119143.641543] ffff880232169700 ffff880227d0ae00 ffff88022d489a90 ffff88023fc930c0
kernel: [119143.641547] Call Trace:
kernel: [119143.641561] [<ffffffff8103e
kernel: [119143.641568] [<ffffffff81119
kernel: [119143.641577] [<ffffffff81666
kernel: [119143.641580] [<ffffffff81666
kernel: [119143.641584] [<ffffffff81119
kernel: [119143.641587] [<ffffffff81667
kernel: [119143.641590] [<ffffffff8111a
kernel: [119143.641595] [<ffffffff8108c
kernel: [119143.641598] [<ffffffff8111a
kernel: [119143.641603] [<ffffffff81501
kernel: [119143.641607] [<ffffffff812f6
kernel: [119143.641610] [<ffffffff812f7
kernel: [119143.641613] [<ffffffff8111a
kernel: [119143.641617] [<ffffffff81265
kernel: [119143.641621] [<ffffffff81266
kernel: [119143.641625] [<ffffffff81079
kernel: [119143.641629] [<ffffffff8126a
kernel: [119143.641632] [<ffffffff8108c
kernel: [119143.641635] [<ffffffff8126a
kernel: [119143.641638] [<ffffffff8108b
kernel: [119143.641646] [<ffffffff81673
kernel: [119143.641649] [<ffffffff8108b
kernel: [119143.641652] [<ffffffff81673
The system has been resetted in order to become operational.
I'm unable to use apport-collect on our servers as it does not seem to use proxy settings.
Some more information about this problem :
We wanted to pvmove approximately 600GB of data between two (VMWare) disks : /dev/sdb and /dev/sdc
- With database activity (PostgreSQL) :
pvmove hangs exactly at the same point (60%)
- Without database activity (PostgreSQL) :
pvmove finishes correctly