From: Ming Z. <mi...@el...> - 2005-12-13 18:20:00
|
On Tue, 2005-12-13 at 21:16 +0300, Vladislav Bolkhovitin wrote: > Ming Zhang wrote: > > Hi > > > > I need to confirm this about lun masking. > > > > Lun Masking is done by those security groups. So add LU to different > > groups devices. and assign names (WWN in case FC) to each group names. > > so when there is a new connection comes, scst will search all groups and > > match with names. if no other group found match, the default group will > > be used. am i rite so far? > > > > so > > > > *) what if i have a WWN in several groups, then which group will be > > used? > > The first WWN in the first (i.e. oldest) group. I don't see how having a > WWN in the several groups could be useful, so there is no support for it > (as well as no checks). See scst_find_acg() and friends. thanks for reassure this. i just want to know what is the behavior and i think this is reasonable. no need to make it so complex. > > > *) 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? > > No, we missed this UA, although I've seen that code recently added to > iet. It's quite easy to add it. If you are interested, I'll tell you the > details. i think this might be useful since in current scst, an ini can access LUN as long as session is still active. so the new policy will be delayed to take effect. ming > > Vlad |