Public bug reported: dmsetup, libdevmapper1.02: 1.02.08-1ubuntu10 lvm-common: 1.5.20ubuntu12 lvm2: 2.02.06-2ubuntu9
Running "lvcreate -s" to create an LVM snapshot takes about 10 minutes to complete, where it should be instantaneous. stracing lvcreate shows a lot of waiting for devices to exist (VG name is mlc2, snapshot name strace-test) stat64("/dev/mapper/mlc2-strace--test", 0xbfb917c8) = -1 ENOENT (No such file or directory) nanosleep({0, 10000000}, NULL) = 0 stat64("/dev/mapper/mlc2-strace--test", 0xbfb917c8) = -1 ENOENT (No such file or directory) nanosleep({0, 20000000}, NULL) = 0 Then does a lot of waiting for another device: stat64("/dev/mapper/mlc2-strace--test-cow", 0xbfb917d8) = -1 ENOENT (No such file or directory) nanosleep({0, 10000000}, NULL) = 0 stat64("/dev/mapper/mlc2-strace--test-cow", 0xbfb917d8) = -1 ENOENT (No such file or directory) nanosleep({0, 20000000}, NULL) = 0 etc. In accordance with bug 38409, I currently have "KERNEL=="dm-[0-9]*", OPTIONS+="ignore_device"" set in /etc/udev/rules.d/20-names.rules. No other changes have been made to udev. I will try removing the change (which should no longer be required) on my test box. Side note: due to a bug in my rotation script, I found I had about 20 snapshots on a machine the other day. It then wouldn't boot, as per bug 103866 - when I removed all the snapshots, mounting the volume of which all the snapshots are taken, worked. ** Affects: lvm2 (Ubuntu) Importance: Undecided Status: Unconfirmed -- lvm snapshots take almost 10 minutes https://bugs.launchpad.net/bugs/110380 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs