More info: Solaris and /dev/rmt/0...

From: Bruce Truax (b_truax_99@yahoo.com)
Date: Fri Feb 24 2006 - 03:09:15 EST


Original:
----------------------------------------------------------------------------------------------------------------------
Hello Sunmanagers,

I have a question about something I thought I understood. The rmt directory contains links to the tape instances in the devices directory. The listing for instance 0 has numorous links. These links are and not limited to: 0, 0n, 0l, 0ln, 0m, 0mn, etc. Each of the letters mean something, ex. n=no-rewind, l=low compression, m=medium compression, etc. The mt command allows you to do basic tape drive functions like rewind, release, eject,... ,status. I have found lately that I am running into a quirk that doesn't make sense. I know when I want to compress a file to tape with tar, I use "tar cvf /dev/rmt/0m {filename}". When I want to eject a tape from drive 0, I have to use "mt -f /dev/rmt/0m offline". I know that by default mt looks for drive 0. So I get to my question: why does "mt offline" of "mt status" hang in the forground until I shut down the tape drive or maually eject the tape?

No rush on this, its just been bugging me.
----------------------------------------------------------------------------------------------------------------------
I have more information on this:
It only happens on DLT tapes - 7000 & 8000 or 3 & 4 if you prefer.
The OS's are Sol. 8 & 9.
This happens on numerous SPARC platforms.

I wish the OS and platform were more specific but it seems more tape dependent. I do not have the same issue on the DDS tapes.

Oh and I will "summarize"

Thanks again
Bruce

                
---------------------------------
 
 What are the most popular cars? Find out at Yahoo! Autos
_______________________________________________
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:39:06 EDT