AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Pb with hd5 when boot from SAN

    Posted Fri July 15, 2011 11:13 AM

    Originally posted by: dududu123


    Hi,

    AIX 5.2
    I use Clariion with powerpath
    I boot on SAN

    hd5 is on hdisk0
    the path hdisk0 is no more there

    I want to boot on hdisk9 (same LUN on the clariion)

    I can change bootlist
    I can change ipldevice
    but bosboot –ad /dev/ipldevice doesn’t work
    (it says hd5 is not on hdisk9 0301-168)

    can I move hd5 to hdisk9 ?
    or
    can I boot with no problem even if bosboot didn’t work ?

    Thanks for your help


  • 2.  Re: Pb with hd5 when boot from SAN

    Posted Fri July 15, 2011 02:01 PM

    Originally posted by: SystemAdmin


    bosboot -ad /dev/hdisk9
    bootlist -m normal hdisk9

    That is assuming that hdisk9 was mirrored to hdisk0 ?

    Charlie


  • 3.  Re: Pb with hd5 when boot from SAN

    Posted Fri July 15, 2011 02:12 PM

    Originally posted by: SystemAdmin


    And ... actually , as I reread your post .... I may be getting confused ......
    you were san booting to a clarion lun ... hdisk0 on your aix box. lost the path to hdisk0 ....
    now you want to boot to hdisk9 .... which is the same lun ?
    your system is up and running ?
    Was hdisk0 / rootvg mirrored ?

    Just trying to see your config more clearly ....

    Charlie


  • 4.  Re: Pb with hd5 when boot from SAN

    Posted Fri July 15, 2011 04:12 PM

    Originally posted by: dududu123


    Hi

    Thanks

    rootvg is not mirrored (by AIX)
    because it is on the Clariion (hardware RAID)
    any idea ?

    Thanks

    lsvg -p rootvg
    hdisk0

    system is up and running


  • 5.  Re: Pb with hd5 when boot from SAN

    Posted Sat July 16, 2011 01:58 PM

    Originally posted by: SystemAdmin


    extendvg rootvg hdisk9
    mirrorvg -S rootvg
    bosboot -ad /dev/hdisk0
    bosboot -ad /dev/hdisk9
    bootlist -m normal hdisk9
    shutdown -Fr


  • 6.  Re: Pb with hd5 when boot from SAN

    Posted Sun July 17, 2011 07:59 AM

    Originally posted by: dududu123


    Thanks

    I got the following error
    (maybe because hdisk0 is no more present)

    any help ???

    U28:root:/#extendvg rootvg hdisk9
    0516-008 extendvg: LVM system call returned an unknown
    error code (-1).
    0516-792 extendvg: Unable to extend volume group.

    U28:root:/#lsvg -p rootvg
    rootvg:
    PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
    hdisk0 active 159 19 04..00..00..00..15

    U28:root:/#lslv -m hd5
    hd5:N/A
    LP PP1 PV1 PP2 PV2 PP3 PV3
    0001 0001 hdisk0

    U28:root:/#lspv | grep rootvg
    hdisk0 000b64c2c30f1f2e rootvg active
    hdisk12 000b64c2c30f1f2e rootvg active
    hdisk7 000b64c2c30f1f2e rootvg active
    hdisk16 000b64c2c30f1f2e rootvg active
    hdisk25 000b64c2c30f1f2e rootvg active
    hdisk27 000b64c2c30f1f2e rootvg active
    U28:root:/#powermt display dev=hdiskpower0
    Pseudo name=hdiskpower0
    CLARiiON ID=CKM00092800197 CBSU28
    Logical device ID=600601609A0E2600AA15F28CB8D6DF11 LUN 692
    state=alive; policy=CLAROpt; priority=0; queued-IOs=0
    Owner: default=SP A, current=SP B Array failover mode: 3
    ==============================================================================

    Host
    - Stor - -- I/O Path - -- Stats ---
    1. HW Path I/O Paths Interf. Mode State Q-IOs Errors
    ==============================================================================
    2 fscsi0 hdisk10 SP B2 active alive 0 0
    1 fscsi1 hdisk12 SP A4 active alive 0 0
    2 fscsi0 hdisk13 SP A3 active alive 0 0
    2 fscsi0 hdisk15 SP B4 active alive 0 0
    1 fscsi1 hdisk16 SP A0 active alive 0 0
    2 fscsi0 hdisk18 SP A5 active alive 0 0
    1 fscsi1 hdisk25 SP B5 active alive 0 0
    1 fscsi1 hdisk27 SP B1 active alive 0 0
    2 fscsi0 hdisk2 SP B0 active alive 0 0
    2 fscsi0 hdisk6 SP A1 active alive 0 0
    1 fscsi1 hdisk7 SP A2 active alive 0 0
    1 fscsi1 hdisk9 SP B3 active alive 0 0


  • 7.  Re: Pb with hd5 when boot from SAN

    Posted Mon July 18, 2011 01:49 PM

    Originally posted by: mmveiga


    Hi,

    So you are using PowerPath on rootvg, did you follow all the recommendations from the EMC PowerPath for AIX Installation and Administration Guide ? There is one chapter called Configuring a PowerPath Boot Device on AIX and there are some special considerations for EMC Clariion .

    Regards,
    Marcelo.


  • 8.  Re: Pb with hd5 when boot from SAN

    Posted Fri July 15, 2011 02:30 PM

    Originally posted by: mmveiga


    What is the output of lsvg -p rootvg ?

    Marcelo


  • 9.  Re: Pb with hd5 when boot from SAN

    Posted Mon July 18, 2011 09:45 AM

    Originally posted by: SystemAdmin


    This particular issue is most likely related to an error in the AIX file /usr/bin/mkszfile. This has been fixed in AIX 6.1 and 7.1 with APAR IZ85870 and IZ87472. I didn't see such a fix for AIX 5.2 or 5.3.