[linux-lvm] Problem creating snapshots with 2.6.16.9 and LVM2.02.06

Roger Lucas roger at planbit.co.uk
Fri Jun 9 18:51:58 UTC 2006


Hi Alasdair,

Thanks for the quick response.

I killed the uDev process that was running and retried it.  The snapshot was
created without any problems.  It looks like this is another example of the
interaction of uDev and LVM.

I followed the Debian bug reference that you gave.  The change in
/etc/udev.rules that was recommended works for me too:

Failing line:
	KERNEL=="dm-[0-9]*",           NAME=""

Working line:
	KERNEL=="dm-[0-9]*",           OPTIONS+="ignore_device"

This seems to keep uDev out of LVM's way, and LVM now works fine.

There seemed to a bit of discussion on the Debian bug tracker regarding
exactly where the problem is, so if there are any logs you would like or
similar then let me know.

Thanks and best regards,

Roger


> -----Original Message-----
> From: linux-lvm-bounces at redhat.com [mailto:linux-lvm-bounces at redhat.com]
> On Behalf Of Alasdair G Kergon
> Sent: 09 June 2006 15:57
> To: LVM general discussion and development
> Subject: Re: [linux-lvm] Problem creating snapshots with 2.6.16.9 and
> LVM2.02.06
> 
> > > Wombat:~# lvcreate -L10G -n snapdisk -s /dev/clientstore/userdisk
> > >   LV clientstore/snapdisk in use: not deactivating
> > >   Couldn't deactivate new snapshot.
> 
> Could be interaction (not yet understood) with udev - try disabling udev
> while
> running the command.
> 
> (Ref debian bug 343671)
> 
> Alasdair
> --
> agk at redhat.com
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list