Bug#533436: [lvm2] Unable to use use LVM with DRBD block devices as PV

Bastian Blank waldi at debian.org
Fri Sep 11 10:08:07 UTC 2009


On Wed, Jun 17, 2009 at 04:00:35PM +0200, Laurent Léonard wrote:
> I was unable to use a DRBD block device as a PV on an LVM-based system. See 
> the following commands:

DRBD is neither part of LVM nor of the core kernel.

> debian1:~# lvcreate --name foo --size 4G replicated
>   device-mapper: reload ioctl failed: Invalid argument
>   Aborting. Failed to activate new LV to wipe the start of it.

Please add -vvvv and provide the output.

> debian1:~# tail /var/log/syslog -n 2
> Jun 17 15:50:13 debian1 kernel: [ 2108.509080] device-mapper: table: 254:3: 
> linear: dm-linear: Device lookup failed
> Jun 17 15:50:13 debian1 kernel: [ 2108.509086] device-mapper: ioctl: error 
> adding target to table

The kernel is not able to find the drbd device. What is the content of
/proc/devices?

Bastian

-- 
There are some things worth dying for.
		-- Kirk, "Errand of Mercy", stardate 3201.7





More information about the pkg-lvm-maintainers mailing list