AIX

AIX

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


#Power
 View Only
  • 1.  replacing a internal disk

    Posted Thu February 23, 2012 08:01 AM

    Originally posted by: himacs


    Hi Admins,

    OS --> AIX 5.3

    Problem summary :

    one of the VG consists 4 internal hdisks with 1 Logical volume. One of the disk hdisk2 has some hardware problem and needs to be replaced with new disk.
    Currently hdisk2 is very much accessible.As a proactive step we are replacing the disk.

    Scenario : 1 VG --> 4 disks --> 1 LV

    steps to replacement

    vgreduce <vgname> hdisk2
    replace the disk
    cfgmgr
    vgextend <vgname> <new disk>
    restore the backup of hdisk2 into newdisk

    Backup of hdisk2 will be taken before replacement.After replacement and restoration , how new disk will sync with other available disks.
    Please let me know the standard steps to replace a disk

    Thanks in advance

    himacs
    #AIX-Forum


  • 2.  Re: replacing a internal disk

    Posted Thu February 23, 2012 08:50 PM

    Originally posted by: SystemAdmin


    Hello Himacs ,
    I think it will be easier if you add the new disk
    And add it to the vg then use migratepv from hdisk2 to the new disk.
    Let me know if this solution works at your env.

    Ahmed Ghazal
    Ahmed.Ghazal@intercom.com.eg
    #AIX-Forum


  • 3.  Re: replacing a internal disk

    Posted Fri February 24, 2012 04:35 AM

    Originally posted by: himacs


    Hi Ahmed,

    Thanks for the response.migratepv is the good option .But free slot should be there to insert newdisk.Because we can only remove old disk after migratepv.

    Suppose if, free slot is not there ,then how to proceed.

    Regards
    himacs
    #AIX-Forum


  • 4.  Re: replacing a internal disk

    Posted Fri February 24, 2012 01:46 PM

    Originally posted by: SystemAdmin


    hi Himacs,

    try copying all the logical volumes from hdisk2 to any existing disk that have capacit for this ,

    http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.baseadmn%2Fdoc%2Fbaseadmndita%2Flvmmt_copylogvol.htm
    #AIX-Forum