Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mirror rootvg 1

Status
Not open for further replies.

schleife

Technical User
Feb 5, 2001
39
hi all,
I have a new rs/6000 with AIX 4.3.3.
I have 2 Disk's (2 * 36 GB).
I want to mirror the rootvg (hdisk0) to hdisk1 for backup.
What is to do for activating the mirroring.
What is to when hdisk0 crashes and i want to aktivate
hdisk1.

Thanks
Schleife
 
To mirror hdisk0 to hdisk1, first of all make sure hdisk1 in in the roog volume group.

Use the command lspv and you should see output similar to this.

hdisk0 00414caa61d42fd5 rootvg
hdisk1 00414caa1c3ac4b9 rootvg

If not, you may see something like this
hdisk0 00414caa61d42fd5 rootvg
hdisk1 00414caa1c3ac4b9 none

in which case you need to add hdisk1 to the root volume group.

To do this, use the command extendvg rootvg hdisk1

Next you need to mirror the actual volume group with the command

mirrorvg rootvg hdisk0 hdisk1

Once this has completed, enter

syncvg -v rootvg to synchronise the logical volumes

Next refresh your boot image with

bosboot -a

and finally update your bootlist with

bootlist -m normal hdisk0 hdisk1.

The reboot the system.

You can prove the system is mirrored by doing something like lslv hd5 and looking at the copies field which will now have the value of 2.


If hdisk0 should die at any point, hdisk1 will automatically be used by the system. Downtime will need to occur to swap out the disk and rebuild the mirrored vg, but the system should still run happily with the one working disc.

Hope that helps,



LHLTech
IBM CS - AIX V4.3 System Support
Halfway through CATE exams!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top