Mirroring ROOTVG Steps

Published on June 2016 | Categories: Documents | Downloads: 15 | Comments: 0 | Views: 118
of 2
Download PDF   Embed   Report

Comments

Content

Mirroring ROOTVG Steps
Saturday, March 20, 2010 9:20 PM

When installing disk, rescan hardware in AIX: # cfgmr

Verify the new disk added (eg: newhdisk1) # lsdev -Cc disk
Check if there's a disk error: # errpt -a ROOTVG MIRRORING PROCEDURE: Since we already have a, Root Volume Group “rootvg” # lsvg -p rootvg rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk0 active 546 488 109..74..87..109..109 for our mirror, all we need to do is extend it onto the second disk “hdisk1″. The first disk is “hdisk0″. # extendvg rootvg newhdisk1 0516-1254 extendvg: Changing the PVID in the ODM. Checking the rootvg again, we see now that there are two disks on this volume group: # lsvg -p rootvg rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk0 active 546 488 109..74..87..109..109 newhdisk1 active 546 546 110..109..109..109..109

We then turn off the disk quorum: # chvg -Qn rootvg
Then continue on the mirroring process: # mirrorvg -s rootvg # syncvg -v rootvg hdisk0 newhdisk1 Initialize all boot records and devices, using the following command: # bosboot -a Initialize the boot list with the following command: # bootlist -m normal hdisk0 newhdisk1 Check if LV's are mirrored # lsvg -l rootvg If one of the LV's are not mirrored follow the steps: # smitty mklvcopy - Add copies to LV  Select the LV that is not copied  NEW TOTAL number of logical partition?: 2  PHYSICAL VOLUME names: hdisk0 newhdisk1
AIX HOW TO - Tutorials Page 1

 PHYSICAL VOLUME names: hdisk0 newhdisk1  Allocate each logical partition copy on a SEPARATE physical volume? YES  SYNCHRONIZE the data in the new logical partition copies?: NO Restart AIX: # shutdown -Fr now

AIX HOW TO - Tutorials Page 2

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close