if you want to clone yor root disk onto another disk so that you can install/upgrade the system while it is till up and running , you can use alt_disk_install to clone rootvg onto another disk and work on it whilst users still using the normal disk. This is alvailable in AIX 4.3 and requires
filesets to be installed before you can use this command. Filesets should be on AIX 4.3 OS CD's
Have a look at this site if this is what you are looking for :-
If your rootvg consist of 1 disk only, or is mirrored but 1 disk can hold the whole mirror, you can also use mirrorvg or mklvcopy commands.
mirrorvg is suitable when your rootvg is not mirrored. In this case you have to use extendvg to include a new empty disk in rootvg, and run mirrorvg rootvg and after VG is synced, thus mirror is consistent, you have to run bosboot -a, then you can use reducevg to export new disk from rootvg. Now you have an exact copy of your rootvg.
You can also use mklycopy instead of mirrorvg to set LV-s mirrored one by one.
Morsing: yeah. I told wrong. However there is a simple procedure to detach a mirror copy while keeping it in useable condition. I am running a lookup im my brains I will provide the solution a bit later.
trifo, be sure to come back with that info. sounds like something i would have to do one day. i already have a process to merge two vg into one, and it is not pretty but it works.
Sly77: Although for the original quiestion: to clone the rootvg to another disk, create an mksysb tape, shut down, change the disk containing rootvg to an empty one, and boot from mksysb tape. When the system restore ends, reboot again, shut down, change disks back, and put newly created rootvg clone to a safe place (to te drawer in your desk )
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.