Its most likely that you do not have persistent bindings set.
This is needed for tape libraries under fibre channel. AFAIR anyway.
On 13/11/2006 18:28, "Jeroen Massar" <jeroen at unfix.org> wrote:
> Patrick Tuite 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.
>>>> 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?
>> On anything with udev support you should be able to find them inside:
> /dev/disk/by-id/
> /dev/disk/by-path/
> /dev/disk/by-uuid/
>> Depending what is the most convenient labeling mechanism for your needs.
> by-path is most likely the one you want in this case.
>> Gives you for instance:
>> /dev/disk/by-path$ ls -la
> lrwxrwxrwx 1 root root 9 Jul 27 16:05 pci-0000:02:04.0-scsi-0:0:1:0 ->
> ../../sda
>> Greets,
> Jeroen
>>> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!