SCSI devices with identical WWID

From: Tobias Nygren (tnn@netilium.org)
Date: Fri Aug 13 2004 - 17:05:13 EDT


Hi everyone, I'm a new subscriber to this list.

Recently I bought a pack of factory refurbished SCSI disks that I'd like
to use with LSM. First I installed the system with only one disk. Then I
ran into problems adding a second disk:

isp0: QLOGIC ISP1040B/V2
isp0: Firmware revision 5.57 (loaded by console)
isp0: Fast RAM timing enabled.
alt0: 1000 Mbps full duplex Link Up via autonegotiation
camdb_devreg: Matching WWID w/ LID 1 - state 0x1000001
camdb_add_new_path: Updating Stale path at LID 1: 1/0/0
camdb_add_new_path: Path reused: LID 1: 1/0/0
camdb_devreg: Matching WWID w/ LID 1 - state 0x1000003
camdb_add_new_path: allocated new path
camdb_add_new_path: Path added: LID 1: 1/2/0
disk at scsi1 target 0 lun 0 (LID=1) (CSC 73GB10K REFURBISHED 0102) (Wide16)
WWID:0410002c:"CSC 73GB10K REFURBISHED "
disk at scsi1 target 2 lun 0 (LID=1) (CSC 73GB10K REFURBISHED 0102) (Wide16)
WWID:0410002c:"CSC 73GB10K REFURBISHED "
scsi1 at isp0 slot 0 rad 0
disk at scsi1 target 0 lun 0 (LID=1) (CSC 73GB10K REFURBISHED 0102) (Wide16)
WWID:0410002c:"CSC 73GB10K REFURBISHED "
disk at scsi1 target 2 lun 0 (LID=1) (CSC 73GB10K REFURBISHED 0102) (Wide16)
WWID:0410002c:"CSC 73GB10K REFURBISHED "
[...]
panic (cpu 0): vfs_mountroot: cannot mount root
syncing disks... done

I suspect the reason is that the same WWID is assigned to two paths.

Quoting the documentation for 5.1:

"Ideally, the WWID for a device is unique, enabling the identification
of every SCSI device attached to the system. However, some legacy devices
(and even some new devices available from third-party vendors) do not
provide the information required to create a unique WWID for a specific
device. For such devices, the operating system will attempt
to generate a WWID, and in the extreme case will use the
device nexus (the SCSI bus/target/lun) to create a WWID for the device."

Now to the questions:

How is the WWID for a SCSI disk determined? (serial number in firmware?)
Can I somehow force the system to use the device nexus for WWID?

Thanks,

--
Tobias Nygren
tnn@netilium.org


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:06 EDT