Operating System - HP-UX
1833770 Members
2345 Online
110063 Solutions
New Discussion

using make_tape_recovery but excluding /dev/vgbackup

 

using make_tape_recovery but excluding /dev/vgbackup

Hi,
a LUN for volume group (vgbackup) was removed without correct unmount. The logical part is still trying to look for the LUN. I made a make_tape_recovery trying to exclude /dev/vgbackup, but i got error messages. Is there any other way to make a backup like make_tape_recovery by excluding /dev/vgbackup, knowing that the volume group in trouble is still in lvmtab?
Christian Aguilar
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: using make_tape_recovery but excluding /dev/vgbackup

Hi:

You can include and/or exclude mountpoints or directories at will. See the manpages for 'make_tape_recovery'.

Regards!

...JRF...

Re: using make_tape_recovery but excluding /dev/vgbackup

Can you check the attache file?
When i run make_tape_recovery for entire vg00, i got problems because /dev/vgbackup is trying to be accessed. I executed make_tape_recovery by ecluding /dev/vgbackup. But i got the messages in the attached file.
Christian Aguilar
James R. Ferguson
Acclaimed Contributor

Re: using make_tape_recovery but excluding /dev/vgbackup

Hi (again):

The error is obvious!

ERROR: exclude /dev/vgbackup is invalid because essential files, whole disks, and volume groups cannot be excluded.

Why would you want to make a recovery tape when your server has been corrupted?!? The time to have made a tape was before disaster struck. I hope you have a good recovery image.

Regards!

...JRF...





Jeeshan
Honored Contributor

Re: using make_tape_recovery but excluding /dev/vgbackup

Dear Christian

You can follow the following steps

1. creat a file in / as named "gfile".
2. edit the gfile and add an entry like this
e /dev/vgbackup (this will exclude)
3.the run
# fbackup â v â g gfile â f /dev/rmt/0m


Happy moments!
a warrior never quits
Jeeshan
Honored Contributor

Re: using make_tape_recovery but excluding /dev/vgbackup

sorry

it's
fbackup -v -g gfile -f /dev/rmt/0m -I -x inc_entire=vg00
a warrior never quits