From owner-freebsd-current Tue Mar 12 5: 5:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from skaarup.org (skaarup.org [130.228.230.140]) by hub.freebsd.org (Postfix) with SMTP id 9717E37B400 for ; Tue, 12 Mar 2002 05:05:39 -0800 (PST) Received: (qmail 19698 invoked by uid 0); 12 Mar 2002 13:05:32 -0000 Received: from localhost (HELO skaarup.org) (127.0.0.1) by localhost with SMTP; 12 Mar 2002 13:05:30 -0000 Received: (qmail 19682 invoked by uid 1039); 12 Mar 2002 13:05:29 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Mar 2002 13:05:29 -0000 Date: Tue, 12 Mar 2002 14:05:29 +0100 (CET) From: Rasmus Skaarup To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Subject: Re: GEOM code ready for testing In-Reply-To: <17670.1015936094@critter.freebsd.dk> Message-ID: <20020312135947.A19503-100000@skaarup.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-11 @skaarup.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 12 Mar 2002, Poul-Henning Kamp wrote: > In message <20020312130810.U18984-100000@skaarup.org>, Rasmus Skaarup writes: > > >> How you would recognize the same disk on thre different paths is a good > >> question. We could implement (if we don't already have it) an > >> ioctl/BIO_GETATTR which returns the serial number(s) of the diskdevice > >> and you could query that. > > > >Hmm, but I'm not sure all kinds of storage devices have serialnumbers that > >could be fetched (tape devices for instance?) and can we rely on the > >hardware manufacturers to provide unique serialnumbers? > > Well, the recognition/configuration issue is not one GEOM magically can > solve for you, but GEOM promises that if you can recognize it and > configure it, GEOM will not get in your way for doing what you want. But what if the name of the device somehow depended on the ID on the device? So you could recognize the same disk on multiple hosts, and having the same name for the device on each host. But this should maybe be left up to the method to assign? Best regards, Rasmus Skaarup To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message