From owner-freebsd-geom@FreeBSD.ORG Thu Jan 8 22:18:19 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 680CF10657B2 for ; Thu, 8 Jan 2009 22:18:19 +0000 (UTC) (envelope-from kgysmits@gmail.com) Received: from mail-bw0-f20.google.com (mail-bw0-f20.google.com [209.85.218.20]) by mx1.freebsd.org (Postfix) with ESMTP id D68658FC14 for ; Thu, 8 Jan 2009 22:18:18 +0000 (UTC) (envelope-from kgysmits@gmail.com) Received: by bwz13 with SMTP id 13so1644531bwz.19 for ; Thu, 08 Jan 2009 14:18:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=X58nwFhDC1gUWwSPfPGpt2ncOOSBMflNAy7ltzGRHQI=; b=Bf0/NTSMesIOk5bBSdSEJL2+vMOfQx9Nb3sX/k7H457SgZPKFww8zEwH2kUWBfBRKk 8AJ4Iu8UFqjy3bhzTMEDn4/u4zw3ig+80SGsXSzF+M1fuvIoGLLfay3qEi49u2lr8ciP nRB6118/RlqPNgXzFQzP64h/3boaLv6wXwJlQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=k1ojBB2Q7NzAelK8+DcWmQ/PjSzFph8jDo91ldbsG4xJbgw7yE+EyXALdjoIFW5l+t 01eKIZAhk1cFtKFyRnq7Fr0H/wvGwYcmBBuTDMUCH8aioxuGkR9XAWf1WaKf0GFBEDpZ hr7/+ghOuHRk4P9Qe938OzA1J59uCDCJXAOWA= Received: by 10.223.109.20 with SMTP id h20mr18035418fap.41.1231453097756; Thu, 08 Jan 2009 14:18:17 -0800 (PST) Received: by 10.223.108.136 with HTTP; Thu, 8 Jan 2009 14:18:17 -0800 (PST) Message-ID: Date: Thu, 8 Jan 2009 23:18:17 +0100 From: "Koen Smits" To: "Marcel Moolenaar" In-Reply-To: <5D9E8EEA-AE0D-42F6-96A9-A9137C39C4FA@mac.com> MIME-Version: 1.0 References: <5D9E8EEA-AE0D-42F6-96A9-A9137C39C4FA@mac.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 22:18:20 -0000 Ok, let's give that a shot then. I still don't see the big picture here, but if it works I guess that's fine with me too. On Thu, Jan 8, 2009 at 22:06, Marcel Moolenaar wrote: > > 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 > > > >