[ILUG] How do I map fibre channel to absolute /dev/sgxx

Conor Wynne conor at discuskeeping.com
Mon Nov 13 19:16:16 GMT 2006


On 13/11/2006 16:29, "Patrick Tuite" <Patrick.tuite at ucd.ie> wrote:

> Hi all
> 
> I had a bit of a problem with a fibre channel tape library. We recently moved
> a bunch of systems, some connected to a fibre channel switch with the tape
> library & storage arrays and discovered when running scripts for Amanda that
> the tape library media changer, previous mapped to /dev/sg6, had changed
> to /dev/sg1. All the cabling was marked and reassembled identically.

Do you have persistent bindings set in the modules / modprobe.conf?
Do you use powerpath or any other multipathing software?

> 
> I was wondering if anyone knew a quick way to map the SCSI ID for a device to
> a particular block device id when the system boots to avoid having to edit
> the scripts each time it may change if the systems are ever restarted?
> 
> Thanks
> 
> Patrick

Regards
Conor. 





More information about the ILUG mailing list