Jump to content
Welcome to our new Citrix community!
  • 0

Lost all connections to my ISCSI SR - Can't find an answer to get the servers back up, help please


Ken Curtis1709160896

Question

I have hunted and tried posts I have found but can't seem to fix this and need some help.

We have a pool of 2 xenservers 6.5

The pool has 3 different ISCSI SR's from a single (free)NAS server to run a few different hosts.

After a power outage some of the hosts where acting up so I tried to restart one. It would not restart saying VDI not available.

I thought the easy fix would be to power down the servers, reboot the NAS then bring the servers back up. Well things went from bad to worse. Now I can not connect at all to the SRs. Xencenter says "repairing SR iSCSI UGnas2...The storage repository is not available"

The NAS log shows

Apr 20 14:34:07 ugnas2 ctld[15486]: 66.xx.xxx.xxx: read: connection lost
Apr 20 14:34:07 ugnas2 ctld[1951]: child process 15486 terminated with exit status 1

I tried removing one small SR and adding it back but it wants to format the drive and that will delete the host I have on that one. Can any kind soul help me out here? I have to get these back up and running. One is our company email server

Link to comment

8 answers to this question

Recommended Posts

  • 0

Here is the SMlogwhen I try to attack  (I have masked the IP number)

 

 


Apr 20 15:18:59 UG-Zen01 SM: [19698] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc0000005d2c26d4cd2c92764d6
Apr 20 15:18:59 UG-Zen01 SM: [19698] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc0000005d2c26d4cd2c92764d6
Apr 20 15:18:59 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/iscsiadm/running
Apr 20 15:18:59 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/iscsiadm/running
Apr 20 15:18:59 UG-Zen01 SM: [19698] lock: released /var/lock/sm/iscsiadm/running
Apr 20 15:18:59 UG-Zen01 SM: [19698] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Apr 20 15:18:59 UG-Zen01 SM: [19698] ]]
Apr 20 15:18:59 UG-Zen01 SM: [19698] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Apr 20 15:18:59 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/iscsiadm/running
Apr 20 15:18:59 UG-Zen01 SM: [19698] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Apr 20 15:18:59 UG-Zen01 SM: [19698]   pread SUCCESS
Apr 20 15:18:59 UG-Zen01 SM: [19698] []
Apr 20 15:18:59 UG-Zen01 SM: [19698] PATHDICT: key {NAS IP}:3260: {'path': '/dev/iscsi/iqn.2005-10.org.protel.ctl:ugxenpool2/{NAS IP}:3260', 'ipaddr': '{NAS IP}', 'port': 3260L}
Apr 20 15:18:59 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:18:59 UG-Zen01 SM: [19698] LVMCache created for VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61
Apr 20 15:18:59 UG-Zen01 SM: [19698] ['/usr/sbin/vgs', 'VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61']
Apr 20 15:18:59 UG-Zen01 SM: [19698] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61" not found
Apr 20 15:18:59 UG-Zen01 SM: [19698] '
Apr 20 15:18:59 UG-Zen01 SM: [19698] LVMCache: will initialize now
Apr 20 15:18:59 UG-Zen01 SM: [19698] LVMCache: refreshing
Apr 20 15:18:59 UG-Zen01 SM: [19698] ['/usr/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61']
Apr 20 15:18:59 UG-Zen01 SM: [19698] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61" not found
Apr 20 15:18:59 UG-Zen01 SM: [19698]   Skipping volume group VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61
Apr 20 15:18:59 UG-Zen01 SM: [19698] '
Apr 20 15:18:59 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:18:59 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:18:59 UG-Zen01 SM: [19698] LVMCache created for VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61
Apr 20 15:18:59 UG-Zen01 SM: [19698] ['/usr/sbin/vgs', 'VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61']
Apr 20 15:19:00 UG-Zen01 SM: [19698] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61" not found
Apr 20 15:19:00 UG-Zen01 SM: [19698] '
Apr 20 15:19:00 UG-Zen01 SM: [19698] LVMCache: will initialize now
Apr 20 15:19:00 UG-Zen01 SM: [19698] LVMCache: refreshing
Apr 20 15:19:00 UG-Zen01 SM: [19698] ['/usr/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61']
Apr 20 15:19:00 UG-Zen01 SM: [19698] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61" not found
Apr 20 15:19:00 UG-Zen01 SM: [19698]   Skipping volume group VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61
Apr 20 15:19:00 UG-Zen01 SM: [19698] '
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:19:00 UG-Zen01 SM: [19698] sr_attach {'sr_uuid': '768e87f7-defc-4187-78d5-a777a7fcac61', 'subtask_of': 'DummyRef:|951189cf-9136-945d-4d37-0beecb5a15a0|SR.attach', 'args': [], 'host_ref': 'OpaqueRef:26501322-04bd-57a3-4042-5540e3b6f76a', 'session_ref': 'OpaqueRef:6286e3dc-7a31-15b4-c19c-f323399595a6', 'device_config': {'target': '{NAS IP}', 'targetIQN': 'iqn.2005-10.org.protel.ctl:ugxenpool2', 'SRmaster': 'true', 'device': '/dev/disk/by-id/scsi-36589cfc0000005d2c26d4cd2c92764d6', 'SCSIid': '36589cfc0000005d2c26d4cd2c92764d6', 'port': '3260'}, 'command': 'sr_attach', 'sr_ref': 'OpaqueRef:7867e799-926c-99bd-aa4e-ddfabe6be7aa', 'local_cache_sr': '63cbfc42-d03e-31bc-bfb5-6f82740f67a5'}
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:19:00 UG-Zen01 SM: [19698] RESET for SR 768e87f7-defc-4187-78d5-a777a7fcac61 (master: True)
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: released /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: released /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] set_dirty 'OpaqueRef:7867e799-926c-99bd-aa4e-ddfabe6be7aa' failed (flag already set?)
Apr 20 15:19:00 UG-Zen01 SM: [19698] _testHost: Testing host/port: {NAS IP},3260
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: released /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Apr 20 15:19:00 UG-Zen01 SM: [19698] ]]
Apr 20 15:19:00 UG-Zen01 SM: [19698] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: released /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] _testHost: Testing host/port: {NAS IP},3260
Apr 20 15:19:00 UG-Zen01 SM: [19698] Logging in to [{NAS IP}:3260]
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: released /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] Keep the current replacement_timout value: 144.
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: released /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: released /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/iscsiadm/running
Apr 20 15:19:00 UG-Zen01 SM: [19888] ['sginfo', '-s', '/dev/.tmp-8-48']
Apr 20 15:19:00 UG-Zen01 SM: [19892] ['sginfo', '-s', '/dev/.tmp-8-64']
Apr 20 15:19:00 UG-Zen01 SM: [19898] ['sginfo', '-s', '/dev/.tmp-8-80']
Apr 20 15:19:00 UG-Zen01 SM: [19888]   pread SUCCESS
Apr 20 15:19:00 UG-Zen01 SM: [19892]   pread SUCCESS
Apr 20 15:19:00 UG-Zen01 SM: [19898]   pread SUCCESS
Apr 20 15:19:05 UG-Zen01 SM: [19698] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Apr 20 15:19:05 UG-Zen01 SM: [19698]   pread SUCCESS
Apr 20 15:19:05 UG-Zen01 SM: [19698] ['31']
Apr 20 15:19:05 UG-Zen01 SM: [19698] PATHDICT: key {NAS IP}:3260: {'path': '/dev/iscsi/iqn.2005-10.org.protel.ctl:ugxenpool2/{NAS IP}:3260', 'ipaddr': '{NAS IP}', 'port': 3260L}
Apr 20 15:19:05 UG-Zen01 SM: [19698] IQN match. Incrementing sessions to 1
Apr 20 15:19:05 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:19:05 UG-Zen01 SM: [19698] lock: released /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:19:05 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:19:05 UG-Zen01 SM: [19698] LVMCache created for VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61
Apr 20 15:19:05 UG-Zen01 SM: [19698] ['/usr/sbin/vgs', 'VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61']
Apr 20 15:19:05 UG-Zen01 SM: [19698] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61" not found
Apr 20 15:19:05 UG-Zen01 SM: [19698] '
Apr 20 15:19:05 UG-Zen01 SM: [19698] LVMCache: will initialize now
Apr 20 15:19:05 UG-Zen01 SM: [19698] LVMCache: refreshing
Apr 20 15:19:05 UG-Zen01 SM: [19698] ['/usr/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61']
Apr 20 15:19:06 UG-Zen01 SM: [19698] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61" not found
Apr 20 15:19:06 UG-Zen01 SM: [19698]   Skipping volume group VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61
Apr 20 15:19:06 UG-Zen01 SM: [19698] '
Apr 20 15:19:06 UG-Zen01 SM: [19698] LVHDSR.attach for 768e87f7-defc-4187-78d5-a777a7fcac61
Apr 20 15:19:06 UG-Zen01 SM: [19698] ['/usr/sbin/vgs', 'VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61']
Apr 20 15:19:06 UG-Zen01 SM: [19698] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61" not found
Apr 20 15:19:06 UG-Zen01 SM: [19698] '
Apr 20 15:19:06 UG-Zen01 SM: [19698] Raising exception [47, The SR is not available [opterr=no such volume group: VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61]]
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: released /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: released /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: opening lock file /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: acquired /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: released /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Apr 20 15:19:06 UG-Zen01 SM: [19698] ]]
Apr 20 15:19:06 UG-Zen01 SM: [19698] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/iscsiadm/running
Apr 20 15:19:06 UG-Zen01 SM: [19698] Raising exception [47, The SR is not available [opterr=The SR is not available [opterr=no such volume group: VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61]]]
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: released /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr
Apr 20 15:19:06 UG-Zen01 SM: [19698] ***** generic exception: sr_attach: EXCEPTION SR.SROSError, The SR is not available [opterr=The SR is not available [opterr=no such volume group: VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61]]
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/SRCommand.py", line 110, in run
Apr 20 15:19:06 UG-Zen01 SM: [19698]     return self._run_locked(sr)
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Apr 20 15:19:06 UG-Zen01 SM: [19698]     rv = self._run(sr, target)
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/SRCommand.py", line 322, in _run
Apr 20 15:19:06 UG-Zen01 SM: [19698]     return sr.attach(self.params['sr_uuid'])
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/LVMoISCSISR", line 501, in attach
Apr 20 15:19:06 UG-Zen01 SM: [19698]     raise xs_errors.XenError("SRUnavailable", opterr=inst)
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/xs_errors.py", line 52, in __init__
Apr 20 15:19:06 UG-Zen01 SM: [19698]     raise SR.SROSError(errorcode, errormessage)
Apr 20 15:19:06 UG-Zen01 SM: [19698]
Apr 20 15:19:06 UG-Zen01 SM: [19698] ***** LVHD over iSCSI: EXCEPTION SR.SROSError, The SR is not available [opterr=The SR is not available [opterr=no such volume group: VG_XenStorage-768e87f7-defc-4187-78d5-a777a7fcac61]]
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/SRCommand.py", line 345, in run
Apr 20 15:19:06 UG-Zen01 SM: [19698]     ret = cmd.run(sr)
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/SRCommand.py", line 110, in run
Apr 20 15:19:06 UG-Zen01 SM: [19698]     return self._run_locked(sr)
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Apr 20 15:19:06 UG-Zen01 SM: [19698]     rv = self._run(sr, target)
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/SRCommand.py", line 322, in _run
Apr 20 15:19:06 UG-Zen01 SM: [19698]     return sr.attach(self.params['sr_uuid'])
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/LVMoISCSISR", line 501, in attach
Apr 20 15:19:06 UG-Zen01 SM: [19698]     raise xs_errors.XenError("SRUnavailable", opterr=inst)
Apr 20 15:19:06 UG-Zen01 SM: [19698]   File "/opt/xensource/sm/xs_errors.py", line 52, in __init__
Apr 20 15:19:06 UG-Zen01 SM: [19698]     raise SR.SROSError(errorcode, errormessage)
Apr 20 15:19:06 UG-Zen01 SM: [19698]
Apr 20 15:19:06 UG-Zen01 SM: [19698] lock: closed /var/lock/sm/768e87f7-defc-4187-78d5-a777a7fcac61/sr

