Computing.Net > Forums > Unix > disk mirroring in AIX

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

disk mirroring in AIX

Reply to Message Icon

Name: yoga
Date: April 1, 2002 at 21:39:13 Pacific
Comment:

I have to configure disk mirroring in IBM pSeries 610 / 6C1 AIX machine which has six 36gb SCSI hotswap hard disks (not SSA). ROOTVG is created on hdisk0 and DATAVG created on hdisk1. I don't want to do mirroring for ROOTVG. Only for DATAVG i want to do mirroring on any other disks like hdisk2,3,4,5. I want to do it in command line and not SMITTY.

If anybody knows, please help me.

Thanks and regards.




Sponsored Link
Ads by Google

Response Number 1
Name: Ron van Holk
Date: April 18, 2002 at 14:55:50 Pacific
Reply:

First select the disk which you want to use for the mirror, ideal would be an disk which is attached to a differant scsi adapter.
Then add the disk to the datavg like:
extendvg datavg hdiskx

than you can create the mirror by using the mirrorvg command ,
mirrorvg -m datavg hdiskx
hdiskx is your destination disk !

After that Quorum will be disabled for the volumegroup ,to activate this the volumgroup must be varied off and varied on.

You can add the -S flag to the command which causes the synchronizing of the disks to happen in the background.

A more back to the basics option is to
create the mirroring by yourself by creating copies of each separate logical volume, this can be done by using the mklvcopy command.

To remove mirroring , use the unmirrorvg command or the rmlvcopy command.

For more information on the above commands you could take a peek at the man pages.

Well thats about it, good luck.

Ron van Holk


0
Reply to Message Icon

Related Posts

See More


want to know my id addres... realtek sn3200ct network ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: disk mirroring in AIX

Displaying date-7 in AIX www.computing.net/answers/unix/displaying-date7-in-aix/7691.html

Change IP address in AIX www.computing.net/answers/unix/change-ip-address-in-aix/4134.html

Seperate gateways for Cards in AIX www.computing.net/answers/unix/seperate-gateways-for-cards-in-aix-/3709.html