Re: vpath vs hdisk question

From: Andrew Townsend (Andrew.Townsend_at_BISYS.COM)
Date: 12/09/04

  • Next message: Chafik,Basim: "Re: FTP"
    Date:         Thu, 9 Dec 2004 08:55:40 -0500
    To: aix-l@Princeton.EDU
    
    

    We do not have an /etc/vpexclude file on this node or the other node with
    the DEAD path.

    There is no man pages for datapath query device, or lsvpcfg etc. Are
    commands like these documented anywhere? I googled them and looked in IBM
    Redbooks website but didn't find much.

    Thanks for your reply Joseph.

                          JOSEPH KREMBLAS
                          <JKREMBLAS@REDHEAR To: aix-l@Princeton.EDU
                          TGIFTS.COM> cc:
                          Sent by: IBM AIX Subject: Re: vpath vs hdisk question
                          Discussion List
                          <aix-l@Princeton.E
                          DU>

                          12/08/2004 07:05
                          PM
                          Please respond to
                          IBM AIX Discussion
                          List

    Hi, I've ran into this problem before and I think that the problem was
    resolved by removing the /etc/vpexclude file. Check to see if you have
    a /etc/vpexclude file. If so, post the contents and rename the file and
    re-run your DPO and cfgmgr procedures. If there are any entries in this
    file that match your DEAD VPATHs then you should remove the entries or
    rename the file or delete the file and re-run your procedures again.

            --joseph

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Andrew Townsend
    Sent: Wednesday, December 08, 2004 1:02 PM
    To: aix-l@Princeton.EDU
    Subject: Re: vpath vs hdisk question

    Hi Kevin, Thanks for the reply. I actually did remove all of those
    devices and then re-add them but got the same result. I spoke to our SAN
    swtich admin, who is very frustrated with me by now and he said that
    this node is in the same exact zone as another node.

    Here is the output from the node with the issues. Below is the output
    from the node that is in production. I just realized that on the
    production node there are paths that are DEAD. If these paths are dead,
    then I'm thinking that this is why cfgmgr can't define path there.
    hmmm....

    New Node:
    -----------------

    [root] / >>datapath query adapter

    Active Adapters :2

    Adpt# Adapter Name State Mode Select Errors Paths
    Active
        0 fscsi0 NORMAL ACTIVE 0 0 4
    0
        1 fscsi1 NORMAL ACTIVE 0 0 2
    0

    [root] / >>lsvp -d

    checking device 0
    checking device 1

                 BAY-1(B1) BAY-2(B2) BAY-3(B3)
    BAY-4(B4)
               H1 H2 H3 H4 H1 H2 H3 H4 H1 H2 H3 H4
    H1 H2 H3 H4
              A B A B A B A B A B A B A B A B A B A B A B A B
    A
    B A B A B A B

           0 O - - - - - - - O - - - - - - - O - - - - - - -
    -
    - - - - - - -
           1 O - - - - - - - O - - - - - - - O - - - - - - -
    -
    - - - - - - -

    Y = online/open
    O = online/closed
    N = offline
    X = not-available
    - = path not configured
    ? = path information not available
    PD = path down

    [root] / >>lsvp -a

    Hostname VG vpath hdisk Location LUN SN S
    Connection Size LSS Vol Rank
    -------- -- ----- ----- -------- ------ -
    ---------- ---- --- --- ----
    uxsybrpt None vpath0 hdisk2 11-08-01 20124055 Y
    R1-B3-H1-ZA 831.8 12 1 1201
    uxsybrpt None vpath0 hdisk4 11-08-01 20124055 Y
    R1-B1-H1-ZA 831.8 12 1 1201
    uxsybrpt None vpath0 hdisk6 14-08-01 20124055 Y
    R1-B2-H1-ZA 831.8 12 1 1201

    uxsybrpt None vpath1 hdisk3 11-08-01 30124055 Y
    R1-B3-H1-ZA 831.8 13 1 1301
    uxsybrpt None vpath1 hdisk5 11-08-01 30124055 Y
    R1-B1-H1-ZA 831.8 13 1 1301
    uxsybrpt None vpath1 hdisk7 14-08-01 30124055 Y
    R1-B2-H1-ZA 831.8 13 1 1301

    [root ] / >>lsvpcfg
    vpath0 (Avail ) 20124055 = hdisk2 (Avail ) hdisk4 (Avail ) hdisk6 (Avail
    ) vpath1 (Avail ) 30124055 = hdisk3 (Avail ) hdisk5 (Avail ) hdisk7
    (Avail )

    Node currently in production:
    ---------------------------------------------
    [root @ uxsybqa] / >>datapath query adapter

    Active Adapters :2

    Adpt# Adapter Name State Mode Select Errors Paths
    Active
        0 fscsi0 NORMAL ACTIVE 625145962 0 6
    6
        1 fscsi2 DEGRAD ACTIVE 621473454 0 6
    3
    [root @ uxsybqa] / >>datapath query device

    Total Devices : 3

    DEV#: 0 DEVICE NAME: vpath0 TYPE: 2105800 POLICY:
    Optimized
    SERIAL: 00324055
    ========================================================================
    ==
    Path# Adapter/Hard Disk State Mode Select
    Errors
        0 fscsi0/hdisk3 OPEN NORMAL 669580
    0
        1 fscsi0/hdisk6 OPEN NORMAL 669835
    0
        2 fscsi2/hdisk9 DEAD NORMAL 619043
    0
        3 fscsi2/hdisk12 OPEN NORMAL 689295
    0

    DEV#: 1 DEVICE NAME: vpath1 TYPE: 2105800 POLICY:
    Optimized
    SERIAL: 20024055
    ========================================================================
    ==
    Path# Adapter/Hard Disk State Mode Select
    Errors
        0 fscsi0/hdisk4 OPEN NORMAL 158521992
    0
        1 fscsi0/hdisk7 OPEN NORMAL 158517718
    0
        2 fscsi2/hdisk10 DEAD NORMAL 147634219
    0
        3 fscsi2/hdisk13 OPEN NORMAL 166880437
    0

    DEV#: 2 DEVICE NAME: vpath2 TYPE: 2105800 POLICY:
    Optimized
    SERIAL: 30024055
    ========================================================================
    ==
    Path# Adapter/Hard Disk State Mode Select
    Errors
        0 fscsi0/hdisk5 OPEN NORMAL 153396629
    0
        1 fscsi0/hdisk8 OPEN NORMAL 153372714
    0
        2 fscsi2/hdisk11 DEAD NORMAL 146433361
    0
        3 fscsi2/hdisk14 OPEN NORMAL 159219496
    0
    [root @ uxsybqa] / >>lsvpcfg
    vpath0 (Avail pv qavg) 00324055 = hdisk3 (Avail ) hdisk6 (Avail ) hdisk9
    (Avail ) hdisk12 (Avail ) vpath1 (Avail pv qavg) 20024055 = hdisk4
    (Avail ) hdisk7 (Avail ) hdisk10 (Avail ) hdisk13 (Avail ) vpath2 (Avail
    pv qavg) 30024055 = hdisk5 (Avail ) hdisk8 (Avail ) hdisk11 (Avail )
    hdisk14 (Avail )

                          Adams Kevin J
                          <kevin.adams@PHS. To:
    aix-l@Princeton.EDU
                          COM> cc:
                          Sent by: IBM AIX Subject: Re: vpath vs
    hdisk question
                          Discussion List
                          <aix-l@Princeton.
                          EDU>

                          12/08/2004 02:33
                          PM
                          Please respond to
                          IBM AIX
                          Discussion List

    Try running cfgmgr again. If that does not work, you might try deleting
    the vpath/hdisk/fcs and then cfgmgr.

    Also, have you checked the LUN assignments via the ESS specialist? Try
    running an lsvp -d to see ESS HBA assignments.

    I would at least try this before other things.

    Kevin Adams

    PacifiCare Behavioral Health
    3120 Lake Center Drive
    Mail Stop LC01-394
    Santa Ana, CA 92704

    Email: kevin.adams@phs.com
    Work: 714-445-0343
    Fax: 714-445-0475

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Lamar Saxon
    Sent: Wednesday, December 08, 2004 10:59 AM
    To: aix-l@Princeton.EDU
    Subject: Re: [aix-l] vpath vs hdisk question

    Sounds like a fabric configuration issue since we eliminate the FC
    adapter ( you can see 2 paths there ) and the storage device/switches
    since FCS0 can see 4 paths. Looks like they may not have given the FCS1
    all 4 paths.

    Lamar

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Andrew Townsend
    Sent: Wednesday, December 08, 2004 10:58 AM
    To: aix-l@Princeton.EDU
    Subject: Re: vpath vs hdisk question

    Lamar, thank you for your response.

    Here is the output:

    [root] / >>datapath query device

    Total Devices : 2

    DEV#: 0 DEVICE NAME: vpath0 TYPE: 2105800 POLICY:
    Optimized
    SERIAL: 20124055
    ========================================================================
    ==
    Path# Adapter/Hard Disk State Mode Select
    Errors
        0 fscsi0/hdisk2 CLOSE NORMAL 0
    0
        1 fscsi0/hdisk4 CLOSE NORMAL 0
    0
        2 fscsi1/hdisk6 CLOSE NORMAL 0
    0

    DEV#: 1 DEVICE NAME: vpath1 TYPE: 2105800 POLICY:
    Optimized
    SERIAL: 30124055
    ========================================================================
    ==
    Path# Adapter/Hard Disk State Mode Select
    Errors
        0 fscsi0/hdisk3 CLOSE NORMAL 0
    0
        1 fscsi0/hdisk5 CLOSE NORMAL 0
    0
        2 fscsi1/hdisk7 CLOSE NORMAL 0
    0

    I haven't set up any VGs using these disks yet. I've explained the
    situation to our SAN Switch admin to ask him to double check the
    configuration. Like you said, it seems like I only have two paths to
    fcs1. Perhaps the mapping on the switch.....

                          Lamar Saxon
                          <Lamar.Saxon@AMERI To:
    aix-l@Princeton.EDU
                          CREDIT.COM> cc:
                          Sent by: IBM AIX Subject: Re: vpath vs
    hdisk question
                          Discussion List
                          <aix-l@Princeton.E
                          DU>

                          12/08/2004 11:43
                          AM
                          Please respond to
                          IBM AIX Discussion
                          List

    What is the output of:

    datapath query device

    Looks like fcs1 only has 2 paths to the disk.

    Lamar

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Andrew Townsend
    Sent: Wednesday, December 08, 2004 8:56 AM
    To: aix-l@Princeton.EDU
    Subject: vpath vs hdisk question

    Hello everyone,

    Quick question about Shark storage. I'm connecting an AIX5.1 ML3 box to
    a shark. Everything seems normal except when I do an lsdev -Cc disk, I
    see Two Vpaths (which I expect) but I see four hdisks for fcs0 and only
    two hdisks for fcs1.

    This isn't normal is it?

    lsdev -Cc disk
    hdisk0 Available 40-60-00-4,0 16 Bit LVD SCSI Disk Drive
    hdisk1 Available 40-60-00-8,0 16 Bit LVD SCSI Disk Drive
    vpath0 Available Data Path Optimizer Pseudo Device Driver
    vpath1 Available Data Path Optimizer Pseudo Device Driver
    hdisk2 Available 11-08-01 IBM FC 2105800
    hdisk3 Available 11-08-01 IBM FC 2105800
    hdisk4 Available 11-08-01 IBM FC 2105800
    hdisk5 Available 11-08-01 IBM FC 2105800
    hdisk6 Available 14-08-01 IBM FC 2105800
    hdisk7 Available 14-08-01 IBM FC 2105800

    lsdev -Cc adapter | grep fcs
    fcs0 Available 11-08 FC Adapter
    fcs1 Available 14-08 FC Adapter

    Filesets that I am running:
      devices.sdd.51.rte 1.5.0.0
      devices.common.IBM.fc.rte 5.1.0.51
      devices.fcp.disk.array.rte 5.1.0.61
      devices.fcp.disk.rte 5.1.0.58
      devices.fcp.tape.rte 5.1.0.52

    I don't know if it makes a difference but there are two luns mapped that
    are 840 Gb each. Each fibre-channel adapter is configured to use four
    ports on the shark.

    Thank you all in advance.

    Drew

    This email is confidential and intended solely for the use of the
    individual or entity to whom it is addressed. If you have received this
    email in error please notify the system manager at mailadmin@bisys.com
    and delete the email immediately.

    Privileged and Confidential. This e-mail, and any attachments there to,
    is intended only for use by the addressee(s) named herein and may
    contain legally privileged or confidential information. If you have
    received this e-mail in error, please notify me immediately by a return
    e-mail and delete this e-mail. You are hereby notified that any
    dissemination, distribution or copying of this e-mail and/or any
    attachments thereto, is strictly prohibited.

    This email is confidential and intended solely for the use of the
    individual or entity to whom it is addressed. If you have received this
    email in error please notify the system manager at mailadmin@bisys.com
    and delete the email immediately.

    Privileged and Confidential. This e-mail, and any attachments there to,
    is intended only for use by the addressee(s) named herein and may
    contain legally privileged or confidential information. If you have
    received this e-mail in error, please notify me immediately by a return
    e-mail and delete this e-mail. You are hereby notified that any
    dissemination, distribution or copying of this e-mail and/or any
    attachments thereto, is strictly prohibited.

    This electronic message transmission, including any attachments,
    contains information from PacifiCare Health Systems Inc. which may be
    confidential or privileged. The information is intended to be for the
    use of the individual or entity named above. If you are not the intended
    recipient, be aware that any disclosure, copying, distribution or use of
    the contents of this information is prohibited. If you have received
    this electronic transmission in error, please notify the sender
    immediately by a "reply to sender only" message and destroy all
    electronic and hard copies of the communication, including attachments.

    This email is confidential and intended solely for the use of the
    individual or entity to whom it is addressed. If you have received this
    email in error please notify the system manager at mailadmin@bisys.com
    and delete the email immediately.

    This email is confidential and intended solely for the use of the
    individual or entity to whom it is addressed. If you have received this
    email in error please notify the system manager at mailadmin@bisys.com and
    delete the email immediately.


  • Next message: Chafik,Basim: "Re: FTP"

    Relevant Pages

    • Re: vpath vs hdisk question
      ... Subject: vpath vs hdisk question ... IBM Redbooks website but didn't find much. ... Adpt# Adapter Name State Mode Select Errors Paths ... please notify me immediately by a return ...
      (AIX-L)
    • Re: vpath vs hdisk question
      ... Subject: vpath vs hdisk question ... Adpt# Adapter Name State Mode Select Errors Paths ... please notify me immediately by a return ... attachments thereto, is strictly prohibited. ...
      (AIX-L)
    • Re: vpath vs hdisk question
      ... Adpt# Adapter Name State Mode Select Errors Paths ... hdisk2 Available 11-08-01 IBM FC 2105800 ... email in error please notify the system manager at mailadmin@bisys.com ... This e-mail, and any attachments there to, ...
      (AIX-L)
    • Re: vpath vs hdisk question
      ... adapter and the storage device/switches ... Subject: vpath vs hdisk question ... Looks like fcs1 only has 2 paths to the disk. ... hdisk2 Available 11-08-01 IBM FC 2105800 ...
      (AIX-L)
    • Re: vpath vs hdisk question
      ... It looks like there is one fiber path from SAN switch to the Shark is down; ... Adpt# Adapter Name State Mode Select Errors Paths ... vpath vs hdisk question ...
      (AIX-L)