From owner-freebsd-stable@FreeBSD.ORG Wed Nov 19 16:46:49 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6391D63; Wed, 19 Nov 2014 16:46:49 +0000 (UTC) Received: from mail-ob0-x231.google.com (mail-ob0-x231.google.com [IPv6:2607:f8b0:4003:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9620510E; Wed, 19 Nov 2014 16:46:49 +0000 (UTC) Received: by mail-ob0-f177.google.com with SMTP id va2so712664obc.22 for ; Wed, 19 Nov 2014 08:46:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=aGCer0g3HWDXIAXGXDE9EJpOPbejQefcum+Y2liUEdA=; b=Ks0UVtKPjd6HWmyAh1FY+XmmxlFgHtfn/EbF6eNsKoCn38Rr46+9dzD5b7dBBpnLHZ ubJD8dsEULcso4BWFXtYiP5EhXLUfcdPQobxUKwbZbBBXMoFmAx6+4ShnracvDGs2NzT hhyDCQecgGxlqy4Ss8HgoBAS53IzlmguSF5lvSQdvy6N6P50jMr5SnN50DuOXkxZkr2G cb2O458AN5rKG3CZSdGN+ZlF1R+i8JejFQTixxbWOP7ZzR42l1Cn9lNOb5K9gB5GxDSY Coau5LRasXisQh2+ak0GUnT3wDX8CKxND06/ew8ddOHzSY8nnwxTkKN8RDebWaoB5uwd aiGw== MIME-Version: 1.0 X-Received: by 10.60.67.70 with SMTP id l6mr1109066oet.76.1416415567801; Wed, 19 Nov 2014 08:46:07 -0800 (PST) Received: by 10.202.6.21 with HTTP; Wed, 19 Nov 2014 08:46:07 -0800 (PST) In-Reply-To: References: <166BD891-B686-41F9-A741-9C7E7D989CB8@punkt.de> Date: Wed, 19 Nov 2014 08:46:07 -0800 Message-ID: Subject: Re: 10.1 geom "diskid" From: Freddie Cash To: Alan Somers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-stable@freebsd.org List" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 16:46:49 -0000 On Wed, Nov 19, 2014 at 8:08 AM, Alan Somers wrote: > On Wed, Nov 19, 2014 at 8:55 AM, Patrick M. Hausen > wrote: > > Now it's getting decidedly weird: > > > >> Am 19.11.2014 um 16:40 schrieb Patrick M. Hausen : > >> > >> Hi, all, > >> > >> next question, sorry. I just created a fresh 10.1 installation > >> with ZFS. With the last reboot after adding dedicated SSD > >> based l2arc and zil, the underlying devices are referred to > >> by "diskid" instead of the GPT labels I have first been using: > >> > >> NAME STATE READ WRITE CKSUM > >> zroot ONLINE 0 0 0 > >> mirror-0 ONLINE 0 0 0 > >> gpt/disk0 ONLINE 0 0 0 > >> gpt/disk1 ONLINE 0 0 0 > >> logs > >> diskid/DISK-BTTV334403R7200GGNp2 ONLINE 0 0 0 > >> cache > >> diskid/DISK-BTTV334403R7200GGNp1 ONLINE 0 0 0 > >> > >> I can live with that, but I do not understand why the ada2 device > >> changed from gpt/* to diskid/* while the others did not? > >> > >> /dev/gpt entries are not even present for ada2, neither are ada2p? > >> > >> At least the system could try to be consistent ;-) > > > > gnop create -S 4096 /dev/diskid/DISK-BTTV334403R7200GGNp3 > > zpool create ssd /dev/diskid/DISK-BTTV334403R7200GGNp3.nop > > zpool export ssd > > gnop destroy /dev/diskid/DISK-BTTV334403R7200GGNp3.nop > > zpool import ssd > > zpool status > > > Why the gnop acrobatics? =E2=80=8BFuture-proofing the pool. :) It's going to get harder and harder= to buy 512B harddrives, meaning that at some point, the drives will be replaced with 4K drives, and performance will (potentially) tank on the pool=E2=80= =8B. If you build the pool from the get-go with an ashift of 12 (4K sectors), then you won't have any issues in the future. --=20 Freddie Cash fjwcash@gmail.com