From: John Jolet (john.jolet@FXFN.COM)
Date: Tue Jun 17 2003 - 10:37:07 EDT
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.
-----Original Message-----
From: Gene Sais [mailto:Gsais@CO.PALM-BEACH.FL.US]
Sent: Tuesday, June 17, 2003 8:52 AM
To: aix-l@Princeton.EDU
Subject: ESS Flashcopy question
I am trying to automate the establishing of flashcopies. I do the following commands in a shell script:
umount filesystems
varyoffvg volume groups
exportvg volume groups
execute flashcopy tasks
importvg volume groups virtual path
varyonvg volume groups
mount filesystems
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,
Gene
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:55 EDT