Bug#549691: lvm2: lvremove fails to remove open logical volume which is not opened

2012-11-11 Thread anis.ocellata
Hi, I probably have the same problem. It occurs in about 20% of the calls to lvremove, but can be reproduced reliably using the description bellow. Symptoms: $ lvremove vg/lv-snap Do you really want to remove active logical volume lv-snap? [y/n]: y /sbin/dmeventd: stat failed: No such file

Bug#549691: lvm2: lvremove fails to remove open logical volume which is not opened

2012-10-03 Thread Michael Stapelberg
Hi, I have the same problem. lvremove fails to remove snapshot LVs in many cases (but not 100% of the time). As a workaround, I am currently using the dmsetup remove trick. What can we do to fix this problem? Here are the software versions I’m using: lvm2 2.02.95-4 udev

Bug#549691: lvm2: lvremove fails to remove open logical volume which is not opened

2012-10-03 Thread Peter Rajnoha
On 10/03/2012 12:13 PM, Michael Stapelberg wrote: To give a bit more information about how I reproduce this issue: lvcreate -n snap_web -L 1G -s plana/domu-web kpartx -a /dev/mapper/plana-snap_web ... kpartx -d /dev/mapper/plana-snap_web Please, try kpartx -s, where -s is for

Bug#549691: lvm2: lvremove fails to remove open logical volume which is not opened

2012-10-03 Thread Michael Stapelberg
Hi Peter, Peter Rajnoha prajn...@redhat.com writes: Please, try kpartx -s, where -s is for sync mode so all udev processing is synced with kpartx as well. Thanks for this hint. I added the -s flag, but I can still reproduce the snapshot removal problem: lvremove --verbose -f plana/snap_web

Bug#549691: lvm2: lvremove fails to remove open logical volume which is not opened

2012-05-27 Thread Daniel Dehennin
Hello, After reporting[1] the workaround[2] of calling dmsetup directly to schroot, Roger Leigh suggested me to make a report against LVM2 or udev. I don't know where the problem is exactly, but on my system the bug in 100% reproductible: #+begin_src root@home:~# lvcreate -L2G -s

Bug#549691: lvm2: lvremove fails to remove open logical volume which is not opened

2011-11-29 Thread Sam Morris
Trying not too add too much noise to this bug... I just ran into this and followed the advice to stop udev, then try to remove the volumes (in my case they were snapshots created for backup purposes), and it worked. I'm running stable: ii dmsetup

Bug#549691: lvm2: lvremove fails to remove open logical volume which is not opened

2010-04-04 Thread Bastian Blank
On Mon, Oct 05, 2009 at 07:43:50PM +0200, Martin Jürgens wrote: lvremove fails to remove my swap LV, although it is not mounted and not mentioned in /etc/fstab: Too less information. A swap LV can be in use by a large amount of things: - Used as swap. - Used as resume device. Bastian --

Bug#549691: lvm2: lvremove fails to remove open logical volume which is not opened

2010-03-08 Thread Leonardo Boiko
I had this problem because my old swap LV was listed in /etc/initramfs-tools/conf.d/resume . I changed it, update-initramfs -u, reboot, and then I could remove the LV. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Bug#549691: lvm2: lvremove fails to remove open logical volume which is not opened

2009-10-05 Thread Martin Jürgens
Package: lvm2 Version: 2.02.39-7 Severity: normal lvremove fails to remove my swap LV, although it is not mounted and not mentioned in /etc/fstab: x:~# free -m total used free sharedbuffers cached Mem: 498410 88 0