iscsid does not start automatically having iscsi root
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: open-iscsi
Affected package: open-iscsi
# apt-cache policy open-iscsi
open-iscsi:
Installed: 2.0.871-0ubuntu4
Candidate: 2.0.871-0ubuntu4
Version table:
*** 2.0.871-0ubuntu4 0
500 http://
100 /var/lib/
Fresh install of Ubuntu Server 10.04 (official release, no RC).
root filesystem in iSCSI.
/boot in a separate filesystem.
swap in a dedicated partition (in iSCSI as well).
Tested on both real and virtual machines.
Boot process seems to be OK.
root filesystem is correctly mounted.
"iscsiadm -m session" shows connection to the target:
# iscsiadm -m session
tcp: [1] 192.168.
But increasing debug level, we can see we are getting an 111 error when contacting iscsid (111 = connection refused):
# iscsiadm -m session -P1
Target: iqn.1986-
Current Portal: 192.168.
iscsiadm: can not connect to iSCSI daemon (111)!
The problem is that iscsid is not running:
# /etc/init.
* iscsid is not running
# ps -efa | grep -i iscsi
root 232 2 0 17:15 ? 00:00:00 [iscsi_eh]
root 238 2 0 17:15 ? 00:00:00 [iscsi_q_2]
root 851 782 0 17:32 pts/0 00:00:00 grep --color=auto -i iscsi
open-iscsi SysV init scripts are installed (according to /var/lib/
# find /etc/rc*.d -iname "*iscsi*"
/etc/
/etc/
/etc/
/etc/
iscsid must be running in order to handle connection errors to the iSCSI target, among many other things.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: open-iscsi 2.0.871-0ubuntu4
ProcVersionSign
Uname: Linux 2.6.32-21-server x86_64
Architecture: amd64
Date: Tue May 4 17:16:25 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: open-iscsi
Status changed to 'Confirmed' because the bug affects multiple users.