[ovirt-users] Very big device. Trying to use READ CAPACITY

Yaniv Kaul ykaul at redhat.com
Mon Jun 26 07:22:26 UTC 2017


On Sun, Jun 25, 2017 at 8:17 PM, Iman Darabi <iman.darabi at gmail.com> wrote:

> i didn't configured any thing and let ovirt configure storage
> automatically. should i configure multipath manually?
>

Usually not, but for ALUA you might want to.
Y.


>
> On Sun, Jun 25, 2017 at 3:06 PM, Yaniv Kaul <ykaul at redhat.com> wrote:
>
>>
>>
>> On Sun, Jun 25, 2017 at 11:25 AM, Iman Darabi <iman.darabi at gmail.com>
>> wrote:
>>
>>> i can not add second lun, this is my problem. when ever i try to add lun
>>> i get that message ... .
>>>
>>> Jun 25 12:51:55 compute52 kernel: sd 12:0:0:16384: [sdf] Very big
>>> device. Trying to use READ CAPACITY(16).
>>> Jun 25 12:51:55 compute52 kernel: sd 5:0:0:0: [sdb] Very big device.
>>> Trying to use READ CAPACITY(16).
>>> Jun 25 12:51:55 compute52 kernel: sd 12:0:1:16384: [sdg] Very big
>>> device. Trying to use READ CAPACITY(16).
>>> Jun 25 12:51:55 compute52 kernel: sd 5:0:1:0: [sdc] Very big device.
>>> Trying to use READ CAPACITY(16).
>>> Jun 25 12:51:55 compute52 kernel: sd 12:0:0:0: [sdd] Read Capacity(10)
>>> failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
>>> Jun 25 12:51:55 compute52 kernel: sd 12:0:0:0: [sdd] Sense Key : Illegal
>>> Request [current]
>>> Jun 25 12:51:55 compute52 kernel: sd 12:0:0:0: [sdd] Add. Sense: Logical
>>> unit not supported
>>> Jun 25 12:51:55 compute52 kernel: sd 12:0:1:0: [sde] Read Capacity(10)
>>> failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
>>> Jun 25 12:51:55 compute52 kernel: sd 12:0:1:0: [sde] Sense Key : Illegal
>>> Request [current]
>>> Jun 25 12:51:55 compute52 kernel: sd 12:0:1:0: [sde] Add. Sense: Logical
>>> unit not supported
>>> Jun 25 12:51:56 compute52 kernel: device-mapper: table: 253:14:
>>> multipath: error getting device
>>> Jun 25 12:51:56 compute52 kernel: device-mapper: ioctl: error adding
>>> target to table
>>> Jun 25 12:51:56 compute52 multipathd: dm-14: remove map (uevent)
>>> Jun 25 12:51:56 compute52 multipathd: dm-14: remove map (uevent)
>>>
>>> mybe i've problem with multipath ... ?!.
>>>
>>
>> I think so. Is ALUA correctly configured?
>> I'd try to connect with oVirt and see that all works well first.
>> Y.
>>
>>
>>>
>>>
>>> On Sun, Jun 25, 2017 at 12:38 PM, Yaniv Kaul <ykaul at redhat.com> wrote:
>>>
>>>>
>>>>
>>>> On Sun, Jun 25, 2017 at 10:51 AM, Iman Darabi <iman.darabi at gmail.com>
>>>> wrote:
>>>>
>>>>> my os version is:
>>>>>   Operating System: CentOS Linux 7 (Core)
>>>>>   CPE OS Name: cpe:/o:centos:centos:7
>>>>>   Kernel: Linux 3.10.0-327.28.3.el7.x86_64
>>>>>   Architecture: x86-64
>>>>> and san storage is EMC VNX 5400 with double cisco mds 9148s.
>>>>>
>>>>>
>>>> I completely forgot to ask, is there a real problem besides those
>>>> messages?
>>>> See [1] - appears to be harmless.
>>>> Y.
>>>>
>>>> [1] https://bugzilla.kernel.org/show_bug.cgi?id=115351
>>>>
>>>>
>>>>> actually i had problem with one of my switches and sent it to garanty
>>>>> guarantee. now i set it up again ... . but i get these errors from dmesg:
>>>>> [20258845.245029] sd 12:0:0:16384: [sdf] Very big device. Trying to
>>>>> use READ CAPACITY(16).
>>>>> [20258845.245454] sd 5:0:0:0: [sdb] Very big device. Trying to use
>>>>> READ CAPACITY(16).
>>>>> [20258845.246554] sd 12:0:1:16384: [sdg] Very big device. Trying to
>>>>> use READ CAPACITY(16).
>>>>> [20258845.246650] sd 5:0:1:0: [sdc] Very big device. Trying to use
>>>>> READ CAPACITY(16).
>>>>> [20258845.248915] sd 12:0:0:0: [sdd] Read Capacity(10) failed: Result:
>>>>> hostbyte=DID_OK driverbyte=DRIVER_SENSE
>>>>> [20258845.248919] sd 12:0:0:0: [sdd] Sense Key : Illegal Request
>>>>> [current]
>>>>> [20258845.248922] sd 12:0:0:0: [sdd] Add. Sense: Logical unit not
>>>>> supported
>>>>> [20258845.249561] sd 12:0:1:0: [sde] Read Capacity(10) failed: Result:
>>>>> hostbyte=DID_OK driverbyte=DRIVER_SENSE
>>>>> [20258845.249564] sd 12:0:1:0: [sde] Sense Key : Illegal Request
>>>>> [current]
>>>>> [20258845.249565] sd 12:0:1:0: [sde] Add. Sense: Logical unit not
>>>>> supported
>>>>> [20258845.285583] device-mapper: table: 253:14: multipath: error
>>>>> getting device
>>>>> [20258845.286019] device-mapper: ioctl: error adding target to table
>>>>>
>>>>> here is output of HBA configurations:
>>>>>
>>>>> [root at compute52 host12]# multipath -ll
>>>>> 3600601604d003a00036edddd268de611 dm-2 DGC     ,VRAID
>>>>> size=2.0T features='1 retain_attached_hw_handler' hwhandler='1 alua'
>>>>> wp=rw
>>>>> |-+- policy='service-time 0' prio=50 status=active
>>>>> | `- 5:0:1:0      sdc 8:32  active ready  running
>>>>> `-+- policy='service-time 0' prio=10 status=enabled
>>>>>   `- 5:0:0:0      sdb 8:16  active ready  running
>>>>> ==================================================
>>>>> [root at compute52 host12]# systool -c fc_host
>>>>> Class = "fc_host"
>>>>>
>>>>>   Class Device = "host12"
>>>>>     Device = "host12"
>>>>>
>>>>>   Class Device = "host5"
>>>>>     Device = "host5"
>>>>> ==================================================
>>>>> [root at compute52 host12]# systool -c fc_host -v host12
>>>>> Class = "fc_host"
>>>>>
>>>>>   Class Device = "host12"
>>>>>   Class Device path = "/sys/devices/pci0000:80/0000:
>>>>> 80:01.0/0000:81:00.1/host12/fc_host/host12"
>>>>>     dev_loss_tmo        = "16"
>>>>>     fabric_name         = "0x20028c604f799791"
>>>>>     issue_lip           = <store method only>
>>>>>     max_npiv_vports     = "254"
>>>>>     node_name           = "0x5001438033136e4f"
>>>>>     npiv_vports_inuse   = "0"
>>>>>     port_id             = "0x6e0200"
>>>>>     port_name           = "0x5001438033136e4e"
>>>>>     port_state          = "Online"
>>>>>     port_type           = "NPort (fabric via point-to-point)"
>>>>>     speed               = "8 Gbit"
>>>>>     supported_classes   = "Class 3"
>>>>>     supported_speeds    = "1 Gbit, 2 Gbit, 4 Gbit, 8 Gbit"
>>>>>     symbolic_name       = "HPAJ764A FW:v7.03.00 DVR:v8.07.00.18.07.2-k"
>>>>>     system_hostname     = ""
>>>>>     tgtid_bind_type     = "wwpn (World Wide Port Name)"
>>>>>     uevent              =
>>>>>     vport_create        = <store method only>
>>>>>     vport_delete        = <store method only>
>>>>>
>>>>>     Device = "host12"
>>>>>     Device path = "/sys/devices/pci0000:80/0000:
>>>>> 80:01.0/0000:81:00.1/host12"
>>>>>       fw_dump             =
>>>>>       nvram               = "ISP "
>>>>>       optrom_ctl          = <store method only>
>>>>>       optrom              =
>>>>>       reset               = <store method only>
>>>>>       sfp                 = " "
>>>>>       uevent              = "DEVTYPE=scsi_host"
>>>>>       vpd                 = "�$"
>>>>> ===============================================
>>>>>
>>>>> [root at compute52 host12]# systool -c fc_host -v host5
>>>>> Class = "fc_host"
>>>>>
>>>>>   Class Device = "host5"
>>>>>   Class Device path = "/sys/devices/pci0000:80/0000:
>>>>> 80:01.0/0000:81:00.0/host5/fc_host/host5"
>>>>>     dev_loss_tmo        = "16"
>>>>>     fabric_name         = "0x20018c604fec3441"
>>>>>     issue_lip           = <store method only>
>>>>>     max_npiv_vports     = "254"
>>>>>     node_name           = "0x5001438033136e4d"
>>>>>     npiv_vports_inuse   = "0"
>>>>>     port_id             = "0x6d0200"
>>>>>     port_name           = "0x5001438033136e4c"
>>>>>     port_state          = "Online"
>>>>>     port_type           = "NPort (fabric via point-to-point)"
>>>>>     speed               = "8 Gbit"
>>>>>     supported_classes   = "Class 3"
>>>>>     supported_speeds    = "1 Gbit, 2 Gbit, 4 Gbit, 8 Gbit"
>>>>>     symbolic_name       = "HPAJ764A FW:v7.03.00 DVR:v8.07.00.18.07.2-k"
>>>>>     system_hostname     = ""
>>>>>     tgtid_bind_type     = "wwpn (World Wide Port Name)"
>>>>>     uevent              =
>>>>>     vport_create        = <store method only>
>>>>>     vport_delete        = <store method only>
>>>>>
>>>>>     Device = "host5"
>>>>>     Device path = "/sys/devices/pci0000:80/0000:
>>>>> 80:01.0/0000:81:00.0/host5"
>>>>>       fw_dump             =
>>>>>       nvram               = "ISP "
>>>>>       optrom_ctl          = <store method only>
>>>>>       optrom              =
>>>>>       reset               = <store method only>
>>>>>       sfp                 = " "
>>>>>       uevent              = "DEVTYPE=scsi_host"
>>>>>       vpd                 = "�$"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Jun 25, 2017 at 11:27 AM, Yaniv Kaul <ykaul at redhat.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Sat, Jun 24, 2017 at 10:58 AM, Iman Darabi <iman.darabi at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> hi.
>>>>>>> i'm using ovirt version 4.0 .
>>>>>>>
>>>>>>> I've created two LUNs.  firs lun is 2047GB and working properly as
>>>>>>> data domain. but when i try to add second lun  as second data domain, i get
>>>>>>> this error on server:
>>>>>>>
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 12:0:0:16384: [sdf] Very big
>>>>>>> device. Trying to use READ CAPACITY(16).
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 5:0:0:0: [sdb] Very big device.
>>>>>>> Trying to use READ CAPACITY(16).
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 12:0:1:16384: [sdg] Very big
>>>>>>> device. Trying to use READ CAPACITY(16).
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 5:0:1:0: [sdc] Very big device.
>>>>>>> Trying to use READ CAPACITY(16).
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 12:0:0:0: [sdd] Read
>>>>>>> Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 12:0:0:0: [sdd] Sense Key :
>>>>>>> Illegal Request [current]
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 12:0:0:0: [sdd] Add. Sense:
>>>>>>> Logical unit not supported
>>>>>>>
>>>>>>
>>>>>> Looks like an issue between your platforms (what version is it? You
>>>>>> have not specified it) and your storage (what is it? You have not specified
>>>>>> it), unrelated directly to oVirt.
>>>>>>
>>>>>>
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 12:0:1:0: [sde] Read
>>>>>>> Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 12:0:1:0: [sde] Sense Key :
>>>>>>> Illegal Request [current]
>>>>>>> Jun 21 13:22:41 compute52 kernel: sd 12:0:1:0: [sde] Add. Sense:
>>>>>>> Logical unit not supported
>>>>>>> Jun 21 13:22:41 compute52 kernel: device-mapper: table: 253:16:
>>>>>>> multipath: error getting device
>>>>>>> Jun 21 13:22:41 compute52 kernel: device-mapper: ioctl: error adding
>>>>>>> target to table
>>>>>>> Jun 21 13:22:41 compute52 multipathd: dm-16: remove map (uevent)
>>>>>>> Jun 21 13:22:41 compute52 multipathd: dm-16: remove map (uevent)
>>>>>>>
>>>>>>> error shows that second lun is very big device, but i've created
>>>>>>> second lun as 10GB for test.
>>>>>>>
>>>>>>> BTW: is there any good documentation for ovirt and FC in detail. all
>>>>>>> administration docs are using GUI ... .
>>>>>>>
>>>>>>
>>>>>> What are you missing exactly?
>>>>>> Y.
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> R&D expert at Ferdowsi University of Mashhad
>>>>>>> https://ir.linkedin.com/in/imandarabi
>>>>>>> <https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at ovirt.org
>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> R&D expert at Ferdowsi University of Mashhad
>>>>> https://ir.linkedin.com/in/imandarabi
>>>>> <https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> R&D expert at Ferdowsi University of Mashhad
>>> https://ir.linkedin.com/in/imandarabi
>>> <https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile>
>>>
>>
>>
>
>
> --
> R&D expert at Ferdowsi University of Mashhadhttps://ir.linkedin.com/in/
> imandarabi
> <https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170626/0df032c7/attachment-0001.html>


More information about the Users mailing list