locked
How to find WWN of vFC HBA in CentOS VM RRS feed

  • Question

  • Hello,

    After Configuring Virtual Fibre Channel for a CentOS 6.5 Hyper-v VM, WWN of the virtual HBA is available in Hyper-v Manager and FC Switch. Storage LUN access can also be configured successfully.

    How to find the WWN at CentOS Hyper-v VM. - 'cat /sys/class/fc_host/host?/port_name' command seems to be not working.

    Upgraded to latest LIS 4.0(Linux Intergration Services ), but no luck.

    [root@suscentos ~]# cat /sys/class/fc_host/host?/port_name
    cat: /sys/class/fc_host/host?/port_name: No such file or directory
    [root@suscentos ~]#

    [root@suscentos ~]# /sbin/modinfo hv_vmbus
    filename:       /lib/modules/2.6.32-431.el6.x86_64/extra/microsoft-hyper-v/hv_vmbus.ko
    version:        4.0.11
    license:        GPL
    srcversion:     E208FA12A913A74A87CBF37
    alias:          acpi*:VMBus:*
    alias:          acpi*:VMBUS:*
    depends:
    vermagic:       2.6.32-431.el6.x86_64 SMP mod_unload modversions
    [root@suscentos ~]# /sbin/lsmod | grep hv
    hv_netvsc              31022  0
    hv_utils               13880  0
    hv_storvsc             12677  2
    hv_vmbus              282441  6 hyperv_keyboard,hid_hyperv,hv_netvsc,hv_utils,hyperv_fb,hv_storvsc
    [root@suscentos ~]#

    • Moved by Leo Han Friday, November 6, 2015 9:07 AM wrong forum
    Wednesday, November 4, 2015 5:56 PM