×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

AIX5.2 root mirroring

AIX5.2 root mirroring

AIX5.2 root mirroring

(OP)
Hello,

I have a need to mirror the root volume group (rootvg), can someone send me a straight forward dummy's guide on how to do this please?

I have been looking round the interweb and found stuff but each thing says something different sad

Cheers

Nick

RE: AIX5.2 root mirroring

Nick,
First bring in the disk, after mapping the disk on VIOS, run cfgmgr and you will see the new disk.
Steps:
1. run cfgmgr
2. change the disk attributes if any (like hcheck_interval time etc..,)
3. extendvg the disk to rootvg by running extendvg rootvg hdiskX (where X=disk no)
4. now mirror the disk, mirrorvg -S rootvg hdiskX (-S flag tells to sync in the background). It will return soon, but will take some time to sync all LV.
5. now check for mirror, lsvg -l rootvg (you should see PPs=2) and LV STATE=open/syncd
6. if at all you see any stale LV's use syncvg -v rootvg and that should sync then.
7. verify the bootlist, run bootlist -m normal -o

SARFARAZ AHMED SYED,
Sr. Systems Engineer

RE: AIX5.2 root mirroring

(OP)
Hello,

thanks for the quick response smile

Once all is mirrored do I need to also perform the following task?

• Run a bosboot on both new disks, this will install all software needed for boot on the disk
o bosboot -ad hdisk0
o bosboot -ad hdisk1

RE: AIX5.2 root mirroring

Oh, that was suppose to be my 7th step, I missed it and listed bootlist on it.

Any ways!! good luck.

SARFARAZ AHMED SYED,
Sr. Systems Engineer

RE: AIX5.2 root mirroring

(OP)
me again,

So just to be 100% sure, do I run the bosboot -ad command on both of the root disks or just the mirror i.e hdisk1 ?

Cheers

Nick

RE: AIX5.2 root mirroring

No harm in running on both disk. Also make sure you see hd5 on both disks.
you can add by running bootlist command.

SARFARAZ AHMED SYED,
Sr. Systems Engineer

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close