Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, all I get following messages 3

Status
Not open for further replies.

YuanXu

Technical User
Jun 20, 2001
17
CN
Hi, all

I get following messages when I try to backup files from tape:

% tar xvf /dev/rmt/0
tar: blocksize = 0

When I try to run mt it appeared:

%mt -f /dev/rmt/0 fsf 1
/dev/rmt/0 failed: I/O error.

I have no idea with that, so need your help very much!



 
Sounds like a possible problem with either the drive or the tape. When you're issuing the fsf 1 command, are you sure there's another logical tape to find? Does the command complain if you do an mt -f /dev/rmt/0 rewind command? There are more questions than answers as they say!
 
what does this command do?
mt -f /dev/rmt/0 status

(It should tell you the type of tape drive and other info)

If not then cd to /dev/rmt and do a ls
Do you see other device listed, such as 0 , 1, 2 or others.
If so then you have other tape devices, do a mt -f /dev/rmt/? status (other device number until you find the right one)
 
The mt -f /dev/rmt/? status will certainly tell you when
it finds a drive with a tape in it.
But also, when you do the mt -f /dev/rmt/0 fsf 1, you
should be using the norewind device, in this case:
/dev/rmt/0n, otherwise the tape will try to rewind after
the operation completes.
If it's the wrong device, you should get a message like
"No tape loaded or device offline" or
"No such file or directory".
Finally, the tar xvf command you entered was trying to
extract files FROM the tape, is that what you wanted? or
was it to backup files TO the tape, in which case you would
want tar cvf /dev/rmt/0 <files/directories to backup>
Hope this helps
Good luck

John John Philcox
Mobile Ventures Limited UK
 
hi, thx for your replies.
There is only one DDS4 tape driver attached to the system.
I tried this morning, find that I can copy files from some DDS3 tapes , but from DDS4 tapes, it still returns &quot;tar: blocksize=0&quot;.
what is wrong?
 
does your /kernel/drv/st.conf show support for a dds-4
tape device?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top