From owner-freebsd-current@freebsd.org Tue Dec 26 16:25:36 2017 Return-Path: Delivered-To: freebsd-current@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 9C339E9FDA2 for ; Tue, 26 Dec 2017 16:25:36 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 080CB7C591 for ; Tue, 26 Dec 2017 16:25:35 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([78.55.225.232]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MF5FT-1eiwr5084Z-00GJrL for ; Tue, 26 Dec 2017 17:25:28 +0100 Date: Tue, 26 Dec 2017 17:24:54 +0100 From: "O. Hartmann" To: FreeBSD CURRENT Subject: ZFS: alignment/boundary for partition type freebsd-zfs Message-ID: <20171226172521.611a89b0@thor.intern.walstatt.dynvpn.de> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/jKXLHRS+IdygrMXg69tM9FV"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:tNa7hKt7Sk5JVS8yBiI7kzf35OAtNh1QcaZt+z7UkqXrXPEwH5Z ah0H3WW7kCb6B8PmYaMPPStngmoQ0r7SsnecWcJ6mvgf+20dEdcQsht4kmKp/U7hZpxNE9B PU6/ZUzMto4cJw4asCioDiOB0jzz55ROpVHuRwjnsSnekNzc/UoZTfTxJ9BTjn4A0/hp11p i6d47MZg4RGTJPmdfAK+g== X-UI-Out-Filterresults: notjunk:1;V01:K0:8gUKjXP0488=:ydhajyvvcjyHL6QiU0NUEv jYEvKQgWzdWzObIDgWueSt0UBrHXw46NcjtS/swj6xT0e7P7Iw3zS8XDXSdyH99Vgvo2Pi9BY jq9QFVDEk8Jydzou6j8dmuZc6QvLjg7KHAt5rVaT2V51kdhfY5rJRKEFi/eNxbwbR8aHtAyjQ FSTIGcIifGif5vA58h+YAqglDhm/qSZRAyWRP9LvzQRjlsY39teI+cGV/u9JKPro6nEWjjvax h0IRGB/+r9rl44jCR711qW5Dovi2e1A3RPoqWe+C0zXHNUSJ5lpy2vyZ8cvtQP1ntd4dwcgXU fMf2vmv6+KRfMMTCZtTn0zkxqUEvoUaWvhPFSHazt+fblaXuH/FsOqD1JtZg+tFPDBsjG7CPJ m05SK3U4m/SyVL7nZD6u34022ndpotKI+huPfEJfCl3RgMXcbNaG6ZkHoDMNtoyohj0y3+MA0 FaT17mGiw7y90HFdTjgsd/E2OvKdDn9kFJ4EeGO1nYikpyyy87C1hK9OvzBI21zfdvY2V1vwl bwGtZCDjJQ01aE8Usogg8IvgotMLDYWOdqU9u/JCQSLDGcBklljZvM+JSOZKocjtBHicKa9e8 tNdjD8fv5GgMbcZo19lbOMFIsnlDv/WUskMsb7GBJ4m+F5w27y2CweUkGLXAgDYlS/5bOKsMN OocnE3ibCZcL7U3t/1yVh6wTe3mRJSaI5XEW61uQz2zMWclgBHQztXaGTro+8nkEGiAo8WEBe lhTRT5s3euqauH3AJqjYpKZhfb2dLXGFYII5M2LMLSsvQNZCL1+8D9nWIoIe+OOd7yoXMUnqi xfbC/ADiP2vX6XCViRwWeyAQz2Lqg== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Dec 2017 16:25:36 -0000 --Sig_/jKXLHRS+IdygrMXg69tM9FV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Running recent CURRENT on most of our lab's boxes, I was in need to replace= and restore a ZFS RAIDZ pool. Doing so, I was in need to partition the disks I was about = to replace. Well, the drives in question are 4k block size drives with 512b emulation -= as most of them today. I've created the only and sole partiton on each 4 TB drive via = the command sequence gpart create -s GPT adaX gpart add -t freebsd-zfs -a 4k -l nameXX adaX After doing this on all drives I was about to replace, something drove me t= o check on the net and I found a lot of websites giving "advices", how to prepare larg= e, modern drives for ZFS. I think the GNOP trick is not necessary any more, but many = blogs recommend to perform gpart add -t freebsd-zfs -b 1m -a 4k -l nameXX adaX to put the partition boundary at the 1 Megabytes boundary. I didn't do that= . My partitions all start now at block 40. My question is: will this have severe performance consequences or is that n= egligible? Since most of those websites I found via "zfs freebsd alignement" are from = years ago, I'm a bit confused now an consideration performing all this days-taking resilve= ring process let me loose some more hair as the usual "fallout" ... Thanks in advance, Oliver --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/jKXLHRS+IdygrMXg69tM9FV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWkJ38QAKCRDS528fyFhY lHkfAf0XiTMZQorYLpmQLb9cJUfMk5BOD+KG88vGNH4Wl69LnC+IcivLe61Q/rNs CXu+AWozrcq0obUnwp9ryQ4mtl8vAgCepXbfFpMo6YLz18ilrCXLh6Uc+a4p3t5f CzuigwBNDLC75vtMob44wAzYtIJkkkkwgwE1lnRX2rgxO25p22lW =cusG -----END PGP SIGNATURE----- --Sig_/jKXLHRS+IdygrMXg69tM9FV--