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!

Please dat is very urgent How ca

Status
Not open for further replies.

bahija

Technical User
Jan 17, 2002
9
0
0
BE
Please dat is very urgent

How can restore a volume group from tape that contains two volumes groups saved with savevg command like:
# !/bin/ksh
mt -f /dev/rmt0 rewind
for i in datavg localvg
do
savevg -vif /dev/rmt0.1 $i
HMS=`date +"%T"`
echo $HMS": Backup $i completed successfully ! "
done
HMS=`date +"%T"`
echo $HMS": ALL DONE"
mt -f /dev/rmt0 rewind

I will restor localvg
I have tried:

# tctl fsf 1
# restvg -q -f /dev/rmt0 hdisk4
and i had the error

0512-029 restvg: There is not enough Room in the specified disks for the volume
group. Restore of Volume Group canceled.

Thanks in advance.

 
bahija,

Is there more than one physical disk in localvg ??

If not,

Is there anything on hdisk4 ?

lspv hdisk4

If there is I would be inclined to remove the filesystems and the volume group so the disk is not associated to any volume group. Then try the restore again.

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top