From owner-freebsd-geom@FreeBSD.ORG Thu Jan 8 21:06:44 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85423106566B for ; Thu, 8 Jan 2009 21:06:44 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx1.freebsd.org (Postfix) with ESMTP id 7089A8FC1E for ; Thu, 8 Jan 2009 21:06:44 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from scalzia-t60-1.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KD600DK57Z7MJ80@asmtp015.mac.com> for freebsd-geom@freebsd.org; Thu, 08 Jan 2009 13:06:44 -0800 (PST) Message-id: <5D9E8EEA-AE0D-42F6-96A9-A9137C39C4FA@mac.com> From: Marcel Moolenaar To: Koen Smits In-reply-to: Date: Thu, 08 Jan 2009 13:06:39 -0800 References: X-Mailer: Apple Mail (2.930.3) Cc: freebsd-geom@freebsd.org Subject: Re: mirror a GPT partition, what label? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2009 21:06:45 -0000 On Jan 8, 2009, at 11:35 AM, Koen Smits wrote: > Hi, > > My new NAS will have the following disk layout: > ad0 -> 2gb CF > ad4 -> 1TB WD Green > ad6 -> 1TB WD Green > > The CF will boot the rig, the 2 1TB disks will be mirrored with ZFS. > No > problem there, did it before. > The problem lies in the swap space, which I want to place at the first > gigabyte of the 1TB disks. The disks will use GPT layout. I want to > gmirror > the first 1GB partition on both disks. How should I accomplish this? > Is it > sufficient to label both partitions 'freebsd'? According to man 8 > gpart > 'freebsd' should not be used when using GPT. Any insight would be > appreciated. Use "freebsd-swap" as the partition type. -- Marcel Moolenaar xcllnt@mac.com