From owner-freebsd-geom@FreeBSD.ORG Thu Jan 26 17:37:55 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E553116A420 for ; Thu, 26 Jan 2006 17:37:55 +0000 (GMT) (envelope-from schoch6@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 529C843D55 for ; Thu, 26 Jan 2006 17:37:54 +0000 (GMT) (envelope-from schoch6@gmail.com) Received: by uproxy.gmail.com with SMTP id o2so269481uge for ; Thu, 26 Jan 2006 09:37:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CaqhHLKHUHzEjQXlECEaPf1SkN9iy2tAjgr1aNCWur1rW0DLU9jR7TJ06X5Ut2kw6lUB35aAQQ1I9V9+vlAND4niJNtUDy1Pqkl3Uw7kyUU6bLqZCYA9qbE5y8J2vuuNIA+9CMP5UcLJyHTUfvNNjkGlASWpPvrt3UxOZRd1B2Q= Received: by 10.48.250.5 with SMTP id x5mr191684nfh; Thu, 26 Jan 2006 09:37:53 -0800 (PST) Received: by 10.48.203.17 with HTTP; Thu, 26 Jan 2006 09:37:53 -0800 (PST) Message-ID: <6650332b0601260937m2571371fld70df3dcdd941821@mail.gmail.com> Date: Thu, 26 Jan 2006 09:37:53 -0800 From: Steven Schoch Sender: schoch6@gmail.com To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: gmirror on disks of different size 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, 26 Jan 2006 17:37:56 -0000 Pawel Jakub Dawidek wrote: > AFAIK gvinum is supported. In a previous message, Fred R. said that with 6.0, after running gvinum start, the entries /dev/gvinum/* were not there. Lukas Ertl replied that gvinum was last supported in the latest -STABLE release, which was not 6.0. I also found that I couldn't use gvinum after upgrading to 6.0, so I figured gvinum was not supported, or at least on the back burner. > With gmirror you can mirror any GEOM providers (disks, slices, > partitions, stripes, encrypted providers - anything). Thanks! Alec Berryman also pointed me to http://people.freebsd.org/~rse/mirror/ , which suggests using gmirror on a slice, and then partitioning the gmirrored slice. In order to avoid mirroring the swap partition, which seems unwise to me, I'm planning on dividing each disk into two slices, with slice 2 taking up the last part of the disk. Then I can gmirror as follows: =09# gmirror label root da0s1a da1s1a =09# gmirror label gm0 da0s2 da1s2 Then I'll use disklabel on gm0 to set up two partitions, /dev/gmirror/gm0d for /usr and /dev/gmirror/gm0e for /var. Then, I'll have two swap partitions, da0s1b and da1s1b, and scratch partitions on da1s1{d,e} (the larger disk). Is there something wrong with doing it this way? Is there a better way?