Bug#237754: lvm2: snapshot doesn't work: dm-snapshot.ok ?

Craig Ringer Craig Ringer <craig@postnewspapers.com.au>, 237754@bugs.debian.org
Sat, 28 May 2005 17:54:41 +0800

Package: lvm2
Version: 2.00.24-1
Followup-For: Bug #237754

It sounds a lot like the issue I've encountered. If so, the problem is
that /etc/init.d/lvm doesn't attempt to modprobe dm-snapshot before
activating volumes. A volume that has a snapshot associated cannot be
activated if snapshot support is not loaded; thus, activating the volume

To fix, add 'modprobe dm-snapshot >/dev/null 2>&1' below the other
modprobe lines in /etc/init.d/lvm . It'd be great to have this in the
shipping package (maybe even in Sarge - it's only a trivial change, but
with the freeze and all...).

Perhaps this has something to do with the debconf key mentioned below.
dpkg-reconfigure has nothing to say about it though.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lvm2 depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdevmapper1.00            2:1.00.19-2  The Linux Kernel Device Mapper use
ii  lvm-common                  1.5.17       The Logical Volume Manager for Lin

-- debconf information: