Can't delete "open" snapshots
Someone recently noted here that they have been having trouble deleting snapshots. I have been seeing the same behaviour with that latest CVS builds. I can create a snap, run "lvs", then try to delete the snapshot. Sometimes it will delete but more often lvremove complains the snap is "open" and refuses. If I rerun lvremove it will usually work eventually if I try several times. Oddly, running "lvs" after creating the snap seems to make it harder to delete.
Thank you.
Quoted 4 lines · ben
Someone recently noted here that they have been having trouble deleting snapshots. I have been seeing the same behaviour with that latest CVS builds. I can create a snap, run "lvs", then try to delete the snapshot. Sometimes it will delete but more often lvremove complains the snap is "open" and refuses.
I suppose this is the same as:
https://bugzilla.redhat.com/show_bug.cgi?id=577798
Can you try killing udev daemon temporarily with "killall udevd" and see if you can reproduce? What distribution do you use?
Basically, we have problem supporting the "watch" rule, so you can also try and see if that one is used somewhere
grep watch /lib/udev/rules.d/* /etc/udev/rules.d/*
(..most of the time it's the "watch" rule set in udisks' udev rules)
Peter
Quoted 13 lines · Peter Rajnoha
Quoted 5 lines · ben
Someone recently noted here that they have been having trouble deleting snapshots. I have been seeing the same behaviour with that latest CVS builds. I can create a snap, run "lvs", then try to delete the snapshot. Sometimes it will delete but more often lvremove complains the snap is "open" and refuses.
I suppose this is the same as:
https://bugzilla.redhat.com/show_bug.cgi?id=577798Can you try killing udev daemon temporarily with "killall udevd" and see if you can reproduce? What distribution do you use?
Quoted 8 lines
Basically, we have problem supporting the "watch" rule, so you can also try and see if that one is used somewhere
grep watch
/lib/udev/rules.d/*/etc/udev/rules.d/*(..most of the time it's the "watch" rule set in udisks' udev rules)
Peter
I removed 'udisk' and the problem seems to be gone. I am running Debian unstable. Thank you.