Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mirriong vg rootvg

Status
Not open for further replies.

bonsky

MIS
Apr 23, 2001
280
US
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?

thanks!
 
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
 
hi

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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top