From owner-freebsd-arch@FreeBSD.ORG Tue Jun 27 08:03:40 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4009C16A406; Tue, 27 Jun 2006 08:03:40 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail25.syd.optusnet.com.au (mail25.syd.optusnet.com.au [211.29.133.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65EDC43D48; Tue, 27 Jun 2006 08:03:15 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail25.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k5R83CQp010782 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 27 Jun 2006 18:03:13 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k5R83CjG001046; Tue, 27 Jun 2006 18:03:12 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k5R83CHI001045; Tue, 27 Jun 2006 18:03:12 +1000 (EST) (envelope-from peter) Date: Tue, 27 Jun 2006 18:03:12 +1000 From: Peter Jeremy To: Pawel Jakub Dawidek Message-ID: <20060627080312.GB714@turion.vk2pj.dyndns.org> References: <20060626171035.GE12511@garage.freebsd.pl> <56651.1151347579@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WYTEVAkct0FjGQmd" Content-Disposition: inline In-Reply-To: <56651.1151347579@critter.freebsd.dk> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: Poul-Henning Kamp , freebsd-arch@freebsd.org Subject: Re: Accessing disks via their serial numbers. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 08:03:40 -0000 --WYTEVAkct0FjGQmd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 2006-Jun-26 18:46:19 +0000, Poul-Henning Kamp wrote: >>> 4. It prevents cold-state swapout of disk drives. >> >>Why? > >Because /etc/fstab contains the serial number of the disk you just >junked and the new one has a different serial number. I've used a couple of OSs that derived their logical disk name (ie /dev/disk/dsk5) from the WWID by keeping a magic database to map the WWID to the name. None of them have good solutions to telling the OS that WWID-x has died and I want WWID-y to now map to the same logical device as WWID-x used to. Actually having the WWID (or similar) as the logical name would make handling a disk swap really nasty. Stating that the sysadmin knows about the change doesn't address the issue: The sysadmin changed the device because the old one failed. There may or may not have been advance notice of the replacement. --=20 Peter Jeremy --WYTEVAkct0FjGQmd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEoOY+/opHv/APuIcRAtEEAJ4un7nyX2TVR9pB99uZMZHXmhvDUgCfShjI CyYrnJ3bYld4/OARNbeH8VA= =MfX6 -----END PGP SIGNATURE----- --WYTEVAkct0FjGQmd--