From owner-freebsd-hackers@freebsd.org Mon Feb 27 11:58:56 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CCE3CEFE96 for ; Mon, 27 Feb 2017 11:58:56 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E406C26 for ; Mon, 27 Feb 2017 11:58:56 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ciJx8-000JdQ-2w; Mon, 27 Feb 2017 14:58:54 +0300 Date: Mon, 27 Feb 2017 14:58:54 +0300 From: Slawa Olhovchenkov To: Zaphod Beeblebrox Cc: Andrey Fesenko , FreeBSD Hackers Subject: Re: ZFS should prefer the most specific... or something. Message-ID: <20170227115854.GK15630@zxy.spb.ru> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 11:58:56 -0000 On Sun, Feb 26, 2017 at 08:28:08PM -0500, Zaphod Beeblebrox wrote: > On Sun, Feb 26, 2017 at 7:09 PM, Andrey Fesenko wrote: > > > > > "A disk can be specified by a full path to the device or the geom(4) > > provider name" see zpool(8) > > For example gpt lables > > > > > Yeah, no. You didn't read carefully. Let me be more clear. Some random > rejig of device names causes zfs to abandon your carefully constructed > name. GPT and GPT labels are more stable, but some machines will not allow > a GPT label. Anyways, after the random event, you have maximally long, > low-signal-to-noise ratio names. zfs don't need label, zfs can use raw disk name and full tolerante to change this names between reboot. ps: /boot/loader.conf: kern.geom.label.gptid.enable="0" kern.geom.label.disk_ident.enable=0