how can i remove and rebuild the mirroring for rootvg


 
Thread Tools Search this Thread
Operating Systems AIX how can i remove and rebuild the mirroring for rootvg
# 1  
Old 03-12-2011
how can i remove and rebuild the mirroring for rootvg

how can i remove and rebuild the mirroring for rootvg before applying any patches on the system .
# 2  
Old 03-12-2011
Hi,

this assumes you have hdisk0 and hdisk1 as rootvg mirror and two sysdump devices called lg_dumplv + lg_dumplv2:

to unmirror and 'clone' the root disk to the freed up disk where you can boot from back into the original if anything goes wrong during your patching:
Code:
unmirrorvg rootvg hdisk1
migratepv hdisk1 hdisk0
reducevg rootvg hdisk1
bosboot -ad /dev/hdisk0
bootlist -m normal hdisk0
alt_disk_copy -P "all" -B -d hdisk1

and to mirror again:
Code:
alt_disk_install -X
extendvg -f rootvg hdisk1
mirrorvg rootvg
migratelv -l lg_dumplv2 hdisk0 hdisk1
bosboot -ad /dev/hdisk0
bosboot -ad /dev/hdisk1
bootlist -m normal hdisk0 hdisk1

alternatively you could remove the second dumpdevice before you unmirror - and recreate it after you mirror again.

Hope that helps
kind regards
zxmaus
This User Gave Thanks to zxmaus For This Post:
# 3  
Old 03-12-2011
thanks alot man Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Kernel not rebuild

hi, system operation: unix sco 3.2.4 Kernel not rebuild, do not remove or update tcp/ip e3H0 driver. messages: cat:cannot open../sdevice.d/5 line:5.1 32 -1 fatal error:mdevice:wrong number of fields idmaster:device do not exist in therefore can not be update idinstall: cannot... (0 Replies)
Discussion started by: milen
0 Replies

2. AIX

stop and start the mirroring on rootvg !

How to can I stop and start the mirroring on rootvg How to can I know if the mirroring enabled or disabled in the rootvg Please explain and advice! P690_root/>lspv hdisk0------- 00c52c221cf77869---------------------rootvg------- active hdisk1-------... (1 Reply)
Discussion started by: Mr.AIX
1 Replies

3. AIX

mirroring rootvg

I would like to konw wheather below steps are sufficient for mirroring rootvg. extendvg rootvg hdisk1 mirrorvg rootvg bootlist -m normal hdisk0 hdisk1 bosboot -ad hdisk0 bosboot -ad hdisk1 or anything needs to be added. (7 Replies)
Discussion started by: manoj.solaris
7 Replies

4. BSD

rebuild the portsystem

hi Howto rebuild the whole portsystem on freeBSD? THX (3 Replies)
Discussion started by: ccc
3 Replies

5. AIX

rootvg mirroring query

Hi, I am having query regarding rootvg mirroring, How to find out that rootvg is mirrored? Regards Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies

6. HP-UX

How to rebuild a new disk

Hi.... I newbee to this and wanted help on hpux11 system. Disk is being replaced and need to rebuild and what r the commands I need to perform after the disk is swapped :confused: Thanks! (1 Reply)
Discussion started by: catwomen
1 Replies

7. UNIX for Dummies Questions & Answers

Rebuild command

I want to convert a Microfocus Sequential file to a Line Sequential Variable file. The reason I want to do this is so that I can upload the file from a UNIX box to a PC as a text file. I know that there is a command called "rebuild" that will allow me to convert the files, but I can not get it to... (1 Reply)
Discussion started by: douknownam
1 Replies

8. UNIX for Advanced & Expert Users

best way to rebuild a kernel

i really have an issue with the otherwise outstading FreeBSD Handbook when it comes to kernel building. information on the proper steps to take is really confusing. i think that chapters 9 and 21 need to be combined to give a very concise format on how best to deal with kernel building/rebuidling... (1 Reply)
Discussion started by: xyyz
1 Replies

9. UNIX for Dummies Questions & Answers

Need to rebuild and install the kernel.

Trying to install some ide raid drivers (to add some more hdds) and the instrcutions have toled me to modify some code in the kernel folder in usr/src (this is mandrake linux 9 btw). I need to then rebuild the kernel, how do I do this? Is there some file that I bring up for a whole c project (the... (2 Replies)
Discussion started by: pudad
2 Replies

10. IP Networking

TCP stream rebuild

If you have used snort to build a folder list of computers IP and their packets is there a tcp stream follow application that can be used to re-build the packets? Like ethereal? (1 Reply)
Discussion started by: macdonto
1 Replies
Login or Register to Ask a Question