Operating System - HP-UX
1833875 Members
1618 Online
110063 Solutions
New Discussion

make_net_recovery to a tape

 
Bakos György
Super Advisor

make_net_recovery to a tape

I think this command below must work, but my problem is that on SERVERB is to few place, but on this machine I have a tape drive, what must I do, when I want to make a the recovery boot tape direct over the net?
(Another question: If i had the place for make_net_recovery, how can I make from this image a boot image?)
SERVERA:

- I created a dir. /archives/SERVERB and give its ownership "bin"

- Edit /etc/exports:
/archives/SERVERB -anon=2,access=SERVERB
/var/opt/ignite/clients -anon=2
- exportfs -av

SERVERB:
-make_net_recovery -x inc_entire=vg00 -s SERVERA -a SERVERA:/archives/SERVERB
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: make_net_recovery to a tape

In a standard HP-UX installation, you can not use the tape drive on hostb from hosta.

To accomplish your goal, will be a two step process

make_net_recovery from hosta to hostb

A command to copy the archive to tape run on hostb

If a tape drive is available make_tape_recovery is good too.

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
John Carr_2
Honored Contributor

Re: make_net_recovery to a tape

Hi as SEP says you should use the make_tape_recovery command which can share tape devices across the network but you must have tftp enabled as ignite uses this.

:-) John.
Bakos György
Super Advisor

Re: make_net_recovery to a tape

Aha
only 2 question:
-If I had this space for make_net_recovery, how can I make from this image file on a partition, a boot tape?
-What must I do to share the tape drive on tftp with make_tape_recovery?
Elmar P. Kolkman
Honored Contributor

Re: make_net_recovery to a tape

I haven't tried it, but have you tried using remote tapedevices like this:
make_tape_recovery -ACvi SERVERA:/dev/rmt/0mn

It might be you need to add root from SERVERB into the .rhosts file on SERVERA or add SERVERB into /etc/hosts.equiv on SERVERA.
Every problem has at least one solution. Only some solutions are harder to find.
Bakos György
Super Advisor

Re: make_net_recovery to a tape

-C what is that, I havan't seen it yet.

"It might be you need to add root from SERVERB into the .rhosts file on SERVERA or
add SERVERB into /etc/hosts.equiv on SERVERA@
I haven't this files at the moment, should i create it?
I know this files from linux: When I haven't hosts.deny, then I doesn't need hosts.equiv.
.rhosts why?

I have probe this, but it says no tape device found in /etc/rmt/0mn, but the problem is that he searched not on ServerA (-v is for verbose output)

make_tape_recovery -x inc_entire=vg00 -v ServerA:/dev/rmt/0mn


-Another Question:I will receive a winchester tomorrow, but how can I create a boot tape from this file.(The file will be created with make_net_recovery)
G. Vrijhoeven
Honored Contributor

Re: make_net_recovery to a tape

Hi,

The .rhosts file placed in the home dir of server B allowing server A's root user to log into the system without using a password.

so

on serverB do:
# cd
# vi .rhosts
SERVERA root

You do not need to alter the hosts.equiv if you use .rhosts.

The error message is strange /etc/rmt/0m should be /dev/rmt/0m.

Gideon
Bakos György
Super Advisor

Re: make_net_recovery to a tape

Aha .rhosts It would better I would recognize it...

I have add on ServerA .rhosts ServerB root
but effective nothing changed:
Failed to open tape device /dev/rmt/0mn:No such device or address (errno = 6)

the command was
make_tape_recovery -x inc_entire=vg00 -x exclude=/tmp -v ServerA:/dev/rmt/0mn
(I have checked that hosts file is OK 0mn OK)
Bakos György
Super Advisor

Re: make_net_recovery to a tape

-Another Question agai, that is important:

HOW can I create a boot tape from the file.(The file will be created with make_net_recovery)
Jean-Louis Phelix
Honored Contributor

Re: make_net_recovery to a tape

Hi,

Just search fro chapter "Creating a Bootable Archive Tape" in '/opt/ignite/share/doc/makenetrec.txt'. It's quite simple.

Regards.
It works for me (© Bill McNAMARA ...)
Bakos György
Super Advisor

Re: make_net_recovery to a tape

Thanks I have found it and maked it.
I must say, that this boot tape creating could be easyer.