open-iscsi duplicates exsiting block device on initiator login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: open-iscsi
I have setup Maverick as a domU, running standard linux-image-
The kernel sets up the disks as sda and sdb via blkfront rather than xvda and xvdb I have seen on similarly configured Debian 6 domUs. The host system is running Debian 6, and loads this maverick system via pygrub+grub-pc.
I try to connect to an iscsi target to attach my 2TB ocfs2 filesystem and the iscsi driver attempts to use sda which is already in use, resulting in an sysfs kernel error:
sysfs: cannot create duplicate filename '/class/block/sda'
The details are in the attached dmesg. My fstab contains only UUID references, and my udev foo is not good enough to workaround. I tried rules similar to the following to move the xen devices, however it just created additional non-symlinked devices that were identical named xvda,xvdb.
KERNEL=="sda", SUBSYSTEMS=="xen", NAME="xvda"
I expect this might be an issue with blkfront (linux-image) or udev, however it is as a result of issuing the initiator login, so I'll start here.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: open-iscsi 2.0.871-0ubuntu5
ProcVersionSign
Uname: Linux 2.6.35-23-server x86_64
Architecture: amd64
Date: Mon Nov 8 16:01:51 2010
ProcEnviron:
LANG=C
SHELL=/bin/bash
SourcePackage: open-iscsi
Changed in open-iscsi (Ubuntu): | |
status: | New → Fix Released |
Same issue with linux-image- 2.6.35- 23-virtual and linux-image- 2.6.35- 23-server. Looks like xenpv + iscsi is likely a problem for all Ubuntu flavors.