Re: Connectivity problems with ISCSI target and ESXi server(s)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 25, 2014 at 9:42 AM, Thomas Glanzmann <thomas@xxxxxxxxxxxx> wrote:
> Hallo Nab,
>
>> Usually spreading out the LUNs across multiple endpoints (eg: multiple
>> IQNs) helps to reduce or completely eliminate the ESX host side issues.
>> Typically you want to keep it around 4-5 LUNs per endpoint on 1 Gb/sec
>> ports.
>
> in my case I had 3 LUNs per endpoint. With rts/os with the same config
> it worked. But as soon as my time permits it, I'll hunt it down.
>
> Cheers,
>         Thomas

Hi again,

I managed to enable dynamic debugging on the Debian VMs as Thomas
suggested and I've got some logs as the problem manifested itself
again. More specifically, I started seeing datastores losing
connection to the attached hosts and at some point the VM that hosts
the iSCSI target crashed with a kernel panic.

I've got an enormous amount of logs but I'm not quite sure which ones
would more helpful to you: kern.log, debug, syslog, messages or all of
them? All of them gziped have a size of around 700 mb (unzipped each
one is around 2 GB). Would you be able to have a look at such big
files? (I guess by targeting some specific output)

By the way, I had also created multiple IQNs (one for each host
accessing the LUN) as per Nicholas' suggestion (if I got it right). It
can be seen below:

/> ls /
o- / .........................................................................................................................
[...]
  o- backstores
..............................................................................................................
[...]
  | o- fileio ...................................................................................................
[0 Storage Object]
  | o- iblock ...................................................................................................
[1 Storage Object]
  | | o- 24378_iscsi
..........................................................................................
[/dev/sdb activated]
  | o- pscsi ....................................................................................................
[0 Storage Object]
  | o- rd_dr ....................................................................................................
[0 Storage Object]
  | o- rd_mcp ...................................................................................................
[0 Storage Object]
  o- ib_srpt ...........................................................................................................
[0 Targets]
  o- iscsi .............................................................................................................
[4 Targets]
  | o- iqn.2003-01.org.linux-iscsi.sof-24378-iscsi-vm.x8664:sn.157f165e1e8d
................................................ [1 TPG]
  | | o- tpgt1 ...........................................................................................................
[enabled]
  | |   o- acls
............................................................................................................
[1 ACL]
  | |   | o- iqn.1998-01.com.vmware:sof-24378-srv-4e00cca4
.......................................................... [1 Mapped
LUN]
  | |   |   o- mapped_lun0
.............................................................................................
[lun0 (rw)]
  | |   o- luns
............................................................................................................
[1 LUN]
  | |   | o- lun0
..................................................................................
[iblock/24378_iscsi (/dev/sdb)]
  | |   o- portals
......................................................................................................
[1 Portal]
  | |     o- 10.23.84.24:3260
..................................................................................
[OK, iser disabled]
  | o- iqn.2003-01.org.linux-iscsi.sof-24378-iscsi-vm.x8664:sn.530795b8604a
................................................ [1 TPG]
  | | o- tpgt1 ...........................................................................................................
[enabled]
  | |   o- acls
............................................................................................................
[1 ACL]
  | |   | o- iqn.1998-01.com.vmware:sof-24379-srv-4deee8c7
.......................................................... [1 Mapped
LUN]
  | |   |   o- mapped_lun0
.............................................................................................
[lun0 (rw)]
  | |   o- luns
............................................................................................................
[1 LUN]
  | |   | o- lun0
..................................................................................
[iblock/24378_iscsi (/dev/sdb)]
  | |   o- portals
......................................................................................................
[1 Portal]
  | |     o- 10.23.84.24:3260
..................................................................................
[OK, iser disabled]
  | o- iqn.2003-01.org.linux-iscsi.sof-24378-iscsi-vm.x8664:sn.5ade2e691d69
................................................ [1 TPG]
  | | o- tpgt1 ...........................................................................................................
[enabled]
  | |   o- acls
............................................................................................................
[1 ACL]
  | |   | o- iqn.1998-01.com.vmware:sof-24380-srv-70a6f1be
.......................................................... [1 Mapped
LUN]
  | |   |   o- mapped_lun0
.............................................................................................
[lun0 (rw)]
  | |   o- luns
............................................................................................................
[1 LUN]
  | |   | o- lun0
..................................................................................
[iblock/24378_iscsi (/dev/sdb)]
  | |   o- portals
......................................................................................................
[1 Portal]
  | |     o- 10.23.84.24:3260
..................................................................................
[OK, iser disabled]
  | o- iqn.2003-01.org.linux-iscsi.sof-24378-iscsi-vm.x8664:sn.b6c7ee6c9448
................................................ [1 TPG]
  |   o- tpgt1 ...........................................................................................................
[enabled]
  |     o- acls
............................................................................................................
[1 ACL]
  |     | o- iqn.1998-01.com.vmware:sof-24381-srv-7c9208f7
.......................................................... [1 Mapped
LUN]
  |     |   o- mapped_lun0
.............................................................................................
[lun0 (rw)]
  |     o- luns
............................................................................................................
[1 LUN]
  |     | o- lun0
..................................................................................
[iblock/24378_iscsi (/dev/sdb)]
  |     o- portals
......................................................................................................
[1 Portal]
  |       o- 10.23.84.24:3260
..................................................................................
[OK, iser disabled]
  o- loopback ..........................................................................................................
[0 Targets]
  o- qla2xxx ...........................................................................................................
[0 Targets]
  o- tcm_fc ............................................................................................................
[0 Targets]

If for some reason the formatting is not displayed properly, or for
better readability check this screenshot:
http://postimg.org/image/e358ov40r/full/

Thank you in advance for your help.

Regards,
Harry
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux