Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jan 2009 13:06:39 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Koen Smits <kgysmits@gmail.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: mirror a GPT partition, what label?
Message-ID:  <5D9E8EEA-AE0D-42F6-96A9-A9137C39C4FA@mac.com>
In-Reply-To: <b072dc420901081135k9e19e6dsca199dd778abdf9b@mail.gmail.com>
References:  <b072dc420901081135k9e19e6dsca199dd778abdf9b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D9E8EEA-AE0D-42F6-96A9-A9137C39C4FA>