Table of ContentsView in Frames

Displaying available paths using VxVM on Veritas

You can use the VxVM management interface to display information about the VxVM devices and see which devices are managed by the VxVM The vxdisk command displays information about device, type, disk, group, and status.

Steps

  1. View all VxVM devices: vxdisk list
    Note: For Veritas Storage Foundation 5.0 MP1 and MP2, the ASL displays the enclosure-based naming disk objects in uppercase.

    For Veritas Storage Foundation 5.0 MP3, Veritas Storage Foundation 5.1 and later and InfoScale 7.0 series, the default behavior of the ASL is to display the enclosure-based naming disk objects in lowercase.

    You can change the enclosure names to uppercase by using the vxddladm set namingscheme=ebn lowercase=no command.

    Example
    The output of the vxdisk list command is similar to the following:
    # vxdisk list
    DEVICE         TYPE            DISK         GROUP             STATUS
    disk_0       auto:none       -            -        online invalid
    fas31700_0   auto:cdsdisk    data_dg01    data_dg  online thinrclm shared
    fas31700_1   auto:cdsdisk    data_dg02    data_dg  online thinrclm shared
    fas31700_2   auto:cdsdisk    data_dg08    data_dg  online thinrclm shared
    fas31700_3   auto:cdsdisk    data_dg09    data_dg  online thinrclm shared
    fas31700_4   auto:cdsdisk    data_dg10    data_dg  online thinrclm shared
    fas31700_5   auto:cdsdisk    data_dg11    data_dg  online thinrclm shared
    fas31700_6   auto:cdsdisk    data_dg12    data_dg  online thinrclm shared
    fas31700_7   auto:cdsdisk    data_dg13    data_dg  online thinrclm shared
  2. On the host console, display path information for the device you want: vxdmpadm getsubpaths dmpnodename=device

    device is the name listed under the output of the vxdisk list command.

    Example
    The output of the vxdmpadm getsubpaths dmpnodename=device command is similar to the following:
    vxdmpadm getsubpaths dmpnodename=fas31700_1
    NAME  STATE[A]   PATH-TYPE[M] CTLR-NAME ENCLR-TYPE  ENCLR-NAME  ATTRS
    ======================================================================
    sdb   ENABLED(A)    -          c7        FAS3170     fas31700       -
    sdq   ENABLED(A)    -          c8        FAS3170     fas31700       -
  3. To obtain path information for a host HBA: vxdmpadm getsubpaths ctlr=controller_name

    controller_name is the controller displayed under "CTRL-NAME" in the output of the vxdmpadm getsubpaths dmpnodename command.

    The output displays information about the paths to the storage system (whether the path is a primary or secondary path). The output also lists the storage system that the device is mapped to.

    Example
    The output of the vxdmpadm getsubpaths ctlr= controller_name command is similar to the following:
    #vxdmpadm getsubpaths ctlr=c7
    
    NAME  STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-TYPE  ENCLR-NAME  ATTRS
    ========================================================================
    sdj   ENABLED(A)    -          fas31700_0   FAS3170    fas31700    -
    sdb   ENABLED(A)    -          fas31700_1   FAS3170    fas31700    -
    sdl   ENABLED(A)    -          fas31700_10  FAS3170    fas31700    -
    sdm   ENABLED(A)    -          fas31700_11  FAS3170    fas31700    -
    sdn   ENABLED(A)    -          fas31700_12  FAS3170    fas31700    -