From owner-freebsd-fs@FreeBSD.ORG Tue Mar 2 09:38:40 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 385B61065674 for ; Tue, 2 Mar 2010 09:38:40 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id D47998FC1C for ; Tue, 2 Mar 2010 09:38:38 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2D987.dip.t-dialin.net [217.226.217.135]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 65FB18451BE; Tue, 2 Mar 2010 10:38:30 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 1C80011BDFC; Tue, 2 Mar 2010 10:38:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1267522707; bh=c0ijb3CMC92ukdvzv+w31QZhw+otQWOwsqv3cyjPyiY=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=dUl4kQ7BJmkWaOr05w+Ex208D+Au/k1a48Ukn743Uu6Hrvr811rqTt6r7SHtX/wSt 1+2NBF55NCSLhSRc+LVwXjEdVXDo7rbhrQDdMnh36g4z1XEczwc6PYDCFuIroZR/TT AMWQNXD16ZVIJO401O79A11v1Nbb8jk/gukxMxhK2CD5RGJfkfc/fdxUg2tsUjQjDc E2VyJNFr6+daOVOAAFXNrU0BwoMGrGbTCz4otwSYAnMlyUra6JSoLETFj7OVC51f4u uuBISOKus+pVluufJHTNzRjvBgN+U+ilCmfxVrOPhj+fOxQ6Cq+1QRwXxRb+6O9RpI KUUWfJgDMhJmg== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id o229cQNg060891; Tue, 2 Mar 2010 10:38:26 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 02 Mar 2010 10:38:26 +0100 Message-ID: <20100302103826.14273mzlwp38550k@webmail.leidinger.net> Date: Tue, 02 Mar 2010 10:38:26 +0100 From: Alexander Leidinger To: "James R. Van Artsdalen" References: <4B8B5780.2050601@jrv.org> In-Reply-To: <4B8B5780.2050601@jrv.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 65FB18451BE.04AB3 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.44, required 6, autolearn=disabled, ALL_TRUSTED -1.44, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1268127513.70265@FMu3rzQEndISrabJg4DwJw X-EBL-Spam-Status: No Cc: freebsd-fs Subject: Re: [zfs] attach by name/uuid still attaches wrong device X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2010 09:38:40 -0000 Quoting "James R. Van Artsdalen" (from Sun, 28 Feb 2010 23:58:24 -0600): > I don't think it's possible to do this right in vdev_geom.c: there's no > way to guess what is intended without a hint from higher ZFS layers as > to which drives should be found and which are new. There is a way: do not attach blindly. Bye, Alexander. -- Chocolate Chip. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137