Bug#306495: pvmove: should autoload dm-mirror kernel module

Mark Sheppard Mark Sheppard <mark@ddf.net>, 306495@bugs.debian.org
Tue, 26 Apr 2005 23:55:32 +0100


Package: lvm2
Version: 2.01.04-3
Severity: normal

When trying to use pvmove I got the following error:

  mirror: Required device-mapper target(s) not detected in your kernel

It took me quite a while to work out that the solution was to run
"modprobe dm-mirror".  It would be far move helpful if pvmove itself
could load the dm-mirror kernel module when it needs it.

Or at the very least it should tell you to try running "modprobe
dm-mirror" in the error message it produces.

Cheers,
Mark.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages lvm2 depends on:
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdevmapper1.01            2:1.01.00-4  The Linux Kernel Device Mapper use
ii  lvm-common                  1.5.17       The Logical Volume Manager for Lin

-- debconf information excluded