AIX

AIX

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


#Power
 View Only
  • 1.  Renumbering hdisks

    Posted Mon August 03, 2009 12:42 PM

    Originally posted by: sfoster


    I've got two drives (DS8300 SAN)numbered hdisk5 and 6. I am booted on hdisk5 (rootvg). For consistency, I'd like to renumber them to hdisk0 and 1. Any ideas?

    Thanks
    #AIX-Forum


  • 2.  Re: Renumbering hdisks

    Posted Mon August 03, 2009 12:45 PM

    Originally posted by: Holgervk


    unmirrorvg rootvg hdisk5
    rmdev -dl hdisk5
    cfgmgr #should give hdisk5 as hdisk0
    extendvg rootvg hdisk0
    mirrorvg rootvg

    -> same for hdisk6
    #AIX-Forum


  • 3.  Re: Renumbering hdisks

    Posted Mon August 03, 2009 01:56 PM

    Originally posted by: sfoster


    The drives aren't mirrored. Hdisk6 is empty. I rmdev -dl hdisk6, and run cfgmgr, still comes back as hdisk6.
    #AIX-Forum


  • 4.  Re: Renumbering hdisks

    Posted Mon August 03, 2009 06:51 PM

    Originally posted by: dukessd


    If AIX is assigning hdisk5 and 6 then there must have been a hdisk0 to hdisk4 at some point in the past.

    lsdev -Ccdisk will probably show them as defined.

    rmdev the old disks and hdisk6 then cfgmgr and hdisk6 should come back as 0, mirror it to 5 and then unmirror 5 and you should have rootvg on 0, then rmdev and reconfigure 5 and it should come back as 1, don't forget the bosboot and boot list.
    #AIX-Forum