Jump to content
Welcome to our new Citrix community!

Question

I can't connect two host to one iscsi virtual disk.

Can anybody help me. Thank you very much.

Attached prints and below, log SMlog

 

### SMlog ###

ov 13 12:34:11 XEN-LNX-B1 SM: [18313] Setting LVM_DEVICE to /dev/disk/by-scsid/3600140588b724f7eba44d63ab47ecf3c
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] Setting LVM_DEVICE to /dev/disk/by-scsid/3600140588b724f7eba44d63ab47ecf3c
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/sr
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] LVMCache created for VG_XenStorage-57a53a9f-28bc-5ff3-a535-42b9eb5da012
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] ['/sbin/vgs', 'VG_XenStorage-57a53a9f-28bc-5ff3-a535-42b9eb5da012']
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-57a53a9f-28bc-5ff3-a535-42b9eb5da012" not found
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]   Cannot process volume group VG_XenStorage-57a53a9f-28bc-5ff3-a535-42b9eb5da012
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] '
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] LVMCache: will initialize now
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] LVMCache: refreshing
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-57a53a9f-28bc-5ff3-a535-42b9eb5da012']
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-57a53a9f-28bc-5ff3-a535-42b9eb5da012" not found
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]   Cannot process volume group VG_XenStorage-57a53a9f-28bc-5ff3-a535-42b9eb5da012
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] '
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/sr
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] sr_attach {'sr_uuid': '57a53a9f-28bc-5ff3-a535-42b9eb5da012', 'subtask_of': 'DummyRef:|5c16f76a-497e-c530-531a-b721b250651c|SR.attach', 'args': [], 'host_ref': 'OpaqueRef:dd9d8075-c7fd-fb04-4dc3-8c29ec865550', 'session_ref': 'OpaqueRef:7d887715-0054-cdbc-74fa-e67401ecbc5f', 'device_config': {'target': '172.16.10.22', 'multihomelist': '172.16.10.22:3260,192.168.10.22:3260', 'targetIQN': 'iqn.2018-08.nfs.cittati:disk0', 'SRmaster': 'false', 'device': '/dev/disk/mpInuse/3600140588b724f7eba44d63ab47ecf3c', 'SCSIid': '3600140588b724f7eba44d63ab47ecf3c', 'port': '3260'}, 'command': 'sr_attach', 'sr_ref': 'OpaqueRef:7dc6578e-b7fe-a556-bbb0-3df501c8bacd', 'local_cache_sr': '4dcb1712-29c6-14a8-993e-e59c17217ada'}
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/sr
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/sr
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] RESET for SR 57a53a9f-28bc-5ff3-a535-42b9eb5da012 (master: False)
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/sr
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/sr
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] MPATH: multipath activate called
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] ]]
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] ['service', 'updatempppathd', 'start']
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]   pread SUCCESS
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] mpath cmd: help
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] mpath output: multipathd> help
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] multipath-tools v0.4.9 (05/33, 2016)
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] CLI commands reference:
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show paths
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show paths format $format
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show status
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show daemon
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show maps|multipaths
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show maps|multipaths status
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show maps|multipaths stats
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show maps|multipaths format $format
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show maps|multipaths topology
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show topology
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show map|multipath $map topology
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show config
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show blacklist
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show devices
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  list|show wildcards
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  add path $path
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  remove|del path $path
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  add map|multipath $map
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  remove|del map|multipath $map
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  switch|switchgroup map|multipath $map group $group
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  reconfigure
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  suspend map|multipath $map
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  resume map|multipath $map
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  resize map|multipath $map
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  reset map|multipath $map
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  reload map|multipath $map
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  disablequeueing map|multipath $map
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  restorequeueing map|multipath $map
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  disablequeueing maps|multipaths
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  restorequeueing maps|multipaths
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  reinstate path $path
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  fail path $path
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  quit|exit
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  shutdown
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  map|multipath $map getprstatus
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  map|multipath $map setprstatus
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  map|multipath $map unsetprstatus
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  forcequeueing daemon
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313]  restorequeueing daemon
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] multipathd>
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] MPATH: dm-multipath activated.
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] ]]
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] _testHost: Testing host/port: 172.16.10.22,3260
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] ]]
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] _testHost: Testing host/port: 172.16.10.22,3260
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] Logging in to [172.16.10.22:3260]
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] Keep the current replacement_timout value: 15.
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] _testHost: Testing host/port: 192.168.10.22,3260
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] Logging in to [192.168.10.22:3260]
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] Keep the current replacement_timout value: 15.
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:11 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:16 XEN-LNX-B1 SM: [18313] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313]   pread SUCCESS
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] ['4', '5']
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] PATHDICT: key 172.16.10.22:3260: {'path': '/dev/iscsi/iqn.2018-08.nfs.cittati:disk0/172.16.10.22:3260', 'ipaddr': '172.16.10.22', 'port': 3260L}
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] PATHDICT: key 192.168.10.22:3260: {'path': '/dev/iscsi/iqn.2018-08.nfs.cittati:disk0/192.168.10.22:3260', 'ipaddr': '192.168.10.22', 'port': 3260L}
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] IQN match. Incrementing sessions to 1
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] IQN match. Incrementing sessions to 2
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] Refreshing LUN 3600140588b724f7eba44d63ab47ecf3c
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313]   pread SUCCESS
Nov 13 12:34:17 XEN-LNX-B1 SM: [18313] Full rescan of HostID 0
Nov 13 12:34:19 XEN-LNX-B1 SM: [18313] Refreshing channel 0:1:0
Nov 13 12:34:19 XEN-LNX-B1 SM: [18313] Dom0 disks: ['/dev/sda']
Nov 13 12:34:19 XEN-LNX-B1 SM: [18313] ['/usr/bin/sg_luns', '-q', '/dev/disk/by-scsibus/3600508b1001c1ea805b28dcdd3e2bbbd-0:1:0:0']
Nov 13 12:34:19 XEN-LNX-B1 SM: [18313]   pread SUCCESS
Nov 13 12:34:19 XEN-LNX-B1 SM: [18313] sg_luns query returned [0]
Nov 13 12:34:19 XEN-LNX-B1 SM: [18313] Full rescan of HostID 1
Nov 13 12:34:21 XEN-LNX-B1 SM: [18313] Refreshing channel 1:0:0
Nov 13 12:34:21 XEN-LNX-B1 SM: [18313] Dom0 disks: ['/dev/sda']
Nov 13 12:34:21 XEN-LNX-B1 SM: [18313] ['/usr/bin/sg_luns', '-q', '/dev/disk/by-scsibus/200e04c2020202000-1:0:0:0']
Nov 13 12:34:21 XEN-LNX-B1 SM: [18313] FAILED in util.pread: (rc 5) stdout: '', stderr: 'Report Luns command has bad field in cdb
Nov 13 12:34:21 XEN-LNX-B1 SM: [18313] '
Nov 13 12:34:21 XEN-LNX-B1 SM: [18313] Failed to detect or query LUN on Channel 1:0:0
Nov 13 12:34:21 XEN-LNX-B1 SM: [18313] Full rescan of HostID 4
Nov 13 12:34:23 XEN-LNX-B1 SM: [18313] Refreshing channel 4:0:0
Nov 13 12:34:23 XEN-LNX-B1 SM: [18313] Dom0 disks: ['/dev/sda']
Nov 13 12:34:23 XEN-LNX-B1 SM: [18313] ['/usr/bin/sg_luns', '-q', '/dev/disk/by-scsibus/360014057a0a1d64153549adbf3addece-4:0:0:10']
Nov 13 12:34:23 XEN-LNX-B1 SM: [18313]   pread SUCCESS
Nov 13 12:34:23 XEN-LNX-B1 SM: [18313] sg_luns query returned [10]
Nov 13 12:34:23 XEN-LNX-B1 SM: [18313] ['/usr/lib/udev/scsi_id', '-g', '--device', '/dev/disk/by-scsibus/360014057a0a1d64153549adbf3addece-4:0:0:10']
Nov 13 12:34:23 XEN-LNX-B1 SM: [18313]   pread SUCCESS
Nov 13 12:34:23 XEN-LNX-B1 SM: [18313] Full rescan of HostID 5
Nov 13 12:34:25 XEN-LNX-B1 SM: [18313] Refreshing channel 5:0:0
Nov 13 12:34:25 XEN-LNX-B1 SM: [18313] Dom0 disks: ['/dev/sda']
Nov 13 12:34:25 XEN-LNX-B1 SM: [18313] ['/usr/bin/sg_luns', '-q', '/dev/disk/by-scsibus/360014057a0a1d64153549adbf3addece-5:0:0:10']
Nov 13 12:34:25 XEN-LNX-B1 SM: [18313]   pread SUCCESS
Nov 13 12:34:25 XEN-LNX-B1 SM: [18313] sg_luns query returned [10]
Nov 13 12:34:25 XEN-LNX-B1 SM: [18313] ['/usr/lib/udev/scsi_id', '-g', '--device', '/dev/disk/by-scsibus/360014057a0a1d64153549adbf3addece-5:0:0:10']
Nov 13 12:34:25 XEN-LNX-B1 SM: [18313]   pread SUCCESS
ov 13 12:35:25 XEN-LNX-B1 SM: [18313] MPATH: path disappeared [/dev/mapper/3600140588b724f7eba44d63ab47ecf3c]
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: opening lock file /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: acquired /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] ]]
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/iscsiadm/running
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] Raising exception [47, The SR is not available [opterr=Error reporting error, unknown key Device not appeared yet]]
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: released /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/sr
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] ***** generic exception: sr_attach: EXCEPTION <class 'SR.SROSError'>, The SR is not available [opterr=Error reporting error, unknown key Device not appeared yet]
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/SRCommand.py", line 110, in run
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     return self._run_locked(sr)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     rv = self._run(sr, target)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/SRCommand.py", line 330, in _run
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     return sr.attach(self.params['sr_uuid'])
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/LVMoISCSISR", line 509, in attach
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     raise xs_errors.XenError("SRUnavailable", opterr=inst)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/xs_errors.py", line 52, in __init__
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     raise SR.SROSError(errorcode, errormessage)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] ***** LVHD over iSCSI: EXCEPTION <class 'SR.SROSError'>, The SR is not available [opterr=Error reporting error, unknown key Device not appeared yet]
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/SRCommand.py", line 353, in run
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     ret = cmd.run(sr)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/SRCommand.py", line 110, in run
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     return self._run_locked(sr)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     rv = self._run(sr, target)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/SRCommand.py", line 330, in _run
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     return sr.attach(self.params['sr_uuid'])
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/LVMoISCSISR", line 509, in attach
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     raise xs_errors.XenError("SRUnavailable", opterr=inst)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]   File "/opt/xensource/sm/xs_errors.py", line 52, in __init__
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]     raise SR.SROSError(errorcode, errormessage)
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313]
Nov 13 12:35:25 XEN-LNX-B1 SM: [18313] lock: closed /var/lock/sm/57a53a9f-28bc-5ff3-a535-42b9eb5da012/sr


 

