* How to use TZ875 media changer with TU5.1A
@ 2002-12-09 20:21 Sylvain Robitaille
2002-12-09 22:14 ` SUMMARY: " Sylvain Robitaille
0 siblings, 1 reply; 2+ messages in thread
From: Sylvain Robitaille @ 2002-12-09 20:21 UTC (permalink / raw)
To: tru64-unix-managers
[This message posted to tha comp.unix.tru64 newsgroup and mailed to the
Tru64-Unix-Managers mailing list. My apologies to those who will see
multiple copies...]
Hello,
For years we've owned a DS20 with (among other appendages) a TZ875 tape
drive/media changer. Until we upgraded from 4.0g to 5.1a (we also have
had 4.0b and 4.0e onn this system, and have had no problem using the
media changer until this latest OS upgrade), we were able to use the
"mcutil" media changer utility to manipulate tapes in the tape library
stack.
Our /etc/mcicap file contains the following relevant entries:
# Digital TZ8x7/TZ8x5 DLT Magazine Tape Subsystem
tz857|tz867|tz877|tz875|tz8x7|tz8x5|Digital TZ8x7/TZ8x5:\
:it=scsi2:dt=tape:ae:re:
...
mc0|mc24|mc24b:\
:mc=/dev/changer/mc0:\
:dn=/dev/ntape/tape0_d1:tc=tz875:
(originally the dn= entry in mc0 pointed to /dev/tape/tape0_d1, but that
doesn't appear to have made any difference in the behaviour I'm seeing.)
Now, using mcutil to try and query the media changer, I can confirm
(from tracing the process) that the mcicap file is read, and that the
process attempts to open /dev/changer/mc0, at which point the process
simply pauses for several minutes before finally timing out and exitting
with an "unknown error".
I'd really like to use the media changer on this tape drive. Can
anybody point me towards whatever it is I must be missing in order to do
so?
Thanks.
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread* SUMMARY: How to use TZ875 media changer with TU5.1A
2002-12-09 20:21 How to use TZ875 media changer with TU5.1A Sylvain Robitaille
@ 2002-12-09 22:14 ` Sylvain Robitaille
0 siblings, 0 replies; 2+ messages in thread
From: Sylvain Robitaille @ 2002-12-09 22:14 UTC (permalink / raw)
To: tru64-unix-managers
[This message posted to tha comp.unix.tru64 newsgroup and mailed to the
Tru64-Unix-Managers mailing list. My apologies to those who will see
multiple copies...]
On Mon, 9 Dec 2002, I wrote:
> For years we've owned a DS20 with ... a TZ875 tape drive/media changer.
> Until we upgraded from 4.0g to 5.1a ... we were able to use the
> "mcutil" media changer utility to manipulate tapes in the tape
> library stack.
> ....
>
> I'd really like to use the media changer on this tape drive. Can
> anybody point me towards whatever it is I must be missing in order to do
> so?
Paul Sand of the University of New Hampshire wrote back the following in
what's probably a record response time:
> mcutil broke on me a few years back, and I converted to using the 'scu'
> utility to move tapes around in our DAT jukebox. (Specifically, the
> 'move media' command in scu.) It's only slightly harder than mcutil,
> I think.
Sure enough, after only a few minutes of experimenting with scu, I'm
once again able to use my media changer! :-) (there was much
rejoicing!) I'd still like to know what it is I'm missing in order to
use mcutil, but I'm extremely grateful to Paul for what amounts to a
very usable work-around.
For what it's worth, some of my commands have changed as follows (this
is all done in a script, so it's really a one-time change:
--- mcutil -e s: d: ...
+++ scu -f /dev/changer/mc0 show elements ...
--- mcutil -m d:0 s:0
+++ scu -f /dev/changer/mc0 move medium source 16 destination 256
--- mcutil -m s:1 d:0
+++ scu -f /dev/changer/mc0 move medium source 257 destination 16
The only other change was to the rather simple math that works out tape
slot numbers (we now have an offset of 256) and the drive number goes
from a static "d:0" to a static "16".
That's about as simple a work-around as one can imagine, (the
work-around I'd implemented to get operators to manually switch tapes
from the changer's front panel wasn't this simple!)
Once again, thanks Paul, and thanks to anyone who can help get mcutil
working again.
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-09 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-09 20:21 How to use TZ875 media changer with TU5.1A Sylvain Robitaille
2002-12-09 22:14 ` SUMMARY: " Sylvain Robitaille
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox