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

[Xen-API] Problem with storage


  • To: xen-api@xxxxxxxxxxxxx
  • From: Alejandro Flores <alejandrorflores@xxxxxxxxx>
  • Date: Fri, 1 Feb 2013 17:52:26 -0300
  • Delivery-date: Fri, 01 Feb 2013 20:52:45 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hi There! 

I have 2 IBM servers, 3550 M4, both with Emulex controller with 2 ports, both ports connected to the storage.
I'm trying to create a repository using hardware HBA (emulex controller), but XCP always returns 'time out'.

I went to the command line to try diagnose the problem, and found no clues. Here's what I did and the odd things I found:

# fdisk -l
--
Disk /dev/sda: 248.9 GB, 248999051264 bytes
256 heads, 63 sectors/track, 30154 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       30155   243163135+  ee  EFI GPT

Disk /dev/sdc: 5395.5 GB, 5395552665600 bytes
255 heads, 63 sectors/track, 655971 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdc doesn't contain a valid partition table
--

It takes some time to show /dev/sdc and I found it very strange to be C instead of B, then I run:

# dmesg
--
[ 2309.403000] Buffer I/O error on device sdb, logical block 0
[ 2309.403012] Buffer I/O error on device sdb, logical block 1
[ 2309.403020] Buffer I/O error on device sdb, logical block 2
[ 2309.403027] Buffer I/O error on device sdb, logical block 3
[ 2309.919566] sd 7:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2309.919574] sd 7:0:0:0: [sdb] Sense Key : Illegal Request [current] 
[ 2309.919580] sd 7:0:0:0: [sdb] <<vendor>> ASC=0x94 ASCQ=0x1ASC=0x94 ASCQ=0x1
[ 2309.919587] sd 7:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[ 2309.919600] end_request: I/O error, dev sdb, sector 0
[ 2309.919612] Buffer I/O error on device sdb, logical block 0
[ 2310.426825] sd 7:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2310.426833] sd 7:0:0:0: [sdb] Sense Key : Illegal Request [current] 
[ 2310.426839] sd 7:0:0:0: [sdb] <<vendor>> ASC=0x94 ASCQ=0x1ASC=0x94 ASCQ=0x1
[ 2310.426847] sd 7:0:0:0: [sdb] CDB: Read(16): 88 00 00 00 00 02 74 1f ff f8 00 00 00 08 00 00
[ 2310.426865] end_request: I/O error, dev sdb, sector 10538188792
--

The log is full of these entries.

Then I ran:
# xe sr-probe type=lvmohba

Error code: SR_BACKEND_FAILURE_107
Error parameters: , The SCSIid parameter is missing or incorrect, <?xml version="1.0" ?>
<Devlist>
<BlockDevice>
<path>
/dev/sdb [sdc]
</path>
<numpaths>
2
</numpaths>
<SCSIid>
360080e50002e9ce6000002da51090098
</SCSIid>
<vendor>
IBM
</vendor>
<serial>
SV21303066
</serial>
<size>
5395552665600
</size>
<adapter>
7
</adapter>
<channel>
0
</channel>
<id>
0
</id>
<lun>
0
</lun>
<hba>
lpfc
</hba>
</BlockDevice>
<Adapter>
<host>
host7
</host>
<name>
lpfc
</name>
<manufacturer>
Emulex Device Driver for Fibre Channel HBAs
</manufacturer>
<id>
7
</id>
</Adapter>
<Adapter>
<host>
host8
</host>
<name>
lpfc
</name>
<manufacturer>
Emulex Device Driver for Fibre Channel HBAs
</manufacturer>
<id>
8
</id>
</Adapter>
<Adapter>
<host>
host0
</host>
<name>
megaraid_sas
</name>
<manufacturer>
MegaRAID driver for SAS based RAID controllers
</manufacturer>
<id>
0
</id>
</Adapter>
</Devlist>
--

After this command, I looked the /var/log/SMlog:

