From owner-freebsd-scsi Tue Nov 13 9:43:19 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 7C73A37B419 for ; Tue, 13 Nov 2001 09:43:13 -0800 (PST) Received: from mailhost.feral.com (mjacob@mailhost.feral.com [192.67.166.1]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id fADHgsT78945; Tue, 13 Nov 2001 09:42:54 -0800 (PST) (envelope-from mjacob@feral.com) Date: Tue, 13 Nov 2001 09:42:54 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@beppo Reply-To: mjacob@feral.com To: Mark Costlow Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Dynamic SCSI device names In-Reply-To: <200111131555.IAA23559@shimi.swcp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Keep in mind that before 5.0 ships, we should have persistent names based upon device attributes (e.g., WordWideName or VPD Serial number). Note also that once you import a disk into vinum, vinum won't care what the end node name really is, so a changing end node name for a device is not all that important. On Tue, 13 Nov 2001, Mark Costlow wrote: > > This seems like a newbie question, but I haven't been able to turn up the > answer in the handbook or list archives. > > If I have a FreeBSD 4.4 system with several SCSI devices, the kernel names > them da0, da1, da2, etc. at boot time, regardless of their SCSI IDs. If I > remove one of the drives, say the one labeled da1, and reboot, the kernel > renames them so that da2 becomes da1, da3 becomes da1, etc. > > So if I have a system where I periodically want to attach a drive and remove > it, I have to boot single user to fix fstab when the drive is added or removed > (or conspire to have it be the last drive on the last SCSI bus). I'm also > playing with a system that I want to have a spare boot disk, and I'd like to > have the device numbering nailed down so the spare drive can boot without > having to know how the SCSI chain has changed. > > So is there a kernel option to use static device naming by any chance? Or am > I missing something about why this dynamic naming is a good thing? > > Thanks, > > Mark > -- > Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 > cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 > > "Education is never a waste" - Viscount du Valmont > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message