i am just wondering, if i do mirrorvg rootvg, against the smitty mirrorvg then specify the hdisk there in the smitty menu like hdisk1, what is the difference? does it mean i am using in the command line like mirrorvg -m rootvg?
If you do mirrorvg rootvg -m rootvg, the system 'll take the first free disk in rootvg do act as mirror. If hdisk1 is the first disk like shown in smit, the system will do the same thing as if you've send the command yout self.
Try to use F6 in smit to see what command it will send
when you do smitty mirrorvg and specify the physical volume
it runs smitty mirrorvg hdiskx ( mirrors the LVs on hdiskx specified the order in which is mirrors the LV's I think it takes the biggest first ??)
also part of the options in smitty mirrorvg, ' is do you want to create a map of the disk- slect yes/no) this is the -m option and you MUST specify a disk with this option, basically creates an exact copy of source disk i.e. if 1-10pps were / then 1-10pps will be root for other disk same place etc..
If you don't specify any disks when running mirrorvg vgname
then it bases the mirroring on the way you created your LV i.e. whether you used strictness policy , and starts mirroring using the disk with the most disk space first .
If you manually want to mirror the LV's you can do this aswell using mklvcopy
smitty mklvcopy i.e mklvcopy '-k' hd2 2 hdisk1
( mirror LV hd2 to hdisk1) -k to synchronise the LV)
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.