From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 15:23:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1ED5516A50B for ; Mon, 11 Dec 2006 15:23:21 +0000 (UTC) (envelope-from tshadwick@oss-solutions.com) Received: from moogle.hksilver.net (mail.hksilver.net [208.231.66.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F05A43DA1 for ; Mon, 11 Dec 2006 15:21:23 +0000 (GMT) (envelope-from tshadwick@oss-solutions.com) Received: from [172.16.30.8] (chibi.shadwick.home [172.16.30.8]) (authenticated bits=0) by moogle.hksilver.net (8.13.8/8.13.4) with ESMTP id kBBFMH6k076723 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NOT); Mon, 11 Dec 2006 09:22:19 -0600 (CST) (envelope-from tshadwick@oss-solutions.com) Message-ID: <457D779C.8040907@oss-solutions.com> Date: Mon, 11 Dec 2006 09:22:04 -0600 From: Tony Shadwick User-Agent: Mail/News 1.5.0.2 (Macintosh/20060310) MIME-Version: 1.0 To: Foo JH References: <200612100905.30430.kirk@strauser.com> <20061210155022.GA28750@owl.midgard.homeip.net> <457C4156.8010309@computer.org> <200612110100.26229.fbsd06@mlists.homeunix.com> <20061211054125.GB681@pubbox.net> <457D1B24.8060109@extracktor.com> In-Reply-To: <457D1B24.8060109@extracktor.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Setting up RAID-1 on 2 unequal disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2006 15:23:21 -0000 I'd say use gvinum. It's a bit tricky....actually, it's VERY tricky. You have to get the geometry of the shared volume precisely right on the 120GB drive to match the 80GB drive, then you can allocate the rest of the free space. Honestly, you *could* cheat here. :) I think.... Set up your 80GB drive. We'll call it /dev/ad0. Plug in your 120GB drive but don't do anything to it. We'll call it /dev/ad1. dd if=/dev/ad0 of=/dev/ad1 Now, set up gvinum as though they were of the exact same geometry, and get your mirror going. Then, go back and modify the drive label of ad1, and allocate the rest of the space on that disk. You'll want to have gotten the REAL drive geometry of /dev/ad1 ahead of time, because (if I recall...) you're going to have to change c: to the correct geometry, then add partitions using space above and beyond what you have on ad0. Does that make sense at all? Perhaps you should work through setting up a normal gvinum mirror before going this route... Foo JH wrote: > Hi all, > > I unfortunately have 2 uneuqally sized SATA disks to set up a mirrored > shared folder: 80GB and 120GB. On the 120GB I plan to set up this way: > > /temp 2GB (double the system memory) > /shared 80GB > / 38GB > > I plan to mirror /shared onto the 80GB. It won't be bootable, but I can > always mount it onto another FreeBSD machine. > > I've read some articles on mirroring on non-equal disks, notably: > http://people.freebsd.org/~rse/mirror/ > > My question is: is there an easier way to do this? The example looks > quiet daunting for a noobie FreeBSD admin like me. > > Appreciate any feedback on this. Thanks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"