From owner-freebsd-geom@FreeBSD.ORG Thu Jan 8 20:01:59 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 691861065678 for ; Thu, 8 Jan 2009 20:01:59 +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 894408FC20 for ; Thu, 8 Jan 2009 20:01:57 +0000 (UTC) (envelope-from kgysmits@gmail.com) Received: by bwz13 with SMTP id 13so1428661bwz.19 for ; Thu, 08 Jan 2009 12:01:56 -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:mime-version:content-type; bh=NEERFKRFgCAfCptRLu/72WybMORTvMDtj1c9W81CZzY=; b=MK/kMsiwc/ShiG1DIUsLay90Y7atM1Oz80sBIQj8ebD1wDbg2idcyL2xl8nUFKZnIn MCZ4EbIbnT2uB//OnomX7KTBGti4HXfkh85HkzT/s8LUjA+yqMu969902BAXDM/gtQKj oQQOufsm3ZPUztHrXbohf/ybcEMvwp5k5XL9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=jlXDysojwSkLrAHqqTmZVulS8Mn6oG+o5vzZOMj3U9iDUvfXUTNd0lgz3wAzYLcFQS bGb8I7qzeCHRKRjOff1l662qc/vvc5vt81N+f2ZT4Fkf+XQU7waQPmQZJUzXhFeMN5pI qAKdmIpuux+kVxiLRdgdPAUgLYcHaDEfrRQnk= Received: by 10.223.109.84 with SMTP id i20mr17901830fap.42.1231443325977; Thu, 08 Jan 2009 11:35:25 -0800 (PST) Received: by 10.223.108.136 with HTTP; Thu, 8 Jan 2009 11:35:25 -0800 (PST) Message-ID: Date: Thu, 8 Jan 2009 20:35:25 +0100 From: "Koen Smits" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 20:02:00 -0000 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. -Koen