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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Savevg/Restvg 1

Status
Not open for further replies.

HDUNIX

MIS
Oct 8, 2004
2
US
brci626:/tmp/vgdata/system_vg# restvg -f /tmp/vgdata/system_vg

0512-025 restvg: The image data file does not exist. Restore of Volume Group canceled.

brci626:/tmp/vgdata/system_vg# restvg -f /tmp/vgdata/system_vg/system_vg.data

0512-025 restvg: The image data file does not exist. Restore of Volume Group canceled.
-----------------------
Here is my savevg:

brci626:/tmp/vgdata/system_vg# savevg -i -f /tmp/vgdata/system_vg system_vg

Creating information file for volume group system_vg.

Creating list of files to back up.
Backing up 6230 filesbackup: 0511-089 Cannot open /tmp/vgdata/system_vg: Cannot write to a directory.

6230 of 6230 files (100%)
0512-005 savevg: Backup Completed.
The backup command completed with errors.
The messages displayed on Standard Error contained additional
information.
------------------------------

I would like to know how to use restvg to recreate the
lv files after the restore of mksysb. What is wrong with my
restvg command? How do i use it correctly?


Thanks in advance

 
hi ,

your command savevg -i -f /tmp/vgdata/system_vg system_vg

I think your command is failing because your file name and directory name are the same , try

savevg -i -f /tmp/vgdata/system_vg.savevg system_vg

also check the directory /tmp/vgdata exists

then use youre restvg command using system_vg.savevg file

hth

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top