Brett, Fred, Alan,
I think the tape is empty. I rewound the tape, then I ran
cat /dev/st0
This results in
cat: /dev/st0: Input/output error
Thanks for the help. I'll ask the customer to resend his data in an
alternative format. This tape took 3 months to arrive [from Nigeria], so I
can relax until the Autumn, unless you think there is something else I can
try, to be absolutely certain.
I've got another question which I hope you can help me with. Do you know how
I would go about making this tape device shareable over a closed LAN to a
couple of other machines [solaris]? I'd like to be able to take remote
backups of these workstations using this tape drive.
Cheers,
Nigel
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 28 June 2000 19:30
To: [EMAIL PROTECTED]
Subject: Re: dd and tape
Nigel Trivass wrote:
> Greetings,
>
> We were sent a 4mm tape containing files created on a non-unix machine -
NT
> we think.
>
> Our tape drive is on a red hat 6 box.
>
> I need to get these files extracted from the tape and onto the red hat
box.
> Then I can transfer them to NT and figure out what the hell they are.
>
> What can I use to copy the contents of the tape to a file on redhat? I
tried
> unsuccessfully to use
>
> dd of=/dev/st0 if=tapedata
>
> Any suggestions greatly appreciated.
>
Nigel Since no one else is jumping in I will give it a shot. It sound like
from your previous post that you are not even sure there is data on the
tape.
I am not a dd guru. It looks like what you are trying should work but I
wonder
about a blocksize.
Any way I would first try to see what the data on the tape looks like by
using
say:
mt rewind #rewinds the tape just to make sure
cat /dev/st0
If there is data on the tape it should spew into the terminal, right? If
that
works, I would research the mt and dd commands and try to figure out if
there
is more thatn one file on the tape and if so what is there. Knowing what
software wrote the tap could be very helpful.
hmmm. I wonder if you could use the file command to automajically figure
out
the file type? I suspect that file /dev/st0 would just tell you the type of
file the device file itself is. Might be someway to do something like file
`cat /dev/st0` #yes those are back quotes to figure out what is on the
tape.
c'mon gurus we need some help here.
Bret
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.