From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 13:29:45 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F866E2 for ; Tue, 23 Sep 2014 13:29:45 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51DB3D29 for ; Tue, 23 Sep 2014 13:29:44 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XWQ9x-0005iy-Q7 for freebsd-questions@freebsd.org; Tue, 23 Sep 2014 06:29:37 -0700 Date: Tue, 23 Sep 2014 06:29:37 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1411478977772-5951380.post@n5.nabble.com> Subject: Gpart: Adding mirror to existing zpool MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 13:29:45 -0000 Hi. I have added another HDD to my system and I want to mirror my existing zpool named mydata on HDD1. I assume that both of the GPT partitions on either HDD housing mydata should be the same size, but I am a bit lost as to how to run gpart for this. # gpart add -a 4k -s -i 3 ada2 Setting size parameter to output from "gpart show ada*1*p3", will not make both of these partitions properly synced IMHO. What would be the solution here? I would like to set both GPT partitions to *exactly* the same (4k alligned) size. ada1 is 4k alligned. Regards. ----- FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS -- View this message in context: http://freebsd.1045724.n5.nabble.com/Gpart-Adding-mirror-to-existing-zpool-tp5951380.html Sent from the freebsd-questions mailing list archive at Nabble.com.