Link to comment
  • 0

More info if it helps

iscsadm-m discovery -y st -p [IP] does show the target

 

xe sr-probe type=lvmoiscsi device-config:target=<IP> \device-config:targetIQN=<My IQN>

Shows my 4 LUNs

 

sr-list shows the target


uuid ( RO)                : 0b94e726-9890-c0fd-0dc7-22526f9d06c2
          name-label ( RW): iSCSI UGnas2
    name-description ( RW): iSCSI SR [<IP> (iqn.2005-10.org.protel.ctl:ugxenpool2; LUN 0: 0025903cee9a00: 3072 GB (FreeNAS))]
                host ( RO): <shared>
                type ( RO): lvmoiscsi
        content-type ( RO):

 

xe pbd-list shows it, but not attached

uuid ( RO)                  : 00913462-eb7f-105c-8018-0a410f58a685
             host-uuid ( RO): dd5344f0-1f25-4931-9bbb-c8e0ac285a4e
               sr-uuid ( RO): 0b94e726-9890-c0fd-0dc7-22526f9d06c2
         device-config (MRO): targetIQN: iqn.2005-10.org.protel.ctl:ugxenpool2; SCSIid: 36589cfc000000726026125b09a0c8527; target: <IP>; port: 3260
    currently-attached ( RO): false

 

