Operating System - HP-UX
1854821 Members
27610 Online
104103 Solutions
New Discussion

Restore Ignite tape to tarball

 
SOLVED
Go to solution
Tor-Arne Nostdal
Trusted Contributor

Restore Ignite tape to tarball

We have shipped an Ignite tape which turn out to have read-error to a remote site...$#It
I have made a new tape - but it have to go with courier or snail-mail.

Is it possible to restore an Ignite tape to a tarball for then again send it to the remote site?

When reading the tape I guess I might need to:
- skip the boot record (mt -t /dev/rmt/0m fsf 1)
- read the tape with pax instead of tar

The intention is further to create an Ignite image (either on tape or Ignite server) on the remote site and then re-create the server.

Do anyone have a clue if this can be done ?
If so I would appreciate if hints/tip could save us some time...
I'm trying to become President of the state I'm in...
2 REPLIES 2
Tim Adamson_1
Honored Contributor
Solution

Re: Restore Ignite tape to tarball

You can dd the archive off as follows:

# mt -t /dev/rmt/0mn rew

# dd if=/dev/rmt/0mn of=/var/tmp/lifvol bs=2k

# dd if=/dev/rmt/0mn of=/var/tmp/archive bs=10k


Note: You must use the no-rewind device file.

The lifvol must be dd'ed using block size of 2k

The archive must be dd'ed using block size of 10k

Also ensure you have enough space in /var/tmp to hold the archive.


Tim.
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Sridhar Bhaskarla
Honored Contributor

Re: Restore Ignite tape to tarball

Hi,

You can follow Tim's procedure to duplicate a tape. Make sure you reverse the dd steps but in the same order while copying the images to the tape back.

For make_net_recovery, if you already have a system on the network in the remote site, then add it to your ignite server and take a network image. Your job will be much easier if you use the same "archive" directory on both the servers. Once it is done, copy CINDEX file and recovery directories from /var/opt/ignite/clients/src_host on the local system to /var/opt/ignite/clients/dst_host on remote system. Then simply copy make_net_recovery archive into the corresponding archive location on the remote server.

Ignite the box thorough the ignite server.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try