LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

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

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

Patrick Tuite Patrick.tuite at ucd.ie
Tue Nov 14 10:44:20 GMT 2006


On Monday 13 November 2006 19:16, Conor Wynne wrote:
> 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?
No. But thanks for the suggestion. I've looked into the documentation for this 
and it's exactly what needs to be configured for all the Fibre Channel cards 
in this SAN.
> Do you use powerpath or any other multipathing software?
The Tape Library and Storage Array do have multipath, but I believe also need 
to be configured correctly. I'm not sure about software for them. The systems 
are an IBM TotalStorage 4100 storage array and 3583 Library.

But your suggestion reminded me that the IBMtape module from IBM has a script 
that creates special devices /dev/IBMtape and /dev/IBMchanger0, so I think 
for the moment I can use the  /dev/IBMchanger0 in the Amanda configuration 
files and as long as the kernel doesn't change I think this will safely map 
to the media changer whatever SCSI id it gets assigned on boot.

Thanks

Patrick
>
> > 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.

-- 
Patrick Tuite
Research IT Support
UCD IT Services
Ext: 2037



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell