Public bug reported:

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-1.4.20.1 is installed this problem
goes away.

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-07.org.example:storage.lun0
        Lun 0 Path=/tmp/test.img,Type=fileio
--

service iscsitarget start

Observe the error in /var/log/daemon.log

service iscsitarget stop
rmmod iscsi_trgt


download, and install the latest from 
http://sourceforge.net/projects/iscsitarget/files/

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+svn275-ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-4.5-generic 2.6.35-rc3
Uname: Linux 2.6.35-4-generic x86_64
NonfreeKernelModules: nvidia
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

** Affects: iscsitarget (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
iscsitarget fails with can't create a target 2 0
https://bugs.launchpad.net/bugs/604087
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to