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!

Savevg ....

Status
Not open for further replies.

LeDam

IS-IT--Management
Oct 10, 2001
210
BE
If a save a vg on a tape, could y use importvg to restore it on another server??
My disk is broken, we couldn't write on it (it's not the rootvg disk). I want to save NAMEVG on tape and put this vg on an other server.
Is it possible?
 
Rather than use "importvg" you would use "restvg"
It would be easy to do.

Bill.
 
yep as long as you have that savevg made before it died....you can move it to another machine...restore from tape and life is good....

Restoring a savevg
Determine which drive to use to make up the restored volume group. A volume group CANNOT already exist on the physical drive that you use. Be sure to select all target physical drives.

Using SMIT, enter:
smit restvg
Restore DEVICE or FILE [/dev/rmt0]
SHRINK the filesystems? no
PHYSICAL VOLUME names [ ]
(Leave blank to use the PHYSICAL VOLUMES listed
in the vgname.data file in the backup image)
Number of BLOCKS to read in a single input [ ]
(Leave blank to use a system default)

Be sure to select all physical volumes that will make up the new volume group.

To restore from the command line, enter:
restvg -f /dev/rmt# hdisk# {hdisk# ...}
 
I'will try it today...
Thanks for all!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top