From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tobias Nygren Newsgroups: gmane.os.tru64.managers Subject: SCSI devices with identical WWID Date: Fri, 13 Aug 2004 23:05:13 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20040813230513.2e98bd87.tnn@netilium.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1092431152 10507 80.91.224.253 (13 Aug 2004 21:05:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Aug 2004 21:05:52 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Aug 13 23:05:39 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BvjF3-0002bJ-00 for ; Fri, 13 Aug 2004 23:05:38 +0200 Original-Received: (qmail 13435 invoked by uid 5); 13 Aug 2004 21:05:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 13420 invoked by uid 49501); 13 Aug 2004 21:05:28 -0000 Original-Received: from tnn@netilium.org by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.9/5.0):. Processed in 0.645754 secs); 13 Aug 2004 21:05:28 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 13 Aug 2004 21:05:27 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I2E00IM9L910J@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 13 Aug 2004 17:05:26 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I2E00F02L8X30@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 13 Aug 2004 17:05:22 -0400 (EDT) Original-Received: from elysium.unit.liu.se (elysium.unit.liu.se [130.236.230.145]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I2E008IFL8W4P@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 13 Aug 2004 17:05:20 -0400 (EDT) Original-Received: by elysium.unit.liu.se (Postfix, from userid 102) id 9C1FA33B4F; Fri, 13 Aug 2004 23:05:19 +0200 (MEST) Original-Received: from omega.netilium.org (p42.ryd.student.liu.se [130.236.226.42]) by elysium.unit.liu.se (Postfix) with SMTP id 05D5133CC5 for ; Fri, 13 Aug 2004 23:05:17 +0200 (MEST) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Sylpheed version 0.9.12-gtk2-20040617 (GTK+ 2.4.4; alpha-dec-osf5.1) Xref: main.gmane.org gmane.os.tru64.managers:7442 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7442 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