iscsiadm -m node -L all for some reason shows on old iqn we do not use and the right one, but says successful to the real one

Logging in to [iface: default, target: iqn.2005-10.org.protel.ctl:ugxenpool2, portal: 6<IP>,3260] (multiple)
Logging in to [iface: default, target: iqn.2011-03.org.protel.istgt:target01, portal: <Unused IP>,3260] (multiple)
Login to [iface: default, target: iqn.2005-10.org.protel.ctl:ugxenpool2, portal: <IP>,3260] successful.
iscsiadm: Could not login to [iface: default, target: iqn.2011-03.org.protel.istgt:target01, portal: <Unused IP>,3260].
iscsiadm: initiator reported error (8 - connection timed out)
iscsiadm: Could not log into all portals

 

iscsiadm -m session
tcp: [14] <IP>:3260,1 iqn.2005-10.org.protel.ctl:ugxenpool2 (non-flash)

 

ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root  9 Apr 21 10:18 scsi-36589cfc0000000c9e86e233fd6030e8e -> ../../sdf
lrwxrwxrwx 1 root root  9 Apr 21 10:18 scsi-36589cfc00000024fd2cc60d46699dd27 -> ../../sdg
lrwxrwxrwx 1 root root  9 Apr 21 10:18 scsi-36589cfc0000005d2c26d4cd2c92764d6 -> ../../sde
lrwxrwxrwx 1 root root  9 Apr 21 10:18 scsi-36589cfc000000726026125b09a0c8527 -> ../../sdd
lrwxrwxrwx 1 root root  9 Apr 20 21:17 scsi-SATA_Hitachi_HUA7220B9GMJ32F -> ../../sdb
lrwxrwxrwx 1 root root  9 Apr 20 21:17 scsi-SATA_Hitachi_HUA7220BFGYB0WF -> ../../sdc
lrwxrwxrwx 1 root root  9 Apr 20 21:17 usb-SanDisk_Ultra_Fit_4C530001100407116350 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 20 21:17 usb-SanDisk_Ultra_Fit_4C530001100407116350-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 20 21:17 usb-SanDisk_Ultra_Fit_4C530001100407116350-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 20 21:17 usb-SanDisk_Ultra_Fit_4C530001100407116350-part3 -> ../../sda3

 

