On Thu, 13 Jan 2011, Chris Adams wrote:

Once upon a time, Dag Wieers <[email protected]> said:

I am looking for an elegant way to match tape-drives with tape-changers in
Linux. So given a number of tape-drives and changers, how can one know
which tape-drives belong to which changer ?

You have to do it manually.  There's just no other reliable way if you
have multiple changers and multiple drives attached to the same system.
Some libraries have drives and the robot on separate SCSI ports; there's
no way to automate matching them up (ordering doesn't help if they are
on different buses).

The easiest thing to do is to connect one library at a time and note the
/dev/tape/by-id entries that go together (and then always use those
nodes instead of the generic /dev/st0 and such).

Ouch, for a large roll-out that would be very time-consuming. In this case we have about 1000 systems with various configurations. I was contemplating loading a specific tape from the robot and then looking which drive had it. But that's hardly efficient and mya interfere with normal operation :-/

--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to