Re: ESS Flashcopy question
From: John Jolet (john.jolet_at_FXFN.COM)
Date: Tue, 17 Jun 2003 09:37:07 -0500 To: aix-l@Princeton.EDU
we're planning on doing this with flashcopy on a fastt unit, and have experimented, but no production code...using recreatevg does not give us an error on subsequent runs. the fastt software comes with a utility called SMdevices which lists the hdisk to logical disk relationship...we're parsing that output for the hdisk to feed recreatevg.
From: Gene Sais [mailto:Gsais@CO.PALM-BEACH.FL.US]
Sent: Tuesday, June 17, 2003 8:52 AM
Subject: ESS Flashcopy question
I am trying to automate the establishing of flashcopies. I do the following commands in a shell script:
varyoffvg volume groups
exportvg volume groups
execute flashcopy tasks
importvg volume groups virtual path
varyonvg volume groups
This works great the 1st time. On subsequent times, the importvg fails with
0516-304 getlvodm: Unable to find device id ...
This is a P630 running AIX 5.1. Reading documentation, it appears I could use recreatevg instead of importvg, but it requires the hdisk values.
Question: Should I use recreatevg or importvg? Advantages/disadvantages?
Thanks for your help,