On Mon, Oct 23, 2006 at 03:41:00PM +0200, Jan Blunck wrote: > On Wed, Oct 11, Jan Blunck wrote: > > - removing "vg-snapshot" (1) > Actually this must be deactivation of vg-snapshot. This is where the > deactivation code complains about the usage count of the LV. The step will fail if it's still open by the time the kernel tries to remove it. As discussed on irc, let's try to optimise out the deactivate/activate. (a) activate cow excl local invisible (overriding 'visible' in metadata) ? (b) initialise zeros (c) ensure dev_flush() ran (d) skip the deactivate step ... Alasdair -- agk@redhat.com _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/