iscsitarget fails with can't create a target 2 0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iscsitarget (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Maverick |
Fix Released
|
High
|
Colin Watson |
Bug Description
Binary package hint: iscsitarget
Using iscsitarget on Maverick as of July 10 2010 with the latest updates setting up an iscsi target fails with the following error:
Jul 10 12:11:39 udc ietd: can't create a target 2 0
If the latest release iscsitarget-
My assumption is that there are kernel compatibility issues with the current version in Maverick.
To repeat:
create a simple image in /tmp
dd if=/dev/zero of=/tmp/test.img bs=1024 count=50k
Create a basic /etc/ietd.conf setup
--
Target iqn.2010-
Lun 0 Path=/tmp/
--
service iscsitarget start
Observe the error in /var/log/daemon.log
service iscsitarget stop
rmmod iscsi_trgt
download, and install the latest from http://
service iscsitarget start
The error is gone and your clients should be able to discover/mount the iscsi disk.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: iscsitarget 1.4.19+
ProcVersionSign
Uname: Linux 2.6.35-4-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sat Jul 10 12:12:12 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100317.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: iscsitarget
Related branches
Changed in iscsitarget (Ubuntu Maverick): | |
assignee: | nobody → Colin Watson (cjwatson) |
I'm also seeing iscsitarget fail to start up with similar errors.