FS#40765 - [systemd] [lvm2] lvremove locks up with systemd version 213-x
Attached to Project:
Arch Linux
Opened by Robin (robin67) - Monday, 09 June 2014, 06:36 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 10 June 2014, 16:10 GMT
Opened by Robin (robin67) - Monday, 09 June 2014, 06:36 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 10 June 2014, 16:10 GMT
|
Details
Description:
The latest update of systemd to version 213 makes my snapshots of lvm crash. I tried version 213-5 and 213-6, both with the same result When I try to remove the snapshot with "lvremove -f vg/lv1" I receive the following error Unable to deactivate open vg-lv1-cow (254:7) Failed to activate snapup. Releasing activation in critical section. libdevmapper exiting with 1 device(s) still suspended. I experience this on my i686 as wel as on my x86_64 machines. After this my system locks up and I need to hard reset it. Before I knew it was caused by systemd I first tried downgrading lvm and my kernel but that was not causing it. I could only solve it by downgrading systemd to version 212-3. I expect udev to be causing this. I also opened a topic on the forum about it on: https://bbs.archlinux.org/viewtopic.php?id=182585 Additional info: linux-lts 3.10.42-1 lvm2 2.02.106-2 systemd 212-3 systemd-sysvcompat 212-3 Steps to reproduce: lvcreate --size 2G --snapshot --name lv1 /dev/vg/home -p r mount -r -t ext2 /dev/vg/lv1 /mnt/tmp-bck tar -C /mnt/tmp-bck -czvpf /volum1/backup-home.tgz . umount /mnt/tmp-bck lvremove -f /dev/vg/lv1 |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 10 June 2014, 16:10 GMT
Reason for closing: Fixed
Additional comments about closing: systemd-213-9
Tuesday, 10 June 2014, 16:10 GMT
Reason for closing: Fixed
Additional comments about closing: systemd-213-9
How, what where ??? Sorry for my ignorance...
I will test (and hopefully confirm ;-) ) after I can download it from testing...
Thanks for your quick replies. I noticed it just got uploaded and installed and tested it.
I installed:
libsystemd 213-8
systemd 213-8
systemd-sysvcompat 213-8
Unfortunately it still has the same problem
Unable to deactivate open vg-lv1-cow (254:7)
Failed to activate lv1.
Releasing activation in critical section.
libdevmapper exiting with 1 device(s) still suspended.
There was no need to regenerate before (not for switching back to 212-3 either)
But I did so anyway just now with "mkinitcpio -p linux-lts" and tested again.
Still the same error, unfortunately.
It will be back to 212-3 for now for me...
@Dave: That will be a little bit harder for me to test right now, because I have a program running that will need this kernel version.
I can test it later on and get back to you on it
this commit should be fixing problems for lvm2 & latest systemd:
e918a1b5a94f270186dca59156354acd2a596494
and this is systemd commit which has introduced problem:
3d06f4183470d42361303086ed9dedd29c0ffc1b
http://lists.freedesktop.org/archives/systemd-devel/2014-June/019863.html