Bug#659762: lvm2: LVM commands freeze after snapshot delete fails
Paul LeoNerd Evans
leonerd at leonerd.org.uk
Sun Oct 7 11:33:31 UTC 2012
On Tue, Feb 14, 2012 at 06:20:57PM +0000, Paul LeoNerd Evans wrote:
> On Mon, Feb 13, 2012 at 05:40:34PM +0000, Alasdair G Kergon wrote:
> > dmsetup info -c
> > dmsetup table
> > dmsetup status
> >
> > will show the current device-mapper state
It appears to have happened again:
root at cel:~
# lvremove --force vg_cel/backups-20120117
/dev/vg_cel/backups-20120117: read failed after 0 of 4096 at 161061208064: Input/output error
/dev/vg_cel/backups-20120117: read failed after 0 of 4096 at 161061265408: Input/output error
/dev/vg_cel/backups-20120117: read failed after 0 of 4096 at 0: Input/output error
/dev/vg_cel/backups-20120117: read failed after 0 of 4096 at 4096: Input/output error
Unable to deactivate open vg_cel-backups--20120117-cow (254:31)
Failed to resume backups-20120117.
libdevmapper exiting with 3 device(s) still suspended.
root at cel:~
# lvs
[at this point the process is hard dead, no SIGTERM etc.. can wake it]
[on another terminal...]
root at cel:~
# ps -lp 26009
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
4 D 0 26009 25789 0 80 0 - 6384 ? pts/9 00:00:00 lvs
root at cel:~
# kill -9 26009
root at cel:~
# ps -lp 26009
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
4 D 0 26009 25789 0 80 0 - 6384 - pts/9 00:00:00 lvs
> > dmsetup info -c
> > dmsetup table
> > dmsetup status
Fortunately even in this state these three commands still work OK. Find
attached current outputs from them.
--
Paul "LeoNerd" Evans
leonerd at leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
-------------- next part --------------
Name Maj Min Stat Open Targ Event UUID
vg_cel-swap_b 254 4 L--w 2 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HI16iR35iOEcTzvQkP5FiB3gEM6j7xnFz
vg_cel-usr32 254 5 L--w 0 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H1Z1LYecBeVkgyNiDO9NWwav7Mlz3yaPZ
vg_cel-usr64 254 37 L--w 1 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HA0GN0FOMeOQcnoSSyfqQTP1pO3l0tTnp
vg_cel-backups--20120219-cow 254 33 L-sw 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HOk3zIGteF4ZW8RMx6gK278OeQhx4XxVK-cow
vg_cel-home_mlog 254 49 L--w 0 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3Hxv6VYfC1GdWVa1iY27oJbrIlNJL7OkM5
vg_cel-backups_mlog 254 24 L--w 1 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H5c1VA0oGWdEkXfJ1YGEzbT3dQQN4IxM4
vg_cel-swap_a 254 3 L--w 2 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HS56oauHoAv4bKEvbNYDY19g3ggwmZURp
vg_cel-home_mimage_3 254 20 L--w 1 2 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HLYoMacTflKmk0K651ABTvfZoeA7MZQ0c
vg_cel-var64_mimage_1 254 42 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HqoDJcke6dwNryJtgQ3Qx5O3BiPrN3I5f
vg_cel-backups-real 254 27 L--w 2 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H6rPj6EdEYtrNDpD5PJAT0Rcda62AfMKM-real
vg_cel-home_mimage_2 254 19 L--w 1 2 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H2uhR9DbUE2KndNqe9VUxfVnODnKHwDB2
vg_cel-var64_mimage_0 254 41 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3Hl3MBXMQsrY28guo9JFwIaRgMqe25jHTL
vg_cel-backups_mimage_1 254 26 L--w 1 2 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HPWt0LqTzySg5Fxl4xULR4XY4KoR1yqGb
vg_cel-root32_mimage_3 254 11 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HULW60XnmaFAf3M119FLhnfsplFiqHxSl
vg_cel-backups_mimage_0 254 25 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H0l57MXC4SeQMiDyWRoqRLOoQiUDIN0PY
vg_cel-root32_mimage_2 254 10 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HyRF0QSO3X1RhgF4tcELhwKtXrrPxq08a
vg_cel-var32 254 18 L--w 0 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HEbzCGZhM0COhWRT4ouh7NHm3Jlk2nfH1
vg_cel-var64 254 43 L--w 1 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H5ykOO1tSch01sjuvKUA00ztOVjRxmSfY
vg_cel-backups--20120117-cow 254 31 L--w 0 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3Hhaj2TQMEr2opc41ZmmfyKvbptO2hm2oI-cow
vg_cel-var_mlog_mimage_1 254 14 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HO0jSYUkILFzJOZE0t94wHUha3xxRpDPQ
vg_cel-usr64_mlog_mimage_1 254 51 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HI3mQKNiPg2xc5g66Yk85kkEqYiFkpopJ
vg_cel-var64_mlog_mimage_1 254 39 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H0OemESnDTo95rCmeJYI0dBhYqXHHayfF
vg_cel-var_mlog_mimage_0 254 13 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HddToiFoW4yVX1f64FIk8fJw23BETCbaI
vg_cel-usr64_mlog_mimage_0 254 50 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HvNf7hEo1zdi3QEreZuViYu6Whva4Ad3r
vg_cel-var64_mlog_mimage_0 254 38 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HhsqXb6OOSOqtxUFfSfMJoL0hK6BIzC2C
vg_cel-var32_mimage_3 254 17 L--w 1 2 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HJ5WKRVhn9xXOoXQTouET2hi0sGgjo08m
vg_cel-usr64_mimage_1 254 36 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HsgeQlYNf4qSfVYNpm6mCByr1ccriY3qe
vg_cel-var32_mimage_2 254 16 L--w 1 2 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HBh8rtUwqitorKB1r031fLGGcPzAy8xnR
vg_cel-usr64_mlog 254 52 L--w 0 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HsMPOoAic0ixk8Q0LQo7SaM2PuzDIpIyN
vg_cel-usr64_mimage_0 254 35 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H72wu1QHGObzj5SVb24LZibPFHTZ5xyA9
vg_cel-backups--20120219 254 34 L-sw 0 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HOk3zIGteF4ZW8RMx6gK278OeQhx4XxVK
vg_cel-media 254 6 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HLMy9w5r2H8G4jT2H3sc7oe4N1fhH80FC
vg_cel-root_mlog_mimage_1 254 8 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HI70eQlTIE3hKshsH7Vfe3dHXMNTxMmWS
vg_cel-backups--20120117 254 32 L--w 0 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3Hhaj2TQMEr2opc41ZmmfyKvbptO2hm2oI
vg_cel-var32_mlog 254 15 L--w 1 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3Hvoa8iNQ8jr8CGdV962B48QM33KshJpeq
vg_cel-backups 254 28 L-sw 2 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H6rPj6EdEYtrNDpD5PJAT0Rcda62AfMKM
vg_cel-home 254 21 L--w 1 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HwKl20hMflw54FyWiW7Anlp2VT3PbVteo
vg_cel-root32_mlog 254 9 L--w 1 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HWm1CNVJlMDB2qfcAyRvoMotnhxp0LMSR
vg_cel-root_mlog_mimage_0 254 7 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HnaEO0f0whTij2M7q0nd8MXrSF8LKCMd5
vg_cel-home_mlog_mimage_1 254 48 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HYnGdWrij3wpKRItU4Ukgs6Mja21tImpz
vg_cel-backups_mlog_mimage_1 254 23 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HjPNl7Hkpj1U9VKCRb8OezEwFLRG6nunw
vg_cel-root64_mlog_mimage_1 254 45 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HIgaoC3UUg1PSVu9vl5mYc5DjHsWEFHcj
vg_cel-root64_mimage_1 254 1 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H5y6pEH2Ldq7enrrfhpMsWd72WEgXakhe
vg_cel-home_mlog_mimage_0 254 47 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HULVJ0aZ4XxUXlKGi8okKeTla1zJD0fhC
vg_cel-backups_mlog_mimage_0 254 22 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HjkMgpZLsv8INcb1NnAkpkKJUJMcqSsa2
vg_cel-var64_mlog 254 40 L--w 1 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3H95o1GqVF1y1Ldp6h0uf7tz6n6v82bGdT
vg_cel-root32 254 12 L--w 0 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HJrdE8A8CBsQRgdlrxDH3u9CUvbXWNtnU
vg_cel-root64_mlog 254 46 L--w 0 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HjEZ9e7qgZXyvkCqupQ1MC5Iu4h5kWNV5
vg_cel-root64_mlog_mimage_0 254 44 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HTgAWhPyLv9yxG6hhhFKeURdefLeS4UnJ
vg_cel-root64 254 2 L--w 1 1 1 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3Hjcstwu6f81QcE8dIl3eSzoVeQXRRjU8D
vg_cel-root64_mimage_0 254 0 L--w 1 1 0 LVM-85CFNaM1i2Op58cnR160cqLbFQ5pOb3HYXz0LoCmeSRxrL7IW9z2feppuUesKEpt
-------------- next part --------------
vg_cel-swap_b: 0 1048576 linear 8:18 328204672
vg_cel-usr32: 0 6291456 striped 2 128 8:2 384 8:18 384
vg_cel-usr64: 0 9764864 mirror core 1 1024 2 254:35 0 254:36 0 1 handle_errors
vg_cel-backups--20120219-cow: 0 41943040 linear 8:18 1113596288
vg_cel-home_mlog: 0 8192 mirror core 1 1024 2 254:47 0 254:48 0 1 handle_errors
vg_cel-backups_mlog: 0 8192 mirror core 1 1024 2 254:22 0 254:23 0 1 handle_errors
vg_cel-swap_a: 0 1048576 linear 8:2 328221056
vg_cel-home_mimage_3: 0 146800640 linear 8:18 482345344
vg_cel-home_mimage_3: 146800640 167772160 linear 8:2 335585664
vg_cel-var64_mimage_1: 0 7806976 linear 8:18 1396711808
vg_cel-backups-real: 0 314572800 mirror disk 2 254:24 1024 2 254:25 0 254:26 0 1 handle_errors
vg_cel-home_mimage_2: 0 146800640 linear 8:18 335544704
vg_cel-home_mimage_2: 146800640 167772160 linear 8:18 629154176
vg_cel-var64_mimage_0: 0 7806976 linear 8:18 310411648
vg_cel-backups_mimage_1: 0 209715200 linear 8:2 503357824
vg_cel-backups_mimage_1: 209715200 104857600 linear 8:2 713081216
vg_cel-root32_mimage_3: 0 2097152 linear 8:2 329269632
vg_cel-backups_mimage_0: 0 314572800 linear 8:18 796926336
vg_cel-root32_mimage_2: 0 2097152 linear 8:18 329253248
vg_cel-var32: 0 6291456 mirror disk 2 254:15 1024 2 254:16 0 254:17 0 1 handle_errors
vg_cel-var64: 0 7806976 mirror disk 2 254:40 1024 2 254:41 0 254:42 0 1 handle_errors
vg_cel-backups--20120117-cow: 0 41943040 linear 8:18 1197482368
vg_cel-var_mlog_mimage_1: 0 8192 linear 8:2 328204672
vg_cel-usr64_mlog_mimage_1: 0 8192 linear 8:2 823935360
vg_cel-var64_mlog_mimage_1: 0 8192 linear 8:18 318226816
vg_cel-var_mlog_mimage_0: 0 8192 linear 8:2 335569280
vg_cel-usr64_mlog_mimage_0: 0 8192 linear 8:18 318235008
vg_cel-var64_mlog_mimage_0: 0 8192 linear 8:18 1291862400
vg_cel-var32_mimage_3: 0 4194304 linear 8:2 331374976
vg_cel-var32_mimage_3: 4194304 2097152 linear 8:2 817938816
vg_cel-usr64_mimage_1: 0 9764864 linear 8:2 296755584
vg_cel-var32_mimage_2: 0 4194304 linear 8:18 331350400
vg_cel-var32_mimage_2: 4194304 2097152 linear 8:18 1111499136
vg_cel-usr64_mlog: 0 8192 mirror core 1 1024 2 254:50 0 254:51 0 1 handle_errors
vg_cel-usr64_mimage_0: 0 9764864 linear 8:18 300646784
vg_cel-backups--20120219: 0 314572800 snapshot 254:27 254:33 P 8
vg_cel-media: 0 587202560 striped 2 128 8:2 3146112 8:18 3146112
vg_cel-root_mlog_mimage_1: 0 8192 linear 8:2 328212864
vg_cel-backups--20120117: 0 41943040 linear 8:18 1197482368
vg_cel-var32_mlog: 0 8192 mirror core 1 1024 2 254:13 0 254:14 0 1 handle_errors
vg_cel-backups: 0 314572800 snapshot-origin 254:27
vg_cel-home: 0 314572800 mirror core 1 1024 2 254:19 0 254:20 0 1 handle_errors
vg_cel-root32_mlog: 0 8192 mirror core 1 1024 2 254:7 0 254:8 0 1 handle_errors
vg_cel-root_mlog_mimage_0: 0 8192 linear 8:2 331366784
vg_cel-home_mlog_mimage_1: 0 8192 linear 8:18 629145984
vg_cel-backups_mlog_mimage_1: 0 8192 linear 8:2 296747392
vg_cel-root64_mlog_mimage_1: 0 8192 linear 8:18 318218624
vg_cel-root64_mimage_1: 0 3899392 linear 8:2 820035968
vg_cel-home_mlog_mimage_0: 0 8192 linear 8:2 335577472
vg_cel-backups_mlog_mimage_0: 0 8192 linear 8:2 713073024
vg_cel-var64_mlog: 0 8192 mirror core 1 1024 2 254:38 0 254:39 0 1 handle_errors
vg_cel-root32: 0 2097152 mirror disk 2 254:9 1024 2 254:10 0 254:11 0 1 handle_errors
vg_cel-root64_mlog: 0 8192 mirror core 1 1024 2 254:44 0 254:45 0 1 handle_errors
vg_cel-root64_mlog_mimage_0: 0 8192 linear 8:18 1291854208
vg_cel-root64: 0 3899392 mirror core 1 1024 2 254:0 0 254:1 0 1 handle_errors
vg_cel-root64_mimage_0: 0 3899392 linear 8:18 296747392
-------------- next part --------------
vg_cel-swap_b: 0 1048576 linear
vg_cel-usr32: 0 6291456 striped 2 8:2 8:18 1 AA
vg_cel-usr64: 0 9764864 mirror 2 254:35 254:36 9536/9536 1 AA 1 core
vg_cel-backups--20120219-cow: 0 41943040 linear
vg_cel-home_mlog: 0 8192 mirror 2 254:47 254:48 8/8 1 AA 1 core
vg_cel-backups_mlog: 0 8192 mirror 2 254:22 254:23 8/8 1 AA 1 core
vg_cel-swap_a: 0 1048576 linear
vg_cel-home_mimage_3: 0 146800640 linear
vg_cel-home_mimage_3: 146800640 167772160 linear
vg_cel-var64_mimage_1: 0 7806976 linear
vg_cel-backups-real: 0 314572800 mirror 2 254:25 254:26 307200/307200 1 AA 3 disk 254:24 A
vg_cel-home_mimage_2: 0 146800640 linear
vg_cel-home_mimage_2: 146800640 167772160 linear
vg_cel-var64_mimage_0: 0 7806976 linear
vg_cel-backups_mimage_1: 0 209715200 linear
vg_cel-backups_mimage_1: 209715200 104857600 linear
vg_cel-root32_mimage_3: 0 2097152 linear
vg_cel-backups_mimage_0: 0 314572800 linear
vg_cel-root32_mimage_2: 0 2097152 linear
vg_cel-var32: 0 6291456 mirror 2 254:16 254:17 6144/6144 1 AA 3 disk 254:15 A
vg_cel-var64: 0 7806976 mirror 2 254:41 254:42 7624/7624 1 AA 3 disk 254:40 A
vg_cel-backups--20120117-cow: 0 41943040 linear
vg_cel-var_mlog_mimage_1: 0 8192 linear
vg_cel-usr64_mlog_mimage_1: 0 8192 linear
vg_cel-var64_mlog_mimage_1: 0 8192 linear
vg_cel-var_mlog_mimage_0: 0 8192 linear
vg_cel-usr64_mlog_mimage_0: 0 8192 linear
vg_cel-var64_mlog_mimage_0: 0 8192 linear
vg_cel-var32_mimage_3: 0 4194304 linear
vg_cel-var32_mimage_3: 4194304 2097152 linear
vg_cel-usr64_mimage_1: 0 9764864 linear
vg_cel-var32_mimage_2: 0 4194304 linear
vg_cel-var32_mimage_2: 4194304 2097152 linear
vg_cel-usr64_mlog: 0 8192 mirror 2 254:50 254:51 8/8 1 AA 1 core
vg_cel-usr64_mimage_0: 0 9764864 linear
vg_cel-backups--20120219: 0 314572800 snapshot 36017496/41943040 140160
vg_cel-media: 0 587202560 striped 2 8:2 8:18 1 AA
vg_cel-root_mlog_mimage_1: 0 8192 linear
vg_cel-backups--20120117: 0 41943040 linear
vg_cel-var32_mlog: 0 8192 mirror 2 254:13 254:14 8/8 1 AA 1 core
vg_cel-backups: 0 314572800 snapshot-origin
vg_cel-home: 0 314572800 mirror 2 254:19 254:20 307200/307200 1 AA 1 core
vg_cel-root32_mlog: 0 8192 mirror 2 254:7 254:8 8/8 1 AA 1 core
vg_cel-root_mlog_mimage_0: 0 8192 linear
vg_cel-home_mlog_mimage_1: 0 8192 linear
vg_cel-backups_mlog_mimage_1: 0 8192 linear
vg_cel-root64_mlog_mimage_1: 0 8192 linear
vg_cel-root64_mimage_1: 0 3899392 linear
vg_cel-home_mlog_mimage_0: 0 8192 linear
vg_cel-backups_mlog_mimage_0: 0 8192 linear
vg_cel-var64_mlog: 0 8192 mirror 2 254:38 254:39 8/8 1 AA 1 core
vg_cel-root32: 0 2097152 mirror 2 254:10 254:11 2048/2048 1 AA 3 disk 254:9 A
vg_cel-root64_mlog: 0 8192 mirror 2 254:44 254:45 8/8 1 AA 1 core
vg_cel-root64_mlog_mimage_0: 0 8192 linear
vg_cel-root64: 0 3899392 mirror 2 254:0 254:1 3808/3808 1 AA 1 core
vg_cel-root64_mimage_0: 0 3899392 linear
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20121007/af24c5ef/attachment.pgp>
More information about the pkg-lvm-maintainers
mailing list