On Mon, 2005-12-12 at 15:03 -0500, Nathaniel Clark wrote:
> Ming Zhang wrote:
>=20
> >On Mon, 2005-12-12 at 13:55 -0500, Nathaniel Clark wrote:
> > =20
> >
> >>For the qlogic card using the SCST initiator driver, it's in
> >>/proc/scsi/<qla type>/<host id>
> >><qla type> will be qla2300, qla2200, or similar. <host id> will be 0=
,
> >>1, 2 (some int indexed from 0).
> >>It will be the line that looks like: scsi-qla0-adapter-node=3D500502e=
0...
> >>it's right after "SCSI Device Information:"
> >> =20
> >>
> >
> >thanks! got it.
> >
> >
> > =20
> >
> >>For qlogic card (of the qla2x00 series) using the mainline kernel:
> >>/sys/class/fc_host/hostX/port_name
> >>(The X being the host number of the card).
> >>
> >>Re: Multiple groups,
> >>I'm don't think that it's defined behavior.
> >> =20
> >>
> >
> >what u mean?=20
> > =20
> >
> I'm not sure what the behavior is, it may be the sum all the groups tha=
t
> the name belongs to. I didn't read the code very closely I'd sugest
> that that or experimentation would be best way to find out. For
> overlapping lun ID's between groups, it may be that "later" groups
> override earlier (Default being the earliest, and then for the
> following, I wouldn't guarantee an order).
>=20
it is not summed. i have one WWN in 2 groups. g1 has 1 device with lun
0, g2 has 1 device with lun 1, only devices in first group show up. i
did not read that part yet, but i guess it matches first and then break.
> > =20
> >
> >>Re: Removing it.
> >>It will not do a UA, The luns will just be different (which is most
> >>definitly a bug).
> >> =20
> >>
> >
> >what i observed is that after i remove name from a certain group, i
> >still can see lu and access them.
> > =20
> >
> AH! Yes. While the session is active, it looks like the luns are in th=
e
> target list, but when the session goes away (for instance on a Port Log=
out).
yes u are right. it keep old information till session ends
regarding this session, i found that with lsi FC HBA as ini. even after
i rmmod mptfc, scst still shows a session available. i guess this is a
bug.
ming
>=20
> >
> > =20
> >
> >>Johan Kragsterman wrote:
> >>
> >> =20
> >>
> >>>You can always install SANsurfer. There you will get the wwn as well=
, but=20
> >>>that is of coarse only Qlogic HBA=C2=B4s. But I believe there must b=
e somewhere=20
> >>>under Linux where the wwn is registered, but I=C2=B4m no system xper=
t, so I=20
> >>>don=C2=B4t know such things. JK
> >>>
> >>>
> >>>Ming Zhang <mingz@...> Skrev:=20
> >>>=20
> >>>
> >>> =20
> >>>
> >>>>On Mon, 2005-12-12 at 19:02 +0100, Johan Kragsterman wrote:
> >>>> =20
> >>>>
> >>>> =20
> >>>>
> >>>>>Hi! I can help you with the wwn: You will find the wwn of the Fc H=
BA in
> >>>>> =20
> >>>>>
> >>>>> =20
> >>>>>
> >>>>the=20
> >>>> =20
> >>>>
> >>>> =20
> >>>>
> >>>>>HBA setup tool, which you enter during POST. I don=C2=B4t know wet=
her you can
> >>>>> =20
> >>>>>
> >>>>>find it somewhere online under Linux. Rgrds Johan
> >>>>> =20
> >>>>>
> >>>>> =20
> >>>>>
> >>>>thanks. that is what i am doing right now. but i really want to see=
if
> >>>>that can be gotten from linux directly.=20
> >>>>
> >>>>see http://qlogic.com/cgi-bin/faq_display.pl?faq=3Dkb/KB10564.html.=
sun os
> >>>>can do it. why linux can not? ;)
> >>>>
> >>>>ming
> >>>>
> >>>>
> >>>> =20
> >>>>
> >>>> =20
> >>>>
> >>>>>Ming Zhang <mingz@...> Skrev:=20
> >>>>> =20
> >>>>>
> >>>>> =20
> >>>>>
> >>>>>>Hi=20
> >>>>>>
> >>>>>>I need to confirm this about lun masking.
> >>>>>>
> >>>>>>Lun Masking is done by those security groups. So add LU to differ=
ent
> >>>>>>groups devices. and assign names (WWN in case FC) to each group n=
ames.
> >>>>>>so when there is a new connection comes, scst will search all gro=
ups
> >>>>>> =20
> >>>>>>
> >>>>>> =20
> >>>>>>
> >>>>and
> >>>> =20
> >>>>
> >>>> =20
> >>>>
> >>>>>>match with names. if no other group found match, the default grou=
p will
> >>>>>>be used. am i rite so far?
> >>>>>>
> >>>>>>so=20
> >>>>>>
> >>>>>>*) what if i have a WWN in several groups, then which group will =
be
> >>>>>>used?
> >>>>>>
> >>>>>>*) if i removed one name from the current used group, will FC HBA=
got a
> >>>>>>report_lun data has changed UA and have to do report_lun again?
> >>>>>>
> >>>>>>*) how to find a WWN of a FC HBA under Linux?
> >>>>>>
> >>>>>>Thanks!
> >>>>>>
> >>>>>>Ming
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>-------------------------------------------------------
> >>>>>>This SF.net email is sponsored by: Splunk Inc. Do you grep throug=
h log
> >>>>>>files
> >>>>>>for problems? Stop! Download the new AJAX search engine that ma=
kes
> >>>>>>searching your log files as easy as surfing the web. DOWNLOAD S=
PLUNK!
> >>>>>>http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
> >>>>>>_______________________________________________
> >>>>>>Scst-devel mailing list
> >>>>>>Scst-devel@...
> >>>>>>https://lists.sourceforge.net/lists/listinfo/scst-devel
> >>>>>>
> >>>>>> =20
> >>>>>>
> >>>>>> =20
> >>>>>>
> >>>>> =20
> >>>>>
> >>>>> =20
> >>>>>
> >>>>-------------------------------------------------------
> >>>>This SF.net email is sponsored by: Splunk Inc. Do you grep through =
log
> >>>>files
> >>>>for problems? Stop! Download the new AJAX search engine that make=
s
> >>>>searching your log files as easy as surfing the web. DOWNLOAD SPL=
UNK!
> >>>>http://ads.osdn.com/?ad_idv37&alloc_id=16865&op?
> >>>>_______________________________________________
> >>>>Scst-devel mailing list
> >>>>Scst-devel@...
> >>>>https://lists.sourceforge.net/lists/listinfo/scst-devel
> >>>>
> >>>> =20
> >>>>
> >>>> =20
> >>>>
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>This SF.net email is sponsored by: Splunk Inc. Do you grep through l=
og files
> >>>for problems? Stop! Download the new AJAX search engine that makes
> >>>searching your log files as easy as surfing the web. DOWNLOAD SPLU=
NK!
> >>>http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick
> >>>_______________________________________________
> >>>Scst-devel mailing list
> >>>Scst-devel@...
> >>>https://lists.sourceforge.net/lists/listinfo/scst-devel
> >>>
> >>>=20
> >>>
> >>> =20
> >>>
> >
> >
> > =20
> >
>=20
|