Operating System - HP-UX
1823144 Members
3670 Online
109647 Solutions
New Discussion юеВ

make_recovery with option -b fails

 
SOLVED
Go to solution
Pippo_9
Frequent Advisor

make_recovery with option -b fails

Hi all.

I have run the following command on a HP-UX 11.00 system:

/opt/ignite/bin/make_recovery -v -A -b /tmp/LIF -d /dev/rmt/0m.

It fails with this error:

make_recover(472): /usr/bin/dd failed, res = 512, errno=0 or errno=2

In makrec.log1 the following is contained:

Started - Mon Dec 1 14:47:45 2003
********
/opt/ignite/bin/make_recovery -v -A -b /tmp/LIF -d /dev/rmt/0m

********
Ended Unsuccessfully - Mon Dec 1 14:47:46 2003

I've checked space on /tmp and 900MB are available.

If I use make_recovery without the option -b everything goes fine.

On other apparently similar hp-ux systems the command with option -b has properly worked.


Any hints?

Thanks a lot

Miguel
10 REPLIES 10
Robert-Jan Goossens
Honored Contributor

Re: make_recovery with option -b fails

Hi Maguel,

Did you try an other tape ?

Robert-Jan
Steven E. Protter
Exalted Contributor

Re: make_recovery with option -b fails

Check permissions on /tmp/LIF

Try runnning a command that isn't obsolete. make_recovery may not be supported by HP any more.

/opt/ignite/bin/make_tape_recovery -Av -x inc_entire=vg00

A current version of Ignite(we're on 4.4) might be useful as well.

make_recovery has been out of date since before I registered for itrc.

You might find make_tape_recovery handles space issues better.

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
Pippo_9
Frequent Advisor

Re: make_recovery with option -b fails

Hi Robert-Jan.

Yes, I've tried with another, brand-new tape and didn't work.
I've also cleaned the tape driver.

Miguel
Cheryl Griffin
Honored Contributor

Re: make_recovery with option -b fails

The errors indicate that Ignite is out of date but there may also be a problem with the tape, tape drive or tape device.
"Downtime is a Crime."
Jean-Louis Phelix
Honored Contributor
Solution

Re: make_recovery with option -b fails

hi,

Don't known if it's a tipo, but you specified "-d /dev/rmt/0m" while a norewind device is required. 0mn would be the default, so simply delete your -d option. I think that the dd error concerns the tape, not the source LIF.

Regards.
It works for me (┬й Bill McNAMARA ...)
Bernhard Mueller
Honored Contributor

Re: make_recovery with option -b fails

Miguel,

what version do you have?

PLEASE: If possible upgrade to something > 3.3 and run
make_tape_recovery
With make_tape_recovery the equivalent to make_recovery -b /tmp/bootlif would be make_tape_recovery -B /tmp/bootlif

Also, you would never have been able to recover using the tapes you created using
make_recovery ... -d /dev/rmt/0m

You need to specify a *no-rewind* device!!!

make_recovery does *not* complain about the rewind device file (but your tape will be pretty much useless, unbootable anyway).

make_tape_recovery does complain if you specify a rewind tape device.

Regards
Bernhard
Pippo_9
Frequent Advisor

Re: make_recovery with option -b fails

Hi all.
But if it was a tape problem,
I think I hadn't been be able to successfully run make_recovery without -b option!!

Do you agree with me??

Miguel
Bernhard Mueller
Honored Contributor

Re: make_recovery with option -b fails

Miguel,

try re-running it with the same tape on the same drive with and without -b and if it consitently fails with -b and works without,
I would guess it is a bug.

To rule out any chances, you could
mkdir /tmp/mylifs ; chmod 777 /tmp/mylifs
make_recovery ... -b /tmp/mylifs/bootlif ...

Regards,
Bernhard
Jean-Louis Phelix
Honored Contributor

Re: make_recovery with option -b fails

Hi,

Perhaps you missed some posts ... a *NOREWIND* device is required, so if you don't specify any option, it will take /dev/rmt/0mn by default, which is correct. There is no link with -b option.

Regards.
It works for me (┬й Bill McNAMARA ...)
Pippo_9
Frequent Advisor

Re: make_recovery with option -b fails

Sorry for delay...
Problem was *NOREWIND* option used. Without -d option make_recovery takes default /dev/rmt/0mn as you said.

Thanks for your helps!

Miguel