1835215 Members
2529 Online
110078 Solutions
New Discussion

make_recovery

 
Cathy Arora
Frequent Advisor

make_recovery

Hi All;
Does anyone know if it is possible to do make_recovery on volume group instead of on tape.
It may not make sense but I just want to see if ignite works and I do not have available tape to do it.

if it does what is the command?

Thanks very much.
raj
7 REPLIES 7
Chris Watkins_1
Respected Contributor

Re: make_recovery

To get proof of your commandline options working, and
to see what errors, if any, would have occurred,
you may simply use the "-p" option, which is preview mode.

Also, make_recovery is an obsoleted command, I believe.
The new command is make_tape_recovery. ie... for preview:
# make_tape_recovery -I -x inc_entire=vg00 -p

To actually create the thing, give it a no-rewind tape device.
(Or, it will default to /dev/rmt/0mn if available)
# make_tape_recovery -I -x inc_entire=vg00 -a /dev/rmt/4mn


I'm assuming you're not running an ignite server, but a
standalone machine. If you run the server, you can use
that machine to hold boot images of many others... but not itself.

Hope that helps!
Not without 2 backups and an Ignite image!
Steven E. Protter
Exalted Contributor

Re: make_recovery

You can run make_sys_image and specify a local or NFS mount to store the archive.


Example:

/usr/contrib/bin/make_sys_image -d /images -s local -u

This will mess with your networking, /etc/passwd and /etc/group for short periods of time.

You could also use make_net_recovery

Here is an example of that.

make_net_recovery -s tzfat -a tzfat:/images/tzfat.juf.net -x inc_entire=vg00



SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Cathy Arora
Frequent Advisor

Re: make_recovery

Thanks all;
I and sorry about not being able to submit points earlier. Network problems.
raj
Cathy Arora
Frequent Advisor

Re: make_recovery

does that mean that I cannot make a recovery on vg01 or any partition that might be available to me.

Also how do i know I have ignite server?
raj
Cathy Arora
Frequent Advisor

Re: make_recovery

when try following option
make_tape_recovery -I -x inc_entire=vg00 -p
i get
this message -
* Creating local directories for configuration files and archive.

======= 12/26/03 16:42:22 EST Started make_tape_recovery. (Fri Dec 26
16:42:22 EST 2003)
@(#) Ignite-UX Revision B.3.8.201
@(#) net_recovery (opt) $Revision: 10.589 $

* Testing pax for needed patch
* Passed pax tests.
* Checking Versions of Ignite-UX filesets
ERROR: Cannot stat device file: /dev/vg01/lvol1: No such file or directory
(errno = 2). Check /etc/fstab for a bad entry.
ERROR: The list_expander command failed. This could be due to a problem with
the -x options specified - see messages above.
Any idea where to go from here.
raj
Chris Watkins_1
Respected Contributor

Re: make_recovery

You may add multiple "-x inc_entire vgXX" entries as needed.
Man make_tape_recovery for full options.
(You can include/exclude specifics... add a description, etc...)

As for the error you report, check your /etc/fstab file
to see if you have an old entry to an lvol which doesn't exist.
If so, comment it out or remove it from /etc/fstab.
Not without 2 backups and an Ignite image!
Chris Watkins_1
Respected Contributor

Re: make_recovery

Forgot the "How do I know if I have Ignite server?" part.

If it's your only machine, I'd doubt it.
# ignite
From the command line, will start the gui if you do.
This will be in /opt/ignite/bin/ if you have it.
(It won't do you much good, however, if this is a standalone box.)

If this is a personal workstation, around no other HP machines,
I'd concentrate on getting a tape drive somehow.
If it's at work, and your datacenter has several hp boxen,
then surely there's an ignite server somewhere.
Ask your sysadmin, in that case... he/she will know for sure.



Not without 2 backups and an Ignite image!