unable to read a tape

From: Gerard Henry (ghenry@cmi.univ-mrs.fr)
Date: Tue Nov 30 2004 - 06:27:15 EST


hello all,
last week, i have a question concerning backup and receive many
responses, but didn't do a summary yet, because i can't work with tape.
To backup filesystem, i try:

client-henry% tar cvpf - grand-1999.jpg | ssh server /bin/dd of=/dev/rmt/6un
grand-1999.jpg
1040+0 records in
1040+0 records out

before i restore, i went on backup server with LTO2 attached and did a
rewind:
server-henry% mt -f /dev/rmt/6un status
HP Ultrium LTO 2 tape drive:
   sense key(0x0)= No Additional Sense residual= 0 retries= 0
   file no= 2 block no= 0
server-henry% mt -f /dev/rmt/6un status
HP Ultrium LTO 2 tape drive:
   sense key(0x13)= EOT residual= 0 retries= 0
   file no= 2 block no= 0
server-henry% mt -f /dev/rmt/6un rewind
server-henry% mt -f /dev/rmt/6un status
HP Ultrium LTO 2 tape drive:
   sense key(0x0)= No Additional Sense residual= 0 retries= 0
   file no= 0 block no= 0

And now, i can't retrieve my file!
client-henry% ssh server "dd if=/dev/rmt/6un" | tar xvfp -
dd: reading `/dev/rmt/6un': Not enough space
0+0 records in
0+0 records out

What's wrong in this commands?
server is a Solaris 8 machine, and i find on sunsolve a patch related to
this 116634-02, but my LTO2 came from tier, not sun. This patch update
firmware, do you think it's a good idea to use it?

thanks in advance,
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:48 EDT