Re: The order of generating sd name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-04-22 at 19:09 +0800, 谢纲 wrote:
> I found that, my my kernel version is 2.6.16 (SUSE10). And the HBA
> driver are qla. The scsi async scan is not supported in this version.
> And It seems that,  if the scan starts at scsi_scan_host, the naming
> order is ensured.  Did the qla driver scan the lun in the thread
> qla2x00_do_dpc itself?  To generate the sd name, sd_probe need to be
> invoked. I can not find the invokation in the qla driver.

This is business as usual.  The discovery order isn't guaranteed.
Without async scan it depends on machine deterministic things like the
order the bios lays out the PCI bus, but that's not going to be constant
across machines.  Async scanning just makes reordering less machine
hardware dependent.

The way to cope with this is to mount devices by device id or uuid.

James


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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux