Public bug reported: lvcreate command hangs while taking a snapshot of root file system. Running strace on hang process reports that process is hung doing semop. I am using ubuntu 14.04.
Package used: Package: lvm2 Version: 2.02.98-6ubuntu2 Architecture: amd64 Kernel: ubuntu-test:~$ uname -a Linux ubuntu-test 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Command outputs: test@ubuntu-test:$ sudo lvs LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert TestVolume TestGroup -wi-ao--- 20.00g test_iso_lv test_root_vg -wi-ao--- 3.00g test_log_lv test_root_vg -wi-ao--- 2.00g test_root_lv test_root_vg owi-aos-- 9.95g test_root_lv_before_upgrade test_root_vg swi-a-s-- 9.95g test_root_lv 0.03 test_swap_lv test_root_vg -wi-ao--- 16.00g test@ubuntu-test:$ sudo lvdisplay --- Logical volume --- LV Path /dev/TestGroup/TestVolume LV Name TestVolume VG Name TestGroup LV UUID F3HgjF-Gxjf-V8Yk-GrbO-JfZ7-ByjG-rV8UtP LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:19 +0000 LV Status available # open 1 LV Size 20.00 GiB Current LE 5119 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:0 --- Logical volume --- LV Path /dev/test_root_vg/test_root_lv LV Name test_root_lv VG Name test_root_vg LV UUID am2iU8-hYPl-rrot-9HqW-P5O5-bBZf-WNgKNx LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:19 +0000 LV snapshot status source of test_root_lv_before_upgrade [active] LV Status available # open 1 LV Size 9.95 GiB Current LE 2548 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:1 --- Logical volume --- LV Path /dev/test_root_vg/test_log_lv LV Name test_log_lv VG Name test_root_vg LV UUID S9QDl1-x7ss-ng1N-SL72-T3cA-dkgK-BHlW4W LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:19 +0000 LV Status available # open 1 LV Size 2.00 GiB Current LE 512 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:2 --- Logical volume --- LV Path /dev/test_root_vg/test_swap_lv LV Name test_swap_lv VG Name test_root_vg LV UUID 1j508M-L6ZI-pqCd-yPYL-6jtf-Iglj-B5IbDq LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:19 +0000 LV Status available # open 2 LV Size 16.00 GiB Current LE 4096 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:3 --- Logical volume --- LV Path /dev/test_root_vg/test_iso_lv LV Name test_iso_lv VG Name test_root_vg LV UUID SYM3KQ-On4R-7iwN-Ozxv-91dc-blay-zb2Xmc LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:20 +0000 LV Status available # open 1 LV Size 3.00 GiB Current LE 768 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:4 --- Logical volume --- LV Path /dev/test_root_vg/test_root_lv_before_upgrade LV Name test_root_lv_before_upgrade VG Name test_root_vg LV UUID zzBMia-FP2s-Eh7g-Xlhk-Mc8b-mPfk-ThWb5r LV Write Access read/write LV Creation host, time ubuntu-test, 2015-06-23 18:52:06 +0000 LV snapshot status active destination for test_root_lv LV Status available # open 0 LV Size 9.95 GiB Current LE 2548 COW-table size 9.95 GiB COW-table LE 2548 Allocated to snapshot 0.03% Snapshot chunk size 4.00 KiB Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:5 ** Affects: apport (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1481881 Title: creating LVM snapshot using lvcreate hangs Status in apport package in Ubuntu: New Bug description: lvcreate command hangs while taking a snapshot of root file system. Running strace on hang process reports that process is hung doing semop. I am using ubuntu 14.04. Package used: Package: lvm2 Version: 2.02.98-6ubuntu2 Architecture: amd64 Kernel: ubuntu-test:~$ uname -a Linux ubuntu-test 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Command outputs: test@ubuntu-test:$ sudo lvs LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert TestVolume TestGroup -wi-ao--- 20.00g test_iso_lv test_root_vg -wi-ao--- 3.00g test_log_lv test_root_vg -wi-ao--- 2.00g test_root_lv test_root_vg owi-aos-- 9.95g test_root_lv_before_upgrade test_root_vg swi-a-s-- 9.95g test_root_lv 0.03 test_swap_lv test_root_vg -wi-ao--- 16.00g test@ubuntu-test:$ sudo lvdisplay --- Logical volume --- LV Path /dev/TestGroup/TestVolume LV Name TestVolume VG Name TestGroup LV UUID F3HgjF-Gxjf-V8Yk-GrbO-JfZ7-ByjG-rV8UtP LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:19 +0000 LV Status available # open 1 LV Size 20.00 GiB Current LE 5119 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:0 --- Logical volume --- LV Path /dev/test_root_vg/test_root_lv LV Name test_root_lv VG Name test_root_vg LV UUID am2iU8-hYPl-rrot-9HqW-P5O5-bBZf-WNgKNx LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:19 +0000 LV snapshot status source of test_root_lv_before_upgrade [active] LV Status available # open 1 LV Size 9.95 GiB Current LE 2548 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:1 --- Logical volume --- LV Path /dev/test_root_vg/test_log_lv LV Name test_log_lv VG Name test_root_vg LV UUID S9QDl1-x7ss-ng1N-SL72-T3cA-dkgK-BHlW4W LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:19 +0000 LV Status available # open 1 LV Size 2.00 GiB Current LE 512 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:2 --- Logical volume --- LV Path /dev/test_root_vg/test_swap_lv LV Name test_swap_lv VG Name test_root_vg LV UUID 1j508M-L6ZI-pqCd-yPYL-6jtf-Iglj-B5IbDq LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:19 +0000 LV Status available # open 2 LV Size 16.00 GiB Current LE 4096 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:3 --- Logical volume --- LV Path /dev/test_root_vg/test_iso_lv LV Name test_iso_lv VG Name test_root_vg LV UUID SYM3KQ-On4R-7iwN-Ozxv-91dc-blay-zb2Xmc LV Write Access read/write LV Creation host, time ubuntu, 2015-06-22 20:54:20 +0000 LV Status available # open 1 LV Size 3.00 GiB Current LE 768 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:4 --- Logical volume --- LV Path /dev/test_root_vg/test_root_lv_before_upgrade LV Name test_root_lv_before_upgrade VG Name test_root_vg LV UUID zzBMia-FP2s-Eh7g-Xlhk-Mc8b-mPfk-ThWb5r LV Write Access read/write LV Creation host, time ubuntu-test, 2015-06-23 18:52:06 +0000 LV snapshot status active destination for test_root_lv LV Status available # open 0 LV Size 9.95 GiB Current LE 2548 COW-table size 9.95 GiB COW-table LE 2548 Allocated to snapshot 0.03% Snapshot chunk size 4.00 KiB Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1481881/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp