persistent binding using the emlxs driver

We are moving from the Emulex lpfc driver to the emlxs driver. Looking to set persistent binding when using the emlxs but not finding a lot of info. The lpfc.conf has lots of comments and examples but the emlxs.conf is pretty bare... thanks,john
[266 byte] By [jtstachl] at [2007-11-26 10:43:26]
# 1

I thought the emlxs driver was a "leadville" driver, and would therefore always have direct mapping, so there's no such thing as persistent or non-persistent binding with it. (you get the "long" names instead).

Do you have it operating now? What are your device names?

--

Darren

Darren_Dunham at 2007-7-7 2:55:27 > top of Java-index,General,Talk to the Sysop...
# 2

You're right. It is the Leadville driver and disks are directly mapped...

But here's the part I left out... my concern is the tape drives. I need to make sure the /dev/rmt/# is always the same for a given tape drive... Emulex was kind enough to send me a Sun doc outlining /etc/devlink.tab and how to set up rules for tape drives... I'll be trying that out today...

thanks for the response!

jtstachl at 2007-7-7 2:55:27 > top of Java-index,General,Talk to the Sysop...
# 3
Hmm. a Sun doc on it? Do you have a reference to it, or just a copy of it. I'd be interested in looking at it.-- Darren
Darren_Dunham at 2007-7-7 2:55:27 > top of Java-index,General,Talk to the Sysop...
# 4
Here you go: http://docs.sun.com/source/819-0139/ch_8_persist_binding.html
jtstachl at 2007-7-7 2:55:27 > top of Java-index,General,Talk to the Sysop...
# 5

Have you had any joy with this yet? I been on it all day and it doesn't seem to make any difference what I put in the devlink.tab file devfsadm just seems to grab any old WWN in the list and assign it any rmt # it wants.

I've just disabled all my tapes except for one using cfgadm, added that one device to the devlink file with a rmt # of 40, and run devfsadm -v -C -c tape and hey presto! it assigns rmt/0 to the WWN!!!

cidermark at 2007-7-7 2:55:27 > top of Java-index,General,Talk to the Sysop...
# 6

I came looking for the answer you your exact question - following the manual exactly and devfsadm refused to reorder the entries. It /did/ complain about the missing tab in the devlink.tab file, so I knew it was at least looking at it.

The solution ended up being a reboot - I did a reconfiguration reboot and it worked. I'm not sure if a normal reboot would have worked or not.

I also tested something that was implied, but not stated - as long as all of your tape drives are mentioned in the devlink.tab file you don't have to use a different device number range, you can just swap rmt entries.

alancdavis at 2007-7-7 2:55:27 > top of Java-index,General,Talk to the Sysop...