Package: lvm2
Version: 2.02.39-2
Severity: important

When setting up lvm on lenny for the first time one runs into this ugly
behaviour:

test:~# pvcreate /dev/hdd1
  Physical volume "/dev/hdd1" successfully created
test:~# vgcreate vg_test /dev/hdd1
  Volume group "vg_test" successfully created
test:~# lvcreate -n test-lv1 -L 128m /dev/vg_test
  /proc/misc: No entry for device-mapper found
  Is device-mapper driver missing from kernel?
  Failure to communicate with kernel device-mapper driver.
  /proc/misc: No entry for device-mapper found
  Is device-mapper driver missing from kernel?
  Failure to communicate with kernel device-mapper driver.
  Incompatible libdevmapper 1.02.27 (2008-06-25)(compat) and kernel driver
  striped: Required device-mapper target(s) not detected in your kernel
  Run `lvcreate --help' for more information.

Then one either needs to /etc/init.d/lvm start (restart won't do), or
manually load dm-mod.

The proper solution is probably to call the init script start action in
the package's postinst.

Please fix this for lenny.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to