AIX

AIX

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


#Power
#Power
 View Only
  • 1.  AIX 5.3 mirror disk

    Posted Tue April 24, 2007 08:33 AM

    Originally posted by: SystemAdmin


    Hi,

    I am using smitty to mirror the rootvg (software mirror). after perfrom the mirror and change the boot record. I can see the file system is sync from disk0 to disk1 using lspv command but when I create the new file system and install new software. I see the disk0 data/file system can't be sync to disk1. How can i config the mirror auto sync from disk0 to disk1 once any update?

    Thanks
    #AIX-Forum


  • 2.  Re: AIX 5.3 mirror disk

    Posted Tue April 24, 2007 09:44 AM

    Originally posted by: orphy


    You'll have to manually create the mirror every time you create a NEW
    FS/LV. See mklvcopy for more info. All existing mirrors are autosynced
    for you so you don't have to worry about them.
    Orphy
    #AIX-Forum


  • 3.  Re: AIX 5.3 mirror disk

    Posted Fri April 27, 2007 02:19 AM

    Originally posted by: Wakkman


    Yes, that's absolutely correct. Now, I don't know about you, but this is actually a quite common mistake to make, that issue that you just described. Many people tend to treat mirroring in AIX like it would be a Windows-box or something like that. With that I mean that they expect that the mirrorvg-command is actually mirroring a whole disk to another whole disk.

    LVM is a little bit different, but I'm not going to dive into LVM generally. However, the mirrorvg command simply mirrors existing logical volumes to an another disk (or to the same disk, that is free to you to choose). When you create new logical volumes, these are not automatically mirrored, you'll have to use mklvcopy-command to mirror them, just like Orphy wrote. In other words, you are putting mirroring between logical volumes.

    / Wakkman


    #AIX-Forum


  • 4.  Re: AIX 5.3 mirror disk

    Posted Tue May 01, 2007 10:07 AM

    Originally posted by: SystemAdmin


    CAN I UNDERSTAND mirror = mksysb ?
    #AIX-Forum


  • 5.  Re: AIX 5.3 mirror disk

    Posted Tue May 01, 2007 12:09 PM

    Originally posted by: orphy


    They are two complete different things. Mksysb is essentially a backup
    of your OS (rootvg) but you don't mirror that. What you mirror is
    logical volumes which could be part of rootvg or any other VGs.

    http://www.redbooks.ibm.com/abstracts/sg245432.html?Open
    http://publib16.boulder.ibm.com/pseries/en_US/cmds/aixcmds3/mksysb.htm
    Orphy
    #AIX-Forum