[Bug 672759] Re: open-iscsi duplicates exsiting block device on initiator login

clayg clay.gerrard at gmail.com
Fri Aug 5 22:25:47 UTC 2011


I was mistaken, I'm only seeing this problem on maverick.  FWIW running
lucid or natty on domU moves the first hd to /dev/xvda and iscsi works
just fine.

Also if I boot my maverick domU via HVM-boot-policy="BIOS order" instead
of pygrub, the first hd still goes to /dev/sda - but iscsi initiator
will mount the first target onto /dev/sdb instead of conflicting.

More information regarding the resolution in nattry:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/684875

-- 
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