On Fri, 2003-11-14 at 02:56, Surekha.PC wrote:
> Hi all,
>
> The host id for iSCSI HBA does not remain unique with 2.6 linux
> kernel. It keeps changing when iSCSI host is added and removed
> dynamically. This is a problem for persistent device naming for iSCSI
> devices through host id.
>
Surekha,
Persistent device naming should be handled through userspace application
so that the policy of the device naming is more controllable. I suggest
examining the uSDE project www.sourceforge.net/projects/usde for an
example implementation. In this case, target disks can be persistently
named by their unique IEEE identifier and HBAs can be persistently named
by their PCI slot path address. These are only sample policies that
could be implemented.. The usde framework allows for any policy to be
implemented.
Thanks
-steve
> It would be good to maintain a database of already allocated host id's
> for the existing hosts. This would render the iSCSI HBA to get the same
> controller id, irrespective of loading/unloading the driver repeatedly.
>
> Would like to know if there is any provision in 2.6 to achieve the
> above?
>
> thanks,
> surekha
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|