From owner-freebsd-stable@FreeBSD.ORG Thu Apr 28 16:29:38 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94434106568A for ; Thu, 28 Apr 2011 16:29:38 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4B13A8FC0C for ; Thu, 28 Apr 2011 16:29:38 +0000 (UTC) Received: by vxc34 with SMTP id 34so2893773vxc.13 for ; Thu, 28 Apr 2011 09:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=oJYq1wJ/Aao359wd6h+QO99RaoBWSq8SaUARtSAKi+4=; b=q51gUXEtofJTWXacsDOurtqzk8DbZMhNyJ01P4yEfL0oD/F8BCzxa8fGc+j61eI3Tz ZgWKmbtt23Yi9/rOarGe+EWO1DyUKraBF9rOVLiLxsQZEcOxRGzrlMHP0vFCZ2jU3Cun FioV5X29Ju5TjwzNAxt6FcQcHX1bH+Y4tbIXo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tQfwDXcgL4pqPBQrCu5VII+o+WJ1fwvK3z9inKL05aUcwlNffiCr3vzEgftcOgjPhr vigShAYBXnbXqmN2wULwSGl2wVQxJVdM2mg40co+EykLFD/FCjUWlVWUNJfy4DBiOY0Q JGKOBET8WDKTIA53eV+9OjtO60lJCH96MPvIg= MIME-Version: 1.0 Received: by 10.52.111.10 with SMTP id ie10mr1859072vdb.81.1304006779564; Thu, 28 Apr 2011 09:06:19 -0700 (PDT) Received: by 10.52.111.229 with HTTP; Thu, 28 Apr 2011 09:06:19 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Apr 2011 17:06:19 +0100 Message-ID: From: Tom Evans To: Pete French Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org Subject: Re: correct way to setup gmirror on 7.4? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 16:29:38 -0000 On Thu, Apr 28, 2011 at 4:43 PM, Pete French wrote: > Is not the problem here that you are trying to GPT label a gmirrored disc ? > If you instead gmirror two GPT partitions then the problem goes away > doesnt it ? Thats how I set things up - use parititoning on the ohysical > drives, and then put the mirroring into the partitions thus created. > Works fine, and doesnt suffer from any of the afforementioned problems. > > -pete. Is this simple to do? When I setup my home ZFS server, I couldn't get it to boot from ZFS, so I configured 2 disks as 'boot' discs: => 34 2930277101 ada5 GPT (1.4T) 34 128 1 (null) (64K) 162 12582912 2 root (6.0G) 12583074 2917694061 3 samsung15-1 (1.4T) The other 'boot' disc is configured the same, except it has altroot/samsung15-2 labels on the UFS/ZFS GPT partitions (the other 4 discs have a corresponding 6 GB partition for swap/dumps). However, this is as far as I got. I currently have vfs.root.mountfrom="ufs:/dev/gpt/root", and I'd like to gmirror 'root' onto 'altroot', without overwriting GPT labels or anything dangerous! Cheers Tom