prints.pdf

Link to comment

8 answers to this question

Recommended Posts

  • 0
5 minutes ago, Tobias Kreidl said:

Você precisaria explicar como configurar isso, configurar o dispositivo de armazenamento, configurar endereços iSCSI independentemente em seus hosts XS, como você fez a descoberta iSCSI, etc. etc. Difícil de adivinhar sem mais histórico de como você definiu isso.

 

-=Tobias

 

 

 

 

Good question Tobias, I didn't do it.
I have attached in this post a file with some prints.

--Anderson--

Link to comment
  • 0

XenServer for me only works with 512 sized sectors. I had to write 

(Or more appropriately acquire from the Internet) a udev rule to 

force a 512 byte sector size for all of my block devices.

 

contents of 71-block-max-sectors.rules file:

 

ACTION=="add|change", SUBSYSTEM=="block", RUN+="/bin/sh -c ' /bin/echo 512 > sys%p/queue/max_sectors_kb'"
 

Put this file into /etc/udev/rules.d

 

--Alan--

 

 

Link to comment
  • 0

Not sure about this. I removed the wrongly configured block device. Still not able to attach the other on (unchanged an corretly working on the other server) the second server. As production is running I do not want to reboot all machines and storage as well...

 

From /var/log/SMlog:

Dec 27 19:01:29 xen04 SM: [18707] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34
Dec 27 19:01:29 xen04 SM: [18707] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34
Dec 27 19:01:29 xen04 SM: [18707] Setting targetlist: 192.168.16.16
Dec 27 19:01:29 xen04 SM: [18707] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34
Dec 27 19:01:29 xen04 SM: [18707] Setting targetlist: 192.168.16.16
Dec 27 19:01:29 xen04 SM: [18707] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34
Dec 27 19:01:29 xen04 SM: [18707] Setting targetlist: 192.168.16.16
Dec 27 19:01:29 xen04 SM: [18707] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34
Dec 27 19:01:29 xen04 SM: [18707] Setting targetlist: 192.168.16.16
Dec 27 19:01:29 xen04 SM: [18707] Setting LVM_DEVICE to /dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34
Dec 27 19:01:29 xen04 SM: [18707] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Dec 27 19:01:29 xen04 SM: [18707]   pread SUCCESS
Dec 27 19:01:29 xen04 SM: [18707] []
Dec 27 19:01:29 xen04 SM: [18707] PATHDICT: key 192.168.15.16:3260: {'path': '/dev/iscsi/iqn.2005-10.org.freenas.ctl:target0/192.168.15.16:3260', 'ipaddr': '192.168.15.16', 'port': 3260L}
Dec 27 19:01:29 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:01:29 xen04 SM: [18707] ]]
Dec 27 19:01:29 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:01:29 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] path /dev/iscsi/iqn.2005-10.org.freenas.ctl:target0/192.168.15.16:3260
Dec 27 19:01:29 xen04 SM: [18707] iscsci data: targetIQN iqn.2005-10.org.freenas.ctl:target0, portal 192.168.15.16
Dec 27 19:01:29 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:01:29 xen04 SM: [18707] ]]
Dec 27 19:01:29 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:01:29 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:29 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:30 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:30 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] /dev/disk/by-id/scsi-36589cfc000000bbc14eae6c9d3073a34 not found
Dec 27 19:01:46 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Dec 27 19:01:46 xen04 SM: [18707]   pread SUCCESS
Dec 27 19:01:46 xen04 SM: [18707] []
Dec 27 19:01:46 xen04 SM: [18707] PATHDICT: key 192.168.17.16:3260: {'path': '/dev/iscsi/iqn.2005-10.org.freenas.ctl:target0/192.168.17.16:3260', 'ipaddr': '192.168.17.16', 'port': 3260L}
Dec 27 19:01:46 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:01:46 xen04 SM: [18707] ]]
Dec 27 19:01:46 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:01:46 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] path /dev/iscsi/iqn.2005-10.org.freenas.ctl:target0/192.168.17.16:3260
Dec 27 19:01:46 xen04 SM: [18707] iscsci data: targetIQN iqn.2005-10.org.freenas.ctl:target0, portal 192.168.17.16
Dec 27 19:01:46 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:01:46 xen04 SM: [18707] ]]
Dec 27 19:01:46 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:01:46 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:01:46 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:02 xen04 SM: [18707] /dev/disk/by-id/scsi-36589cfc000000bbc14eae6c9d3073a34 not found
Dec 27 19:02:02 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:02 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Dec 27 19:02:03 xen04 SM: [18707]   pread SUCCESS
Dec 27 19:02:03 xen04 SM: [18707] []
Dec 27 19:02:03 xen04 SM: [18707] PATHDICT: key 192.168.16.16:3260: {'path': '/dev/iscsi/iqn.2005-10.org.freenas.ctl:target0/192.168.16.16:3260', 'ipaddr': '192.168.16.16', 'port': 3260L}
Dec 27 19:02:03 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:03 xen04 SM: [18707] ]]
Dec 27 19:02:03 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:03 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] path /dev/iscsi/iqn.2005-10.org.freenas.ctl:target0/192.168.16.16:3260
Dec 27 19:02:03 xen04 SM: [18707] iscsci data: targetIQN iqn.2005-10.org.freenas.ctl:target0, portal 192.168.16.16
Dec 27 19:02:03 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:03 xen04 SM: [18707] ]]
Dec 27 19:02:03 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:03 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:03 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] /dev/disk/by-id/scsi-36589cfc000000bbc14eae6c9d3073a34 not found
Dec 27 19:02:19 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Dec 27 19:02:19 xen04 SM: [18707]   pread SUCCESS
Dec 27 19:02:19 xen04 SM: [18707] []
Dec 27 19:02:19 xen04 SM: [18707] PATHDICT: key 192.168.18.16:3260: {'path': '/dev/iscsi/iqn.2005-10.org.freenas.ctl:target0/192.168.18.16:3260', 'ipaddr': '192.168.18.16', 'port': 3260L}
Dec 27 19:02:19 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:19 xen04 SM: [18707] ]]
Dec 27 19:02:19 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:19 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] path /dev/iscsi/iqn.2005-10.org.freenas.ctl:target0/192.168.18.16:3260
Dec 27 19:02:19 xen04 SM: [18707] iscsci data: targetIQN iqn.2005-10.org.freenas.ctl:target0, portal 192.168.18.16
Dec 27 19:02:19 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:19 xen04 SM: [18707] ]]
Dec 27 19:02:19 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:19 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:19 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:20 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:20 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] /dev/disk/by-id/scsi-36589cfc000000bbc14eae6c9d3073a34 not found
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/sr
Dec 27 19:02:36 xen04 SM: [18707] LVMCache created for VG_XenStorage-1b0c928d-e961-aa66-f3d6-3cee8a70ec5e
Dec 27 19:02:36 xen04 SM: [18707] ['/sbin/vgs', 'VG_XenStorage-1b0c928d-e961-aa66-f3d6-3cee8a70ec5e']
Dec 27 19:02:36 xen04 SM: [18707] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-1b0c928d-e961-aa66-f3d6-3cee8a70ec5e" not found
Dec 27 19:02:36 xen04 SM: [18707]   Cannot process volume group VG_XenStorage-1b0c928d-e961-aa66-f3d6-3cee8a70ec5e
Dec 27 19:02:36 xen04 SM: [18707] '
Dec 27 19:02:36 xen04 SM: [18707] LVMCache: will initialize now
Dec 27 19:02:36 xen04 SM: [18707] LVMCache: refreshing
Dec 27 19:02:36 xen04 SM: [18707] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-1b0c928d-e961-aa66-f3d6-3cee8a70ec5e']
Dec 27 19:02:36 xen04 SM: [18707] FAILED in util.pread: (rc 5) stdout: '', stderr: '  Volume group "VG_XenStorage-1b0c928d-e961-aa66-f3d6-3cee8a70ec5e" not found
Dec 27 19:02:36 xen04 SM: [18707]   Cannot process volume group VG_XenStorage-1b0c928d-e961-aa66-f3d6-3cee8a70ec5e
Dec 27 19:02:36 xen04 SM: [18707] '
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/sr
Dec 27 19:02:36 xen04 SM: [18707] sr_attach {'sr_uuid': '1b0c928d-e961-aa66-f3d6-3cee8a70ec5e', 'subtask_of': 'DummyRef:|0f36cd9e-e420-2b09-1c04-b485d759cd12|SR.attach', 'args': [], 'host_ref': 'OpaqueRef:fcdc9927-2fdc-7c2d-9d3a-9b1095403988', 'session_ref': 'OpaqueRef:0f9def23-57b1-6803-9c39-84cd0cd41457', 'device_config': {'multiSession': '192.168.15.16,3260,iqn.2005-10.org.freenas.ctl:target0|192.168.17.16,3260,iqn.2005-10.org.freenas.ctl:target0|192.168.16.16,3260,iqn.2005-10.org.freenas.ctl:target0|192.168.18.16,3260,iqn.2005-10.org.freenas.ctl:target0|', 'target': '192.168.16.16', 'multihomelist': '192.168.18.16:3260,192.168.17.16:3260,192.168.16.16:3260,192.168.15.16:3260', 'targetIQN': '*', 'SRmaster': 'false', 'device': '/dev/disk/by-id/scsi-36589cfc000000bbc14eae6c9d3073a34', 'SCSIid': '36589cfc000000bbc14eae6c9d3073a34', 'port': '3260'}, 'command': 'sr_attach', 'sr_ref': 'OpaqueRef:dfcc718a-41ea-4ce5-5c1a-5f4cd866a02c'}
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/running
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/sr
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/sr
Dec 27 19:02:36 xen04 SM: [18707] RESET for SR 1b0c928d-e961-aa66-f3d6-3cee8a70ec5e (master: False)
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/sr
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/running
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/running
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/sr
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:36 xen04 SM: [18707] ]]
Dec 27 19:02:36 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] _testHost: Testing host/port: 192.168.15.16,3260
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:36 xen04 SM: [18707] ]]
Dec 27 19:02:36 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] _testHost: Testing host/port: 192.168.15.16,3260
Dec 27 19:02:36 xen04 SM: [18707] Logging in to [192.168.15.16:3260]
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] Keep the current replacement_timout value: 144.
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] _testHost: Testing host/port: 192.168.15.16,3260
Dec 27 19:02:36 xen04 SM: [18707] Logging in to [192.168.15.16:3260]
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] Keep the current replacement_timout value: 144.
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:36 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:41 xen04 SM: [18707] ['ls', '/sys/class/scsi_host', '-1', '--color=never']
Dec 27 19:02:41 xen04 SM: [18707]   pread SUCCESS
Dec 27 19:02:41 xen04 SM: [18707] ['17', '18']
Dec 27 19:02:41 xen04 SM: [18707] PATHDICT: key 192.168.15.16:3260: {'path': '/dev/iscsi/iqn.2005-10.org.freenas.ctl:target0/192.168.15.16:3260', 'ipaddr': '192.168.15.16', 'port': 3260L}
Dec 27 19:02:41 xen04 SM: [18707] IQN match. Incrementing sessions to 1
Dec 27 19:02:41 xen04 SM: [18707] IQN match. Incrementing sessions to 2
Dec 27 19:02:42 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:42 xen04 SM: [18707] ]]
Dec 27 19:02:42 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:42 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:42 xen04 SM: [18707] ]]
Dec 27 19:02:42 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:42 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:42 xen04 SM: [18707] ]]
Dec 27 19:02:42 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:42 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: opening lock file /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: acquired /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] lock: released /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] Raising exception [202, General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.
Dec 27 19:02:42 xen04 SM: [18707] ]]
Dec 27 19:02:42 xen04 SM: [18707] ['iscsiadm', '-m', 'session'] failed with (u'General backend error [opterr=rc: 21, stdout: , stderr: iscsiadm: No active sessions.\n]',)
Dec 27 19:02:42 xen04 SM: [18707] lock: closed /var/lock/sm/iscsiadm/running
Dec 27 19:02:42 xen04 SM: [18707] Raising exception [47, The SR is not available [opterr=[Errno 2] No such file or directory: '/dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34']]
Dec 27 19:02:42 xen04 SM: [18707] lock: released /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/sr
Dec 27 19:02:42 xen04 SM: [18707] ***** generic exception: sr_attach: EXCEPTION <class 'SR.SROSError'>, The SR is not available [opterr=[Errno 2] No such file or directory: '/dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34']
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/SRCommand.py", line 110, in run
Dec 27 19:02:42 xen04 SM: [18707]     return self._run_locked(sr)
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Dec 27 19:02:42 xen04 SM: [18707]     rv = self._run(sr, target)
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/SRCommand.py", line 330, in _run
Dec 27 19:02:42 xen04 SM: [18707]     return sr.attach(self.params['sr_uuid'])
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/LVMoISCSISR", line 509, in attach
Dec 27 19:02:42 xen04 SM: [18707]     raise xs_errors.XenError("SRUnavailable", opterr=inst)
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/xs_errors.py", line 52, in __init__
Dec 27 19:02:42 xen04 SM: [18707]     raise SR.SROSError(errorcode, errormessage)
Dec 27 19:02:42 xen04 SM: [18707]
Dec 27 19:02:42 xen04 SM: [18707] ***** LVHD over iSCSI: EXCEPTION <class 'SR.SROSError'>, The SR is not available [opterr=[Errno 2] No such file or directory: '/dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34']
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/SRCommand.py", line 353, in run
Dec 27 19:02:42 xen04 SM: [18707]     ret = cmd.run(sr)
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/SRCommand.py", line 110, in run
Dec 27 19:02:42 xen04 SM: [18707]     return self._run_locked(sr)
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Dec 27 19:02:42 xen04 SM: [18707]     rv = self._run(sr, target)
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/SRCommand.py", line 330, in _run
Dec 27 19:02:42 xen04 SM: [18707]     return sr.attach(self.params['sr_uuid'])
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/LVMoISCSISR", line 509, in attach
Dec 27 19:02:42 xen04 SM: [18707]     raise xs_errors.XenError("SRUnavailable", opterr=inst)
Dec 27 19:02:42 xen04 SM: [18707]   File "/opt/xensource/sm/xs_errors.py", line 52, in __init__
Dec 27 19:02:42 xen04 SM: [18707]     raise SR.SROSError(errorcode, errormessage)
Dec 27 19:02:42 xen04 SM: [18707]
Dec 27 19:02:42 xen04 SM: [18707] lock: closed /var/lock/sm/1b0c928d-e961-aa66-f3d6-3cee8a70ec5e/sr

  
[root@xen04 dev]# ls -l /dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34
ls: cannot access /dev/disk/by-scsid/36589cfc000000bbc14eae6c9d3073a34: No such file or directory

 

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...