Bug#375116: lvm2: Snapshotting the root logical volume crashes the machine, makes it unbootable, and the snapshot can't even be removed when booting from a recovery system

Sam Morris sam at robots.org.uk
Fri Jun 23 14:34:47 UTC 2006


On Fri, 2006-06-23 at 16:22 +0200, Bastian Blank wrote:
> On Fri, Jun 23, 2006 at 02:07:37PM +0100, Sam Morris wrote:
> > After a while I rebooted the machine, but it will no longer boot up:
> > 	device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm at uk.sistina.com
> > 	  Can't expand LV: Snapshot support missing from kernel?
> > 	  2 logical volume(s) in volume group "main" now active
> 
> You have to load snapshot support as described.

Ok, but it would be nice to have had that module included in the initrd
automatically. Rebooting after the crash is not the best time to find
out that I need to rebuild the initrd. :)

> > At this point, the machine crashes as before. I can still ping it, but
> > user space seems totally dead.
> 
> As you don't describe which version of lvm nor which version of the
> kernel you use, I can only say: it is fixed.

Indeed, I had to run reportbug on another system where lvm2 was not
installed, and so the version headers was missing. The machine in
question is running Sarge, so lvm2 is at version 2.01.04-5 and
kernel-image-2.6.8-3-686 is at  version 2.6.8-16sarge2.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078





More information about the pkg-lvm-maintainers mailing list