fdisk -l says all of the drives do not contain a valid partition table. I assume they are GPT?

 

/etc/iscsi/send_targets folder I read about done not exist on the server.

 

service open-iscsi status answers with unrecognized service, but service iscsi status answers with

iSCSI Transport Class version 2.0-870
version 6.2.0.873-21
Target: iqn.2005-10.org.protel.ctl:ugxenpool2 (non-flash)
        Current Portal: <IP>:3260,1
        Persistent Portal: <IP>:3260,1
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2016-08.com.example:1b25b0bb
                Iface IPaddress: <IP>
                Iface HWaddress: <empty>
                Iface Netdev: <empty>
                SID: 14
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 144
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 131072
                FirstBurstLength: 131072
                MaxBurstLength: 16776192
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 18 State: running
                scsi18 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdd          State: running
                scsi18 Channel 00 Id 0 Lun: 2
                        Attached scsi disk sde          State: running
                scsi18 Channel 00 Id 0 Lun: 3
                        Attached scsi disk sdf          State: running
                scsi18 Channel 00 Id 0 Lun: 4
                        Attached scsi disk sdg          State: running

 

Here is hoping someone can lend a hand

Link to comment
  • 0

Those logs don't look well for you. Having volume groups not found sounds like you have at least some corruption 

with your storage. The fact that you connected to your FreeNAS server in your test and it prompted to create a new

SR tells me you are connecting to the LUN's properly and communicating, its just that the LUN's are empty and 

XenServer can't see data on it.  By removing that test SR you do mean detach/forget correct? If you did a destroy 

then the data is lost. Given all of your issues you may have to restore from backup. 

 

--Alan--

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...