locked
How to using Virtual fibre channel feature in IC 3.5? RRS feed

Answers

  • hi guys ,when i compile the source code here https://github.com/LIS/lis-next/tree/master/hv-rhel6.x/hv (LIS 4.1-alpha-1) , it works and no errors , i can use fdisk to list the EMC storage disk.


    [root@ARS ~]# modinfo hv_storvsc
    filename:       /lib/modules/2.6.32-573.el6.x86_64/extra/hv_storvsc.ko
    alias:          vmbus:4acc9b2f6900f34ab76b6fd0be528cda
    alias:          vmbus:32264132cb86a2449b5c50d1417354f5
    alias:          vmbus:d96361baa104294db60572e2ffb1dc7f
    version:        4.1-alpha-1
    description:    Microsoft Hyper-V virtual storage driver
    license:        GPL
    srcversion:     5759AE1B0B7D2E4A2677AB3
    alias:          vmbus:4acc9b2f6900f34ab76b6fd0be528cda
    alias:          vmbus:32264132cb86a2449b5c50d1417354f5
    alias:          vmbus:d96361baa104294db60572e2ffb1dc7f
    depends:        hv_vmbus,scsi_transport_fc
    vermagic:       2.6.32-573.el6.x86_64 SMP mod_unload modversions
    parm:           logging_level:Logging level, 0 - None, 1 - Error (default), 2 - Warning. (int)
    parm:           storvsc_ringbuffer_size:Ring buffer size (bytes) (int)
    parm:           storvsc_vcpus_per_sub_channel:int
    parm:           vcpus_per_sub_channel:Ratio of VCPUs to subchannels

    yoke88
    IM:yoke-msn@hotmail.com

    • Marked as answer by yoke88 Thursday, December 24, 2015 2:28 AM
    Thursday, December 24, 2015 2:27 AM

