Operating System - HP-UX
1835956 Members
2325 Online
110088 Solutions
New Discussion

Re: How could I do only a make_recovery of system's filesystem from vg00?

 
SOLVED
Go to solution
Carme Torca
Super Advisor

How could I do only a make_recovery of system's filesystem from vg00?

Hi,

I have vg00 with:
dev/vg00/lvol3 147456 48607 92687 34% /
/dev/vg00/lvol1 95701 31748 54382 37% /stand
/dev/vg00/lvol8 2097152 643369 1362970 32% /var
/dev/vg00/lvol7 1048576 616493 405100 60% /usr
/dev/vg00/lvol9 12582912 6197836 6185548 50% /users
/dev/vg00/lvol4 409600 41969 345383 11% /tmp
/dev/vg00/lvol6 753664 359985 369112 49% /opt
/dev/vg00/lvol5 32768 13268 18318 42% /home
/dev/vg00/lvol12 10485760 10091004 382512 96% /disc1
/dev/vg00/lvol14 950272 9756 881791 1% /export
/dev/vg00/lvol10 4194304 499432 3464003 13% /dskcopia31
/dev/vg00/lvol13 10485760 9287966 1160398 89% /disc2

And I only want to do a make_recovery of system's filesystem.
Where I have to put this?, is there any file?
Thanks!
Carmen.
Users are not too bad ;-)
9 REPLIES 9
Stefan Farrelly
Honored Contributor

Re: How could I do only a make_recovery of system's filesystem from vg00?

You need to use make_recovery to make a bootable ignite tape of VG00 only using this command;

/opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -v -x inc_entire=vg00
Im from Palmerston North, New Zealand, but somehow ended up in London...
RAC_1
Honored Contributor

Re: How could I do only a make_recovery of system's filesystem from vg00?

First check you have latest ignite installed.

Check -x option.

make_tape_recovery -x inc_entire=vg00 -a /dev/rmt/0mn
There is no substitute to HARDWORK
Zigor Buruaga
Esteemed Contributor

Re: How could I do only a make_recovery of system's filesystem from vg00?

Hi,

Looking at the "make_tape_recovery" man page, to exclude directories use:

-x exclude=/your_dir

in the command line.
But not sure if that is what you are asking.

HTH
Kind regards,
Zigor
Bernhard Mueller
Honored Contributor
Solution

Re: How could I do only a make_recovery of system's filesystem from vg00?

Carmen,

I understand you only want to put "pure UNIX" into the recovery archive.

If that is what you want you can e.g. include all the vg00 *and* exclude the filesystems on lvols 9, 10, 12, 13 14
(btw, is lvol11 used as swap?)

e.g.
make_tape_recovery -x inc_entire=vg00 -x exclude=/disc1 -x exclude=/disc2 -x exclude=/dskcopia31 -x exclude=/export -x exclude=/users -I -a /dev/rmt/0mn

guess you get the idea.

Regards
Bernhard
Uday_S_Ankolekar
Honored Contributor

Re: How could I do only a make_recovery of system's filesystem from vg00?

If you want to create ignite tape for the VG00 you should first install ignite software which free and available at the site given below

You can then run make_tape_recovery command to save this important file system.

/usr/share/doc had more information on ignite and recovery. also do a man make_tape_recovery for various examples.

command for make_tape_recovery:
/opt/ignite/bin/make_tape_recovery -a -I -m tar -t "$(uname -n) title for system recovery tape" -v -x inc_entire=vg00

And ignite software is available here:

http://www.software.hp.com/products/IUX/download.html

-USA..
Good Luck..
Carme Torca
Super Advisor

Re: How could I do only a make_recovery of system's filesystem from vg00?

I would like to do a make_recovery only of:

/
/stand
/var
/usr
/tmp
/opt
/home

and I want to exclude
/users
/disc1
/export
/dskcopia31
/disc2
Users are not too bad ;-)
Bernhard Mueller
Honored Contributor

Re: How could I do only a make_recovery of system's filesystem from vg00?

Carmen,

that is what I assumed. So you can use the syntax with the -x inc_entire=vg00 plus multiple -x exclude=MOUNT_POINT arguments.

This will (in case you need it) recover a running UNIX system with *empty* filesystems mounted on /disc1 /disc2 etc.

Regards,
Bernhard
Bernhard Mueller
Honored Contributor

Re: How could I do only a make_recovery of system's filesystem from vg00?

Carmen,

to clarify: you need to use make_tape_recovery. The *old* make_recovery command does not have the flexibility to include/exclude with these -x options.

IF you ABSOLUTELY MUST use make_recovery, then your only choice is *not* to use -A but instead fool with the /opt/ignite/recovery/mnr_essentails file to include lines stating /opt /var /home /tmp at the end of the file.

Regards,
Bernhard
Patrick Wallek
Honored Contributor

Re: How could I do only a make_recovery of system's filesystem from vg00?

You need to do the following:

# /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -m tar -v -x inc_entire=vg00 -x exlucde=/users -x exclude=/disc1 -x exclude=/export -x exclude=/dskcopia31 -x exclude=/disk2