From owner-freebsd-geom@FreeBSD.ORG Sun Mar 23 23:57:54 2008 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 B4B57106566B for ; Sun, 23 Mar 2008 23:57:54 +0000 (UTC) (envelope-from donald.holt@earthlink.net) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6837B8FC1B for ; Sun, 23 Mar 2008 23:57:54 +0000 (UTC) (envelope-from donald.holt@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=mLeBZiKN29gbaLl/8EIq5o+cIRu4EYU51ZPp47t/6JRNhTYO3Ge02l0j6CE62szv; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [69.81.129.208] (helo=[192.168.0.9]) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1Jda4S-0007NA-If; Sun, 23 Mar 2008 19:57:49 -0400 From: "Donald E. Holt" To: Lee Dilkie In-Reply-To: <47E6E34B.6000107@dilkie.com> References: <1206284676.2073.28.camel@Hank.bullhouse.net> <47E6E34B.6000107@dilkie.com> Date: Sun, 23 Mar 2008 19:57:55 -0400 Message-Id: <1206316676.33903.20.camel@Hank.bullhouse.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-ELNK-Trace: b73738902380eafd63a5f2fc002084469ef193a6bfc3dd484fe2e68fcd25ce1f3e3f676baa8f7442a26b888b88ba812a350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.81.129.208 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: GEOM Mailing List Subject: Re: Striped Drive for OS File System 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: Sun, 23 Mar 2008 23:57:54 -0000 Lee, thanks so much for the great info. I may still bollix things up, but at least I know that the operation itself isn't doomed from the start... The man pages seem to be thorough, so I believe I can work out the precise steps there. I do have two remaining questions, if I may beg your patience. I am able to backup /usr to tape. In light of that fact, would you recommend gstripe? I should do a bit more research on my own concerning the differences between gstripe and gconcat prepared drives, I know, but I'd value your advice. Second question. The drive that currently contains /usr also has a swap partition (in addition to the swap partition on the first SCSI drive). I assume the second swap isn't absolutely necessary, but would it be worthwhile (or possible) to designate a portion of the concatenated space to swap? Thanks again! On Sun, 2008-03-23 at 19:10 -0400, Lee Dilkie wrote: > Donald, > > Yes, it can be done but as a gconcat rather than a gstripe if you need > to expand in place. > > essentially, > > unmount /usr > create gconcat from existing /usr and new drive (use raw drive.). > then use growfs to expand gconcatted drive > mount gconcatted version of /usr > > If you can do a backup and restore of /usr, you could create a stripped > drive instead (if they are the same size or thereabouts). > > The only gotcha that I had was in FreeBSD 5.5. Growfs doesn't handle > really big disks (which is what you get here). I found that the patch to > fix growfs in 6.2 and manually did it and rebuilt growfs and it worked > great. I've done it twice now, adding a third drive to my gconcat array. > > Also. I only used gconcat with the raw drives, ie "gconcat label > big_drive /dev/ad2 /dev/ad3 /dev/ad4" but I presume it works the same > with slices/partitions. > > -lee > > Donald E. Holt wrote: > > I haven't seen this particular situation discussed, nor have I been able > > to find any specific information on the web. I am not experienced in > > GEOM or vinum, so I may be asking a dumb question. If so, I apologize. > > > > My system has FreeBSD installed across 2 SCSI drives. /dev/da2 > > holds /, /tmp, /var, and a swap. /dev/da4 is devoted to /usr and another > > swap. A third drive (dev/da5) is dedicated to a Win4BSD virtual machine, > > and is mounted as /WinXP (there are still a few MS apps I can't get > > around using). > > > > I'd like to expand /usr fs to an additional SCSI drive (physically > > present now, but unused). Would it be possible to do that, perhaps with > > gstripe, without distroying data on the current drive? > > > > Again, sorry if I've asked one of those eye-rolling, forehead-thumping > > questions. > > > > Thanks! > > _______________________________________________ > > freebsd-geom@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" > >