From owner-freebsd-questions@freebsd.org Fri Sep 11 14:25:33 2015 Return-Path: Delivered-To: freebsd-questions@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 0643F9CCBF8 for ; Fri, 11 Sep 2015 14:25:33 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BEBCA1897 for ; Fri, 11 Sep 2015 14:25:31 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8BEPUOC013654 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 11 Sep 2015 08:25:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8BEPUjJ013651; Fri, 11 Sep 2015 08:25:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 11 Sep 2015 08:25:30 -0600 (MDT) From: Warren Block To: "William A. Mahaffey III" cc: FreeBSD Questions !!!! Subject: Re: followup storage question In-Reply-To: <55F2D086.6060509@hiwaay.net> Message-ID: References: <55F2D086.6060509@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 11 Sep 2015 08:25:30 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2015 14:25:33 -0000 On Fri, 11 Sep 2015, William A. Mahaffey III wrote: > The Wiki page https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE > illustrates using gnop to enforce 4K alignment of gpt partitions for > subsequent use by ZFS. However the gpart commands also use the '-a 4k' > arguments, aligning partitions on 4k boundaries as I understand things. Is > the gnop command also necessary ? TIA & have a nice weekend. These are two separate things. gnop(8) is (was) used to force ZFS to use a 4K block size. That just means it transfers data in multiples of 4K, not necessarily aligned with the 4K sectors on the drive. gpart(8)'s -a flag is used to force partitions to begin in alignment with the 4K sectors on the drive.