[Bug 672759] Re: open-iscsi duplicates exsiting block device on initiator login
iMac
672759 at bugs.launchpad.net
Thu Aug 4 13:08:38 UTC 2011
I tried udev stuff initially, before the fix in Natty, but I couldn't
get around this issue. Maybe my udev foo is not strong enough. It
seemed to me that if udev actually had a say, then the order would be
/dev/sda /dev/sdb. I think the issue was the kernel implementation of
the hypervisor disk. It might be worthwhile looking at the downstream
Natty patch that fixed the issue and seeing if it can be applied to the
Lucid kernel source.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/672759
Title:
open-iscsi duplicates exsiting block device on initiator login
Status in “open-iscsi” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: open-iscsi
I have setup Maverick as a domU, running standard linux-
image-2.6.35-23-server from current stable+updates+proposed.
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
ProcVersionSignature: Ubuntu 2.6.35-23.37-server 2.6.35.7
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/672759/+subscriptions
More information about the foundations-bugs
mailing list