All replies

  • Hi, Typically when you configure LUNs on your SAN you can designate a number to each of the LUNs. Some administrators do not start that number with 0. The above comments imply that while using Linux virtual machines on Hyper-V you should ensure that at least one LUN has been configured at slot 0. Let me know if this helps.

    Thanks,

    Abhishek

     
    Thursday, February 13, 2014 10:07 PM
  • Thanks you Abhishek. I will make sure the pre-requirement was satisfied and do a test.


    yoke88
    IM:yoke-msn@hotmail.com

    Tuesday, February 18, 2014 1:20 AM
  • Yoke88

    Did you make your VM work with Virtual HBAs?

    I have a Win2012 R2 with Hyper-V 3.0. A VM with CentOS 6.3 using IC 3.5. I configured 2 FC Adapters in the VM and have a LUN 0 in both WWPN.

    I don't have na HBA in my VM's OS. lspci doesn't show anything.

    Do you have a tutorial?

    Thanks


    narf

    Sunday, February 23, 2014 9:24 PM
  • Not yet.  I am Working on making a Oracle RAC on windows server 2012 R2 using oracle linux 6.5.

    I have no tutorial to make an linux cluster using virutal fiber channel  on hyper. but i have one which was on virtualbox .

    if i was success ,i will write a blog and list the requied steps here


    yoke88
    IM:yoke-msn@hotmail.com


    • Edited by yoke88 Thursday, February 27, 2014 8:06 AM
    Monday, February 24, 2014 1:22 AM
  • Thank you yoke88 and good luck!

    =)


    narf

    Monday, February 24, 2014 10:42 AM
  • The same issues as yours,no HBA card can be seen

    I have tried the command here to list hyper-v virutal fiber channel card in oracle linux 6.5 ,but no luck,and EMC powerpath does not support UEK r3 which was installed default on OL 6.5 X64,I will try Oracle linux 6.3 with IC 3.5

    http://mikent.wordpress.com/2012/02/07/how-to-find-wwn-of-hba-on-redhat-6-x/

    [root@computer01 ~]# uname -a
    Linux computer01.localdomain 3.8.13-26.1.1.el6uek.x86_64 #2 SMP Thu Feb 13 19:42:43 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
    [root@computer01 ~]# lspci -nn
    00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) [8086:7192] (rev 03)
    00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 01)
    00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
    00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02)
    00:08.0 VGA compatible controller [0300]: Microsoft Corporation Hyper-V virtual VGA [1414:5353]
    [root@computer01 ~]# fdisk -l

    Disk /dev/sda: 53.7 GB, 53687091200 bytes
    255 heads, 63 sectors/track, 6527 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000896c0

       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          64      512000   83  Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sda2              64        6528    51915776   8e  Linux LVM

    Disk /dev/mapper/vg_computer01-lv_root: 49.0 GB, 48964304896 bytes
    255 heads, 63 sectors/track, 5952 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/vg_computer01-lv_swap: 4194 MB, 4194304000 bytes
    255 heads, 63 sectors/track, 509 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    [root@computer01 ~]# lsmod |grep hv
    hv_netvsc              21641  0
    hv_utils                7440  0
    hv_balloon              9843  0
    hv_storvsc             10236  2
    hv_vmbus               92011  5 hid_hyperv,hv_netvsc,hv_utils,hv_balloon,hv_storvsc
    [root@computer01 ~]# modinfo hv_vmbus
    filename:       /lib/modules/3.8.13-26.1.1.el6uek.x86_64/kernel/drivers/hv/hv_vmbus.ko
    version:        3.1
    license:        GPL
    srcversion:     8BAC864516830DFFF7DC2B1
    alias:          acpi*:VMBus:*
    alias:          acpi*:VMBUS:*
    depends:
    intree:         Y
    vermagic:       3.8.13-26.1.1.el6uek.x86_64 SMP mod_unload modversions

    using microsoft virutal fibre chanel trouble shooting guide ,i see the event logs indicate the VHBA card was successfully added to the vm.


    yoke88
    IM:yoke-msn@hotmail.com



    • Edited by yoke88 Tuesday, February 25, 2014 7:07 AM
    Tuesday, February 25, 2014 6:20 AM
  • As of now Oracle Linux with UEK kernel is not supported. You should try the flavor of Oracle that comes without the UEK kernel as it should have HBA support. Please let me know if you have further questions.

    Thanks,

    Abhishek

    Tuesday, February 25, 2014 1:42 PM
  • ~

    ~

     . . . hyper-v virtual fiber channel card in oracle linux 6.5 ,but no luck,and EMC powerpath does not support UEK r3 which was installed default on OL 6.5 X64,I will try Oracle linux 6.3 with IC 3.5

    [root@computer01 ~]# uname -a
    Linux computer01.localdomain 3.8.13-26.1.1.el6uek.x86_64 #2 SMP Thu Feb 13 19:42:43 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

    ~

    Please, change UEK kernel to RHEL kernel

    ~

    2014-02-27:  as minimum, for test

    ~


    • Edited by Victor Miasnikov Thursday, February 27, 2014 7:54 AM Add "comment: as minimum, for test"
    Wednesday, February 26, 2014 8:09 AM
  • I changed the default UEK kernel of OEL 6.5 to Red Hat Compatible Kernel (kernel-2.6.32-431),but still no luck ,any suggestions?

    [root@computer01 ~]# uname -r
    2.6.32-431.5.1.el6.x86_64
    [root@computer01 ~]# yum update
    Loaded plugins: refresh-packagekit, security
    Setting up Update Process
    No Packages marked for Update
    [root@computer01 ~]# lspci
    00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
    00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01)
    00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
    00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
    00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual VGA
    [root@computer01 ~]# fdisk -l

    Disk /dev/sda: 53.7 GB, 53687091200 bytes
    255 heads, 63 sectors/track, 6527 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000896c0

       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          64      512000   83  Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sda2              64        6528    51915776   8e  Linux LVM

    Disk /dev/mapper/vg_computer01-lv_root: 49.0 GB, 48964304896 bytes
    255 heads, 63 sectors/track, 5952 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000


    Disk /dev/mapper/vg_computer01-lv_swap: 4194 MB, 4194304000 bytes
    255 heads, 63 sectors/track, 509 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    [root@computer01 ~]# lsmod |grep hv
    hv_balloon             12019  0 [permanent]
    hv_netvsc              23702  0
    hv_utils                9149  0
    hv_storvsc             11323  2
    hv_vmbus              144850  6 hv_balloon,hid_hyperv,hv_netvsc,hv_utils,hyperv_fb,hv_storvsc
    [root@computer01 ~]# modinfo hv_vmbus
    filename:       /lib/modules/2.6.32-431.5.1.el6.x86_64/kernel/drivers/hv/hv_vmbus.ko
    version:        3.1
    license:        GPL
    srcversion:     3E7D7FE31577CC7E47EA89E
    alias:          acpi*:VMBus:*
    alias:          acpi*:VMBUS:*
    depends:
    vermagic:       2.6.32-431.5.1.el6.x86_64 SMP mod_unload modversions


    yoke88
    IM:yoke-msn@hotmail.com

    Thursday, February 27, 2014 5:34 AM
  • ~

    ~

    I changed the default UEK kernel of OEL 6.5 to Red Hat Compatible Kernel (kernel-2.6.32-431),but still no luck ,  . . .

    ~

    ~

      Q:  we can undestand this as:

     ~
    With "UEK kernel of OEL 6.5" possible to create "Oracle RAC" ,
    but "UEK kernel of OEL 6.5" "not support virtual fiber channel" inside Hyper-V VM

    ~

    ~

    "RHEL kernel of OEL 6.5" "support virtual fiber channel" inside Hyper-V VM,

    but with "RHEL Compatible Kernel (kernel-2.6.32-431) of OEL 6.5" _not_ "possible to create" "Oracle RAC"  ( or very difficult to create)

    ~

    ~

    Or not?

    ---

    Thursday, February 27, 2014 7:57 AM
  • it might possible to create rac without Oracle UEK,but i have not foud an good guide to do this.

    i can not see the virtual fiber channel in linux with command lspci and fdisk -l

    • Edited by yoke88 Thursday, February 27, 2014 8:08 AM
    Thursday, February 27, 2014 8:02 AM
  • great news . with centos 6.5 and after install EMC powerpath 5.7 sp1 p2 ,i can see luns when  using powermt display dev=all, i think it might no problem with OEL 6.5 and redhat compatible kernel and powerpath.

    but when using  lspci and fisk -l , there was no disks been listed. if someone knows more about linux ,please let me know how to list the hba info of virtual fibre channel .


    yoke88
    IM:yoke-msn@hotmail.com

    Thursday, February 27, 2014 8:32 AM
  • ~

    ~

    ==
    it might possible to create rac without Oracle UEK,but i have not foud an
    good guide to do this.
    ==
    I.e. this is true:
    ==
    "UEK kernel of OEL 6.5" "not support virtual fiber channel" inside Hyper-V
    VM

    "RHEL kernel of OEL 6.5" "support virtual fiber channel" inside
    Hyper-V VM,
    ==


    ~

    ~


      i can not see the virtual fiber channel  ( VVM: and other Syntetic devices )  in linux with command lspci

    ~

     This command

    lspci

    not very infomative on Hyper-V for syntetic (  VMBUS based) devices

    ~

    ~

    Thursday, February 27, 2014 8:34 AM
  • i can not see the disk with lspci in centos 6.5\OEL 6.5 with UEK \OEL 6.5 without UEK.


    yoke88
    IM:yoke-msn@hotmail.com

    Thursday, February 27, 2014 8:37 AM
  • As quote {{

    ~


      i can not see the virtual fiber channel  ( VVM: and other Syntetic devices )  in linux with command lspci

    ~

    This command

    lspci

    not very infomative on Hyper-V for syntetic (  VMBUS based) devices

    ~

    }}

    ~

    i can not see the disk with lspci in centos 6.5\OEL 6.5 with UEK \OEL 6.5 without UEK.

     Forgot about lspci  -- it simply show only _legacy_ devices ( as example IDE disks)

    but cannot show _syntetic_ devices , because it not use PCI bus ,  but use VMBUS


    Thursday, February 27, 2014 8:45 AM
  • i can not see the disk with lspci in centos 6.5\OEL 6.5 with UEK \OEL 6.5 without UEK.

     Forgot about lspci  -- it simply show only _legacy_ devices ( as example IDE disks)

    but cannot show _syntetic_ devices , because it not use PCI bus ,  but use VMBUS

    can you tell me how to list _syntetic_ devices device ,i'm a freshman in linux world

    yoke88
    IM:yoke-msn@hotmail.com

    Thursday, February 27, 2014 8:48 AM
  • ~


    ( VVM: with "UEK kernel of OEL 6.5" )  i can not see the virtual fiber channel in linux with command fdisk -l

    ~

    But with "RHEL kernel of OEL 6.5"  You see " virtual fiber channel in linux with command fdisk -l" ?

    Or not see to?

    ~

    ~

    ~

    Source code "UEK kernel of OEL 6.5" contain in file

    include/linux/hyperv.h

    this
    ==
    * Synthetic FC GUID
    * {2f9bcc4a-0069-4af3-b76b-6fd0be528cda}
    */
    #define HV_SYNTHFC_GUID \
    .guid = { \
    0x4A, 0xCC, 0x9B, 0x2F, 0x69, 0x00, 0xF3, 0x4A, \
       0xB7, 0x6B, 0x6F, 0xD0, 0xBE, 0x52, 0x8C, 0xDA \
      }
    ==

    Or no?

    ~

    ~

    ~

    ~

    (

    If not contain -- need do some backports of source code . . .

    )

    ~

    Thursday, February 27, 2014 8:48 AM
  • on Oracle 6.5 , i cano found hyper.h in /usr/incluse/linux but in /usr/include/asm

    [root@computer01 asm]# rpm -ql kernel-uek-headers|grep hyper
    /usr/include/asm/hyperv.h
    /usr/include/linux/fsl_hypervisor.h

    [root@computer01 asm]# grep -i syn hyperv.h --context 6

    /* VP Runtime (HV_X64_MSR_VP_RUNTIME) available */
    #define HV_X64_MSR_VP_RUNTIME_AVAILABLE         (1 << 0)
    /* Partition Reference Counter (HV_X64_MSR_TIME_REF_COUNT) available*/
    #define HV_X64_MSR_TIME_REF_COUNT_AVAILABLE     (1 << 1)
    /*
     * Basic SynIC MSRs (HV_X64_MSR_SCONTROL through HV_X64_MSR_EOM
     * and HV_X64_MSR_SINT0 through HV_X64_MSR_SINT15) available
     */
    #define HV_X64_MSR_SYNIC_AVAILABLE              (1 << 2)
    /*
     * Synthetic Timer MSRs (HV_X64_MSR_STIMER0_CONFIG through
     * HV_X64_MSR_STIMER3_COUNT) available
     */
    #define HV_X64_MSR_SYNTIMER_AVAILABLE           (1 << 3)
    /*
     * APIC access MSRs (HV_X64_MSR_EOI, HV_X64_MSR_ICR and HV_X64_MSR_TPR)
     * are available
     */
    #define HV_X64_MSR_APIC_ACCESS_AVAILABLE        (1 << 4)
    /* Hypercall MSRs (HV_X64_MSR_GUEST_OS_ID and HV_X64_MSR_HYPERCALL) available*/
    --
    /* Define the virtual APIC registers */
    #define HV_X64_MSR_EOI                          0x40000070
    #define HV_X64_MSR_ICR                          0x40000071
    #define HV_X64_MSR_TPR                          0x40000072
    #define HV_X64_MSR_APIC_ASSIST_PAGE             0x40000073

    /* Define synthetic interrupt controller model specific registers. */
    #define HV_X64_MSR_SCONTROL                     0x40000080
    #define HV_X64_MSR_SVERSION                     0x40000081
    #define HV_X64_MSR_SIEFP                        0x40000082
    #define HV_X64_MSR_SIMP                         0x40000083
    #define HV_X64_MSR_EOM                          0x40000084
    #define HV_X64_MSR_SINT0                        0x40000090
    [root@computer01 asm]# pwd
    /usr/include/asm

     


    yoke88
    IM:yoke-msn@hotmail.com

    Thursday, February 27, 2014 9:18 AM
  • ~

    ~

    ==

    great news . with centos 6.5 and after install EMC powerpath 5.7 sp1 p2 ,i can see luns when  using powermt display dev=all, i think it might no problem with OEL 6.5 and redhat compatible kernel and powerpath.

    but when using  lspci and fisk -l , there was no disks been listed. if someone knows more about linux ,please let me know how to list the hba info of virtual fibre channel .

    ==

      +

    > can you tell me how to list _syntetic_ devices device

    In command line? GUI?

    http://www.oracle-base.com/articles/linux/linux-disk-partitioning.php

    ==

     . . .

    Disk Utility

    The "Disk Utility" application is a GUI disk management tool in the "gnome-disk-utility" package, available from the console menu (Applications > System Tools > Disk Utility). Alternatively it can be started by running the "palimpsest" command as the "root" user. Clicking on a disk on interest in the "Storage Devices" pane causes the information about that disk to be loaded in the right-hand pane.

     . . .

    ==

    ~~

    on Oracle 6.5 , i cano found hyper.h in /usr/incluse/linux but in /usr/include/asm

    ~~

     To  yoke88: I forward to You e-mail message

    From: "K. Y. Srinivasan"
    Sent: Thursday, May 16, 2013 1:02 AM
    Subject: [PATCH 2/6] Drivers: hv: Add the GUID fot synthetic fiber channel device

    ~~

    To ALL : don't worry we are public _all_ usefull info . . .



    Thursday, February 27, 2014 9:41 AM
  • Hi ,guys! recent news.

    1. I installed a centos 6.5 box and with EMC powerpath 5.7 sp2 installed, i can see luns with powermt  display dev=all.

    2. i could find the luns using ls /dev|grep -i emc ,but i can not using fdisk to partition or get information of the dev.

    [root@localhost ~]# ls -lal /dev/|grep emc
    crw-r--r--   1 root root     10,  57 Feb 28 11:05 emcpower
    brw-rw----   1 root disk    120,   0 Feb 28 11:08 emcpowera
    brw-rw----   1 root disk    120,  16 Feb 28 11:05 emcpowerb
    brw-rw----   1 root disk    120,  32 Feb 28 11:05 emcpowerc
    brw-rw----   1 root disk    120,  48 Feb 28 11:05 emcpowerd
    brw-rw----   1 root disk    120,  64 Feb 28 11:05 emcpowere

    [root@localhost ~]# fdisk /dev/emcpowera

    Unable to read /dev/emcpowera

    [root@localhost ~]# ls /dev/|grep sd
    sda
    sda1
    sda2
    sdb
    sdc
    sdd
    sde
    sdf

    [root@localhost ~]# fdisk /dev/sdb

    Unable to read /dev/sdb

    [root@localhost ~]# dmesg |tail
    storvsc: Sense Key : Illegal Request [current]
    storvsc: Add. Sense: Invalid message error
    hv_storvsc vmbus_0_6: cmd 0x25 scsi status 0x2 srb status 0x84
    hv_storvsc vmbus_0_6: stor pkt ffff8800375998c0 autosense data valid - len 20
    storvsc: Sense Key : Illegal Request [current]
    storvsc: Add. Sense: Invalid message error
    hv_storvsc vmbus_0_6: cmd 0x25 scsi status 0x2 srb status 0x84
    hv_storvsc vmbus_0_6: stor pkt ffff8800375998c0 autosense data valid - len 20
    storvsc: Sense Key : Illegal Request [current]
    storvsc: Add. Sense: Invalid message error

    when i use disk utility gui to partition the luns, i still got errors


    yoke88
    IM:yoke-msn@hotmail.com




    • Edited by yoke88 Friday, February 28, 2014 3:23 AM
    Friday, February 28, 2014 3:17 AM
  • ~

    ~

    1. I installed a centos 6.5 box and with EMC powerpath 5.7 sp2 installed, i can see luns with powermt  display dev=all.

    2. i could find the luns using ls /dev|grep -i emc ,but i can not using fdisk to partition or get information of the dev.

      .  .  .

    [root@localhost ~]# fdisk /dev/emcpowera

    Unable to read /dev/emcpowera

      . . .

    [root@localhost ~]# fdisk /dev/sdb

    Unable to read /dev/sdb

    [root@localhost ~]# dmesg |tail
    storvsc: Sense Key : Illegal Request [current]
    storvsc: Add. Sense: Invalid message error
    hv_storvsc vmbus_0_6: cmd 0x25 scsi status 0x2 srb status 0x84
    hv_storvsc vmbus_0_6: stor pkt ffff8800375998c0 autosense data valid - len 20
    storvsc: Sense Key : Illegal Request [current]
    storvsc: Add. Sense: Invalid message error
    hv_storvsc vmbus_0_6: cmd 0x25 scsi status 0x2 srb status 0x84
    hv_storvsc vmbus_0_6: stor pkt ffff8800375998c0 autosense data valid - len 20
    storvsc: Sense Key : Illegal Request [current]
    storvsc: Add. Sense: Invalid message error

    when i use disk utility gui to partition the luns, i still got errors

     .  .  .

    ~

    ~

    a)   You can install Windows 2012 R2 on "Oracle RAC" VM ?
      As test,  for check enviroment?

    ~

    a-la P.S. {{

      Install Win 2012 R2  _only_ for test what LUNs  is not "read-only", but "writebly"/"write+read"
    ( yes -- this look like as unneeded step, but simple errors is most dangerous :-( )
    I.e.  My idea is not install _whole_ "Oracle RAC" on Win OS ( but why not? as _another_ idea ( Number 2)  )

    }}

    ~

    b)  Can You check how work on "Oracle RAC" VM

      1) RHEL 7.0   ( at this time 7.0 Beta)

    and( or )

      2) SLES 11 SP3

    and( or )

      3) Fedora 20

    ?

    ~

    P.P.S.

     This Linux disrib-s  "1) RHEL 7.0 2) SLES 11 SP3 3) Fedora 20" 
    _may_ be contain more modern FC/SCSI stacks and ( or) .ko/drivers for Hyper-V
    and again main goal: test what LUNs  is not "read-only", but "writebly"/"write+read" , etc.
    i.e. _basis_ functional

    Friday, February 28, 2014 11:05 AM
  • Hi yoke88, Did you also populate LUN0 on the SAN? Please let us know.

    Thanks,

    Abhishek

    Friday, February 28, 2014 3:54 PM
  • Hi ,Abhishek, we populated lun 0 , I confirmed this with our storage mannager. .

    yoke88
    IM:yoke-msn@hotmail.com

    Saturday, March 1, 2014 12:23 PM
  • Ok. I shall have it looked next week and get back to you.
    Sunday, March 2, 2014 12:14 AM
  • Hi yoke88, Sorry for the huge delay in replying to you. After looking at your scenario and trying to repro with Oracle 6.5, we did not see the issue. We are of the opinion that since you can see the disk using "ls /dev/sd", it implies that our storage driver is able to detect the vHBA device. However since you are unable to use fdisk, we suspect that you may have a bad disk somewhere or there is some configuration problem with the SAN. Would you mind trying to access the SAN from a Windows VM or a bare metal Windows or Linux installation? Please let me know.

    Abhishek

    Thursday, March 13, 2014 6:36 PM
  • Hi Abhishek,

    My host os is 2012 , and guest os is redhat 6.4. LUN0 is populated on the SAN but didn't assign to this vm.

    As i found in http://technet.microsoft.com/en-us/library/dn531026.aspx, hyperv VFC is not supported with redhat6.4 yet.

    Any luck I can drive it work in my scenario?

    thanks.

    qinjin


    Friday, May 23, 2014 2:49 AM
  • Same errors here with CentOS 6.5 with or without Integration Services.

    IBM Storwize V7000 storage.

    [root@earchive ~]# cat /etc/redhat-release
    CentOS release 6.5 (Final)
    [root@earchive ~]#
    [root@earchive ~]#
    [root@earchive ~]#
    [root@earchive ~]# cat /etc/redhat-release
    CentOS release 6.5 (Final)
    [root@earchive ~]# dmesg | grep sdb
    sd 4:0:0:0: [sdb] READ CAPACITY(16) failed
    sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    sd 4:0:0:0: [sdb] Sense Key : Illegal Request [current]
    sd 4:0:0:0: [sdb] Add. Sense: Invalid message error
    sd 4:0:0:0: [sdb] READ CAPACITY failed
    sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    sd 4:0:0:0: [sdb] Sense Key : Illegal Request [current]
    sd 4:0:0:0: [sdb] Add. Sense: Invalid message error
    sd 4:0:0:0: [sdb] Write Protect is off
    sd 4:0:0:0: [sdb] Mode Sense: 00 00 00 00
    sd 4:0:0:0: [sdb] Asking for cache data failed
    sd 4:0:0:0: [sdb] Assuming drive cache: write through
    sd 4:0:0:0: [sdb] READ CAPACITY(16) failed
    sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    sd 4:0:0:0: [sdb] Sense Key : Illegal Request [current]
    sd 4:0:0:0: [sdb] Add. Sense: Invalid message error
    sd 4:0:0:0: [sdb] READ CAPACITY failed
    sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    sd 4:0:0:0: [sdb] Sense Key : Illegal Request [current]
    sd 4:0:0:0: [sdb] Add. Sense: Invalid message error
    sd 4:0:0:0: [sdb] Asking for cache data failed
    sd 4:0:0:0: [sdb] Assuming drive cache: write through
    sd 4:0:0:0: [sdb] Attached SCSI disk
    [root@earchive ~]# fdisk /dev/sdb
    
    Unable to read /dev/sdb
    [root@earchive ~]# dmesg | grep storvsc
    hv_vmbus: registering driver hv_storvsc
    scsi2 : storvsc_host_t
    scsi3 : storvsc_host_t
    scsi4 : storvsc_host_t
    hv_storvsc vmbus_0_6: cmd 0x9e scsi status 0x2 srb status 0x84
    hv_storvsc vmbus_0_6: stor pkt ffff8803fc6079c0 autosense data valid - len 20
    storvsc: Sense Key : Illegal Request [current]
    storvsc: Add. Sense: Invalid message error
    

    http://technet.microsoft.com/en-us/library/dn531026.aspx claims that 6.5 have built in all necessary drivers, however i did try to install Integration services 3.5, same errors.

    Friday, May 23, 2014 11:50 AM
  • So, problem seems to be in Integration Services version what is included with rhel6.5

    [root@earchive ~]# modinfo hv_vmbus
    filename:       /lib/modules/2.6.32-431.17.1.el6.x86_64/kernel/drivers/hv/hv_vmbus.ko
    version:        3.1
    license:        GPL
    srcversion:     3E7D7FE31577CC7E47EA89E
    alias:          acpi*:VMBus:*
    alias:          acpi*:VMBUS:*
    depends:
    vermagic:       2.6.32-431.17.1.el6.x86_64 SMP mod_unload modversions
    

    Some details here:

    http://vniklas.djungeln.se/2014/01/03/install-lis-3-5-on-centos-6-3-and-then-upgrade-to-6-5/

    After installing LIS3.5 kernel continues to use modules included with kernel.



    Friday, May 23, 2014 12:44 PM
  • Hi Aleksejs, Can you repro the same problem by assigning the LUNs to a bare metal (non Hyper-V) installation of Linux? Also do you see the same problem with Windows virtual machines? Please let me know.

    Thanks,

    Abhishek

    Tuesday, May 27, 2014 9:34 PM
  • yes,when connect the same luns to windows virtual machine , it works.


    yoke88
    IM:yoke-msn@hotmail.com

    Thursday, October 30, 2014 4:12 AM
  • hi guys ,when i compile the source code here https://github.com/LIS/lis-next/tree/master/hv-rhel6.x/hv (LIS 4.1-alpha-1) , it works and no errors , i can use fdisk to list the EMC storage disk.


    [root@ARS ~]# modinfo hv_storvsc
    filename:       /lib/modules/2.6.32-573.el6.x86_64/extra/hv_storvsc.ko
    alias:          vmbus:4acc9b2f6900f34ab76b6fd0be528cda
    alias:          vmbus:32264132cb86a2449b5c50d1417354f5
    alias:          vmbus:d96361baa104294db60572e2ffb1dc7f
    version:        4.1-alpha-1
    description:    Microsoft Hyper-V virtual storage driver
    license:        GPL
    srcversion:     5759AE1B0B7D2E4A2677AB3
    alias:          vmbus:4acc9b2f6900f34ab76b6fd0be528cda
    alias:          vmbus:32264132cb86a2449b5c50d1417354f5
    alias:          vmbus:d96361baa104294db60572e2ffb1dc7f
    depends:        hv_vmbus,scsi_transport_fc
    vermagic:       2.6.32-573.el6.x86_64 SMP mod_unload modversions
    parm:           logging_level:Logging level, 0 - None, 1 - Error (default), 2 - Warning. (int)
    parm:           storvsc_ringbuffer_size:Ring buffer size (bytes) (int)
    parm:           storvsc_vcpus_per_sub_channel:int
    parm:           vcpus_per_sub_channel:Ratio of VCPUs to subchannels

    yoke88
    IM:yoke-msn@hotmail.com

    • Marked as answer by yoke88 Thursday, December 24, 2015 2:28 AM
    Thursday, December 24, 2015 2:27 AM
  • Hi Yoke,

    Thanks for your update.

    I am trying to install 4.1-alpha-1 on RHEL 6.7 but getting below error.

    [root@Fctest hv]# ./rhel6-hv-driver-install
    Building Modules
    make: *** /lib/modules/2.6.32-573.el6.x86_64/build: No such file or directory.  Stop.

    Could you please help me to resolve this?

    Tuesday, January 5, 2016 12:20 PM
  • LIS 4.1 is not yet done, and we're still developing it, however you can download and use LIS 4.0.11 in the meantime. LIS 4.1 will be releasing once we're done with testing in a few weeks (we're still finishing up some development items). --jrp

    Joshua R. Poulson, Program Manager, Microsoft Open Source Technology Center

    Tuesday, January 26, 2016 8:04 PM
  • Josh was this ever fixed I have a similar issue with Oracle 6.5 unbreakable 3.8.13 on Hyperv 2012 v2.  Brocade with a v7000 IB Gbps FC.  I can't get the FC to work.
    Tuesday, March 15, 2016 4:10 AM
  • There is no LIS download for the Unbreakable kernels on Oracle Linux. I have been working with Oracle to upgrade the LIS components for UEK4 but that is not yet available.

    Joshua R. Poulson, Program Manager, Microsoft Open Source Technology Center

    Friday, March 25, 2016 1:00 AM