Operating System - HP-UX
1748156 Members
3777 Online
108758 Solutions
New Discussion юеВ

Re: Problem in creating a bootable tape from make_net_recovery archive

 
SOLVED
Go to solution
ALe_3
Frequent Advisor

Problem in creating a bootable tape from make_net_recovery archive

Dear Gurus,

I should put on tape a make_net_recovery as the server needs to be re-installed.
I am following all the steps described in the manual and I create the bootable tape putting the LIF file and then the "archive" created during the make_net_recovery.

The problem is that when I try to read the tape to make a check (that I always make with the make_tape_recovery), I receive the error "directory checksum error".

The commands I run to read the tape are the following:

mt -t /dev/rmt/0m rew
mt -t /dev/rmt/0mn fsf 1
tar tvf /dev/rmt/0mn
directory checksum error

This is the status:

mt status
Drive: HP C5683A
Format: DDS-3 format
Status: [81112500] EOF online compression immediate-report-mode
File: 2
Block: 0

This is the tape drive (a DDS4 with a DDS3 tape):

tape 0 0/0/1/0.0.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/0m /dev/rmt/0mn /dev/rmt/c0t0d0BEST /dev/rmt/c0t0d0BESTn /dev/rmt/c0t0d0DDS /dev/rmt/c0t0d0DDSn
/dev/rmt/0mb /dev/rmt/0mnb /dev/rmt/c0t0d0BESTb /dev/rmt/c0t0d0BESTnb /dev/rmt/c0t0d0DDSb /dev/rmt/c0t0d0DDSnb

This is how I created the tape:

I made two test one with the spec file c0t0d0DDSn:

dd if=/DEPOT/my_lif of=/dev/rmt/c0t0d0DDSn obs=2k
dd if=/var/opt/ignite/recovery/archives/system4/2009-12-15,11:06 of=/dev/rmt/c0t0d0DDSn obs=10k


One with the spec file /dev/rmt/0mn:

dd if=/DEPOT/my_lif of=/dev/rmt/0mn obs=2k
dd if=/var/opt/ignite/recovery/archives/system4/2009-12-15,11:06 of=/dev/rmt/0mn obs=10k

The tape is good because I have copied a file using the simple tar, and I was able to read it. Has someone of you any suggestion?

Many thanks
ALe
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: Problem in creating a bootable tape from make_net_recovery archive

>mt -t /dev/rmt/0mn fsf 1

For integrity this skip value must be 22.
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=997045

Have you tried tar directly on your archive:
/var/opt/ignite/recovery/archives/system4/2009-12-15,11:06
ALe_3
Frequent Advisor

Re: Problem in creating a bootable tape from make_net_recovery archive

It is an N-Class

9000/800/N4000-55
Dennis Handly
Acclaimed Contributor
Solution

Re: Problem in creating a bootable tape from make_net_recovery archive

>It is an N-Class

So you skip value was correct.
Have you tried tar on 2009-12-15,11:06? This may be a gzip file so you'll have to gzcat then pipe it to dd(1).
ALe_3
Frequent Advisor

Re: Problem in creating a bootable tape from make_net_recovery archive

It works!!!!

Great!!

Thank you very much..you saved me!!!

Ale
ALe_3
Frequent Advisor

Re: Problem in creating a bootable tape from make_net_recovery archive

thread closed following Danny suggestion

ALe
ALe_3
Frequent Advisor

Re: Problem in creating a bootable tape from make_net_recovery archive

Sorry I made a mistake on the name...

The suggestion was from Dennis...

ALe