Problem in creating a bootable tape from make_net_recovery archive (282 Views)
Reply
Frequent Advisor
ALe_3
Posts: 79
Registered: ‎02-21-2006
Message 1 of 7 (282 Views)
Accepted Solution

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
Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 2 of 7 (282 Views)

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
Frequent Advisor
ALe_3
Posts: 79
Registered: ‎02-21-2006
Message 3 of 7 (282 Views)

Re: Problem in creating a bootable tape from make_net_recovery archive

It is an N-Class

9000/800/N4000-55
Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 4 of 7 (282 Views)

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).
Frequent Advisor
ALe_3
Posts: 79
Registered: ‎02-21-2006
Message 5 of 7 (282 Views)

Re: Problem in creating a bootable tape from make_net_recovery archive

It works!!!!

Great!!

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

Ale
Frequent Advisor
ALe_3
Posts: 79
Registered: ‎02-21-2006
Message 6 of 7 (282 Views)

Re: Problem in creating a bootable tape from make_net_recovery archive

thread closed following Danny suggestion

ALe
Frequent Advisor
ALe_3
Posts: 79
Registered: ‎02-21-2006
Message 7 of 7 (282 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.