[7085] 2013-02-01 14:53:07.924149 Full rescan of HostID 0
[7085] 2013-02-01 14:53:09.966716 Refreshing channel 0:2:0
[7085] 2013-02-01 14:53:09.967929 Dom0 disks: ['/dev/sda']
[7085] 2013-02-01 14:53:09.968058 ['/usr/bin/sg_luns', '-q', '/dev/disk/by-scsibus/3600605b004d0e91018945bc52a04133a-0:2:0:0']
[7085] 2013-02-01 14:53:09.983033  pread SUCCESS
[7085] 2013-02-01 14:53:09.983243 sg_luns query returned [0]
[7085] 2013-02-01 14:53:09.990114 Full rescan of HostID 7
[7085] 2013-02-01 14:53:11.996757 Refreshing channel 7:0:0
[7085] 2013-02-01 14:53:11.997708 Dom0 disks: ['/dev/sda']
[7085] 2013-02-01 14:53:11.997837 ['/usr/bin/sg_luns', '-q', '/dev/disk/by-scsibus/360080e50002e9ce6000002da51090098-7:0:0:0']
[7085] 2013-02-01 14:53:12.014975  pread SUCCESS
[7085] 2013-02-01 14:53:12.015190 sg_luns query returned [0, 30]
[7085] 2013-02-01 14:53:12.016864 ['scsi_id', '-g', '-s', '/block/sdb']
[7085] 2013-02-01 14:53:12.031669  pread SUCCESS
[7085] 2013-02-01 14:53:12.032473 Probing new HBTL: ['', '7', '0', '0', '30']
[7085] 2013-02-01 14:53:12.032597 scsi add-single-device 7 0 0 30
[7085] 2013-02-01 14:53:17.078591 Full rescan of HostID 8
[7085] 2013-02-01 14:53:19.086766 Refreshing channel 8:0:0
[7085] 2013-02-01 14:53:19.087724 Dom0 disks: ['/dev/sda']
[7085] 2013-02-01 14:53:19.087855 ['/usr/bin/sg_luns', '-q', '/dev/disk/by-scsibus/360080e50002e9ce6000002da51090098-8:0:0:0']
[7085] 2013-02-01 14:53:19.104910  pread SUCCESS
[7085] 2013-02-01 14:53:19.105138 sg_luns query returned [0, 30]
[7085] 2013-02-01 14:53:19.106187 ['scsi_id', '-g', '-s', '/block/sdc']
[7085] 2013-02-01 14:53:19.121097  pread SUCCESS
[7085] 2013-02-01 14:53:19.121386 Probing new HBTL: ['', '8', '0', '0', '30']
[7085] 2013-02-01 14:53:19.121508 scsi add-single-device 8 0 0 30
[7085] 2013-02-01 14:53:24.170268 ['scsi_id', '-g', '-s', '/block/sda']
[7085] 2013-02-01 14:53:24.185246  pread SUCCESS
[7085] 2013-02-01 14:53:24.196570 ['uuidgen', '-r']
[7085] 2013-02-01 14:53:24.211039  pread SUCCESS
[7085] 2013-02-01 14:53:24.211465 ['scsi_id', '-g', '-s', '/block/sda']
[7085] 2013-02-01 14:53:24.225805  pread SUCCESS
[7085] 2013-02-01 14:53:24.226041 ['md5sum']
[7085] 2013-02-01 14:53:24.240195  pread3 SUCCESS
[7085] 2013-02-01 14:53:24.240400 ['sginfo', '-M', '/dev/sda']
[7085] 2013-02-01 14:53:24.254693  pread SUCCESS
[7085] 2013-02-01 14:53:24.255458 ['sginfo', '-s', '/dev/sda']
[7085] 2013-02-01 14:53:24.270507  pread SUCCESS
[7085] 2013-02-01 14:53:24.271210 ['scsi_id', '-g', '-s', '/block/sda']
[7085] 2013-02-01 14:53:24.285584  pread SUCCESS
[7085] 2013-02-01 14:53:24.286530 Ignoring root device /dev/sda
[7085] 2013-02-01 14:53:24.297114 ['uuidgen', '-r']
[7085] 2013-02-01 14:53:24.311419  pread SUCCESS
[7085] 2013-02-01 14:53:24.311849 ['scsi_id', '-g', '-s', '/block/sdb']
[7085] 2013-02-01 14:53:24.326631  pread SUCCESS
[7085] 2013-02-01 14:53:24.326869 ['md5sum']
[7085] 2013-02-01 14:53:24.341043  pread3 SUCCESS
[7085] 2013-02-01 14:53:24.341245 ['sginfo', '-M', '/dev/sdb']
[7085] 2013-02-01 14:53:24.355700  pread SUCCESS
[7085] 2013-02-01 14:53:24.356189 ['sginfo', '-s', '/dev/sdb']
[7085] 2013-02-01 14:53:24.371553  pread SUCCESS
[7085] 2013-02-01 14:53:24.372244 ['scsi_id', '-g', '-s', '/block/sdb']
[7085] 2013-02-01 14:53:24.387020  pread SUCCESS
[7085] 2013-02-01 14:53:24.458837 ['uuidgen', '-r']
[7085] 2013-02-01 14:53:24.472907  pread SUCCESS
[7085] 2013-02-01 14:53:24.473336 ['scsi_id', '-g', '-s', '/block/sdc']
[7085] 2013-02-01 14:53:24.488276  pread SUCCESS
[7085] 2013-02-01 14:53:24.488515 ['md5sum']
[7085] 2013-02-01 14:53:24.502763  pread3 SUCCESS
[7085] 2013-02-01 14:53:24.502969 ['sginfo', '-M', '/dev/sdc']
[7085] 2013-02-01 14:53:24.517482  pread SUCCESS
[7085] 2013-02-01 14:53:24.517997 ['sginfo', '-s', '/dev/sdc']
[7085] 2013-02-01 14:53:24.533431  pread SUCCESS
[7085] 2013-02-01 14:53:24.534123 ['scsi_id', '-g', '-s', '/block/sdc']
[7085] 2013-02-01 14:53:24.548950  pread SUCCESS
[7085] 2013-02-01 14:53:24.663929 Raising exception [107, The SCSIid parameter is missing or incorrect]

Thanks for any help!

--
Best regards,
Alejandro Flores
Office: 81 3031-4595
Mobile: 81 8932-3004
http://www.triforsec.com.br/
http://www.dialtelecom.com.br/
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.