Unable to use use LVM with DRBD block devices as PV
Bug #489398 reported by
Tessa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
drbd8 (Debian) |
Fix Released
|
Unknown
|
|||
drbd8 (Fedora) |
Fix Released
|
High
|
|||
drbd8 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This is a bug reported in Debian and Redhat, which I'm currently seeing on fresh installs of Ubuntu/karmic. The details of my problem generally match the Debian bug report, which I'll link here.
ProblemType: Bug
Architecture: amd64
Date: Fri Nov 27 15:12:25 2009
DistroRelease: Ubuntu 9.10
Package: drbd8-utils 2:8.3.3-0ubuntu1
ProcEnviron:
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: drbd8
Uname: Linux 2.6.31-15-server x86_64
Changed in drbd8 (Debian): | |
status: | Unknown → New |
Changed in drbd8 (Fedora): | |
status: | Unknown → In Progress |
Changed in drbd8 (Debian): | |
status: | New → Confirmed |
Changed in drbd8 (Debian): | |
status: | Confirmed → Fix Released |
Changed in drbd8 (Fedora): | |
importance: | Unknown → High |
status: | In Progress → Fix Released |
To post a comment you must log in.
Description of problem:
I'm trying to set up a nested LVM configuration with DRBD, see for example www.drbd. org/users- guide-emb/ s-nested- lvm.html . Creating logical volumes on top of a DRBD device fails.
http://
Version-Release number of selected component (if applicable):
lvm2-2. 02.48-2. fc11.i586 2.6.30. 8-64.fc11. i586
kernel-
How reproducible:
stable, happens always.
Steps to Reproduce:
1. set up a DRBD device
2. create a physical volume on it:
# pvcreate /dev/drbd0
Physical volume "/dev/drbd0" successfully created
3. create a volume group on it:
# vgcreate replicated /dev/drbd0
Volume group "replicated" successfully created
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "replicated" using metadata type lvm2
Found volume group "vg0" using metadata type lvm2
Found volume group "vg1" using metadata type lvm2
# vgchange -a y replicated
0 logical volume(s) in volume group "replicated" now active
4. try to create a logical volum:
# lvcreate --name foo --size 32G replicated
device-mapper: reload ioctl failed: Invalid argument
Aborting. Failed to activate new LV to wipe the start of it.
Actual results:
LV not created.
Error messages on stdout:
device-mapper: reload ioctl failed: Invalid argument
Aborting. Failed to activate new LV to wipe the start of it.
Syslog messages:
# Oct 24 21:44:01 gemini kernel: device-mapper: table: 253:11: linear: dm-linear: Device lookup failed
Oct 24 21:44:01 gemini kernel: device-mapper: ioctl: error adding target to table
Expected results:
LV created, no error messages.
Additional info:
I am pretty sure that used to work in older versions (probably F9 or F10),
but unfortunately I don't have any records of this setup any more.
There are similar bug reports from other distributions, so this seems to be a generic (kernel?) issue, see for example http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 533436