runelind
October 12th, 2010, 09:36 PM
I'm wanting to run 10.10 server from a root disk located on an iSCSI server. My server is FreeBSD 8 running isc-dhcpd and is sharing out a 20GB iSCSI disk. I've run the server install CD (currently testing in VMWare), and it finds the iSCSI share without a problem. I'm able to install the OS just fine, but the problems start when I try to boot the installation. I'm booting off a gPXE iso until I can get PXE chain-loading figured out. My DHCP config looks as such:
host mm-iscsi
{
hardware ethernet 00:50:56:3f:3f:bf;
fixed-address 10.50.3.245;
option root-path "iscsi:10.50.3.5::::iqn.2007-09.jp.ne.peach.istgt:disk3";
When I boot the OS from the gPXE iso, it grabs a DHCP address and then boots from the iSCSI target. It drops me to the grub loader and I pick the first option. It then tries to continue booting from the iSCSI disk, but it tells me:
iscsistart: transport class version 2.0-870
iscsistart: version 2.0-071
iscsistart: Logging into iqn.2007-09.jp.ne.peach.istgt:disk3 10.50.3.5:3260,2
:iscsistart: Login authentication failed with target iqn.2007-09.jp.ne.peach.istgt:disk3
iscsistart: Login error (Login status 0) on conn 5
iscsistart: initiator reported error (19 - encountered no-retryable iSCSI login failure)
then it drops me to an initramfs shell.
I've also tried this against a Nexenta iSCSI share, but it appears to be giving me the exact same problems. I'm unsure if the problem lies with the ubuntu config or with the iSCSI server. The istgt config for the disk is below:
[LogicalUnit3]
Comment "XBMC"
# full specified iqn (same as below)
#TargetName iqn.2007-09.jp.ne.peach.istgt:disk1
# short specified non iqn (will add NodeBase)
TargetName disk3
TargetAlias "Data Disk3"
# use initiators in tag1 via portals in tag1
Mapping PortalGroup2 InitiatorGroup2
# accept both CHAP and None
# AuthMethod Auto
AuthMethod None
AuthGroup AuthGroup1
#UseDigest Header Data
UseDigest Auto
UnitType Disk
# SCSI INQUIRY - Vendor(8) Product(16) Revision(4) Serial(16)
#UnitInquiry "FreeBSD" "iSCSI Disk" "0123" "10000001"
# Queuing 0=disabled, 1-255=enabled with specified depth.
#QueueDepth 32
# for file extent
LUN0 Storage /dev/zvol/zfsraid/xbmc Auto
# for raw device extent
#LUN0 Storage /dev/ad4 Auto
In the iSCSI logs I see:
Oct 12 14:47:28 beastie istgt[32729]: Login from iqn.2000-09.org.etherboot:unknown (10.50.3.245) on iqn.2007-09.jp.ne.peach.istgt:disk3 LU3 (10.50.3.5:3260,2), ISID=400027230000, TSIH=3, CID=0, HeaderDigest=off, DataDigest=off
host mm-iscsi
{
hardware ethernet 00:50:56:3f:3f:bf;
fixed-address 10.50.3.245;
option root-path "iscsi:10.50.3.5::::iqn.2007-09.jp.ne.peach.istgt:disk3";
When I boot the OS from the gPXE iso, it grabs a DHCP address and then boots from the iSCSI target. It drops me to the grub loader and I pick the first option. It then tries to continue booting from the iSCSI disk, but it tells me:
iscsistart: transport class version 2.0-870
iscsistart: version 2.0-071
iscsistart: Logging into iqn.2007-09.jp.ne.peach.istgt:disk3 10.50.3.5:3260,2
:iscsistart: Login authentication failed with target iqn.2007-09.jp.ne.peach.istgt:disk3
iscsistart: Login error (Login status 0) on conn 5
iscsistart: initiator reported error (19 - encountered no-retryable iSCSI login failure)
then it drops me to an initramfs shell.
I've also tried this against a Nexenta iSCSI share, but it appears to be giving me the exact same problems. I'm unsure if the problem lies with the ubuntu config or with the iSCSI server. The istgt config for the disk is below:
[LogicalUnit3]
Comment "XBMC"
# full specified iqn (same as below)
#TargetName iqn.2007-09.jp.ne.peach.istgt:disk1
# short specified non iqn (will add NodeBase)
TargetName disk3
TargetAlias "Data Disk3"
# use initiators in tag1 via portals in tag1
Mapping PortalGroup2 InitiatorGroup2
# accept both CHAP and None
# AuthMethod Auto
AuthMethod None
AuthGroup AuthGroup1
#UseDigest Header Data
UseDigest Auto
UnitType Disk
# SCSI INQUIRY - Vendor(8) Product(16) Revision(4) Serial(16)
#UnitInquiry "FreeBSD" "iSCSI Disk" "0123" "10000001"
# Queuing 0=disabled, 1-255=enabled with specified depth.
#QueueDepth 32
# for file extent
LUN0 Storage /dev/zvol/zfsraid/xbmc Auto
# for raw device extent
#LUN0 Storage /dev/ad4 Auto
In the iSCSI logs I see:
Oct 12 14:47:28 beastie istgt[32729]: Login from iqn.2000-09.org.etherboot:unknown (10.50.3.245) on iqn.2007-09.jp.ne.peach.istgt:disk3 LU3 (10.50.3.5:3260,2), ISID=400027230000, TSIH=3, CID=0, HeaderDigest=off, DataDigest=off