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
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
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
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
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
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
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
--
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
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
9 matches
Mail list logo