From owner-freebsd-questions@FreeBSD.ORG Sun Jul 6 06:22:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01FC71065674 for ; Sun, 6 Jul 2008 06:22:46 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 007608FC12 for ; Sun, 6 Jul 2008 06:22:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m666Lm7F003020; Sun, 6 Jul 2008 08:21:48 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m666LlWr003017; Sun, 6 Jul 2008 08:21:48 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 6 Jul 2008 08:21:47 +0200 (CEST) From: Wojciech Puchar To: Joshua Isom In-Reply-To: <266e55c771cbec02a4039641cff631c7@gmail.com> Message-ID: <20080706081907.J2917@wojtek.tensor.gdynia.pl> References: <266e55c771cbec02a4039641cff631c7@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions Subject: Re: Adding a new hard drive, and using geom 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: Sun, 06 Jul 2008 06:22:46 -0000 > I bought a second hard drive for my computer since my /usr partition was > getting full. I don't want to deal with hardware raid since I don't want to > be dependent on a certain hardware vendor or chipset, you probably don't have RAID hardware to deal, unless you bough 300 or more $ card. > so I'm wanting to go with geom. I'd prefer to not have to backup all my data(I know I should > anyway, but it's a 500gb hard drive, and drives are growing faster than > backup solutions). Would it be possible to do a geom stripe to expand /usr > and keep all the data or would I just need to backup everything, and then put gconcat will do. gstripe not. if usr is on partition x, and you want to add partition y do: unmount usr dd if=/dev/zero of=y bs=1m (*) gconcat label usr x y growfs /dev/concat/usr fsck_ffs /dev/concat/usr now /dev/concat/usr is your /usr make sure gconcat in kernel is available when booting. * - only to make buggy growfs work without a mess