cancel
Showing results for 
Search instead for 
Did you mean: 

magic number is invalid

 
Joel Andrews
Occasional Contributor

magic number is invalid

Hello,

Have an issue with an LTO-2 tape drive. It can read/write to its own tapes without issue. However when trying to read those tapes in other LTO-2/3 drives I get the following message(s):

ftio -gv /dev/rmt/19m > tapeindex
ftio: error reading tape header : Error 0


# ftio -itvc /dev/rmt/19m > tapeindex
ftio: error reading tape header : magic number is invalid
ftio: please mount tape 1, then hit return

Tapes created on other drives are able to be read by this one.

Could this be a Firmware or a tape head alignment issue?
3 REPLIES
OldSchool
Honored Contributor

Re: magic number is invalid

both tapes on same machine?

if different machines, are they the same OS?

if different OSes, what are they?

have you tried other utilities (such as tar) and was that successful?

have you tried tape created elsewhere on the drive you believe has issues (i.e. create a ftio tape on /dev/tmy/19m and try and read it on the problem drive)?
Viktor Balogh
Honored Contributor

Re: magic number is invalid

what is the output of:

#ll /dev/tmy/19*


Are you using the right device file?
see this post:

http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=759637&admit=109447627+1238775640572+28353475
****
Unix operates with beer.
Viktor Balogh
Honored Contributor

Re: magic number is invalid

you could inspect the tape with the "other" drives with this commands:

dd if= bs=1 count=100 | od -bc

I think the error message means that there is a compatibility problem here. see this:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=118187

****
Unix operates with beer.