All of lore.kernel.org
 help / color / mirror / Atom feed
* Can't delete "open" snapshots
@ 2010-08-08  6:03 ben
  2010-08-09  7:03 ` Peter Rajnoha
  0 siblings, 1 reply; 3+ messages in thread
From: ben @ 2010-08-08  6:03 UTC (permalink / raw)
  To: lvm-devel

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Can't delete "open" snapshots
  2010-08-08  6:03 Can't delete "open" snapshots ben
@ 2010-08-09  7:03 ` Peter Rajnoha
  2010-08-09  7:26   ` ben
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rajnoha @ 2010-08-09  7:03 UTC (permalink / raw)
  To: lvm-devel

On 08/08/2010 08:03 AM +0100, ben wrote:
> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Can't delete "open" snapshots
  2010-08-09  7:03 ` Peter Rajnoha
@ 2010-08-09  7:26   ` ben
  0 siblings, 0 replies; 3+ messages in thread
From: ben @ 2010-08-09  7:26 UTC (permalink / raw)
  To: lvm-devel

On Monday, August 09, 2010 12:03:45 am Peter Rajnoha wrote:
> On 08/08/2010 08:03 AM +0100, ben wrote:
> > 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

I removed 'udisk' and the problem seems to be gone. I am running
Debian unstable. Thank you.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-09  7:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-08  6:03 Can't delete "open" snapshots ben
2010-08-09  7:03 ` Peter Rajnoha
2010-08-09  7:26   ` ben

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.