From owner-freebsd-stable@FreeBSD.ORG Sat Nov 4 00:51:35 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCD2116A403 for ; Sat, 4 Nov 2006 00:51:35 +0000 (UTC) (envelope-from baldur@foo.is) Received: from gremlin.foo.is (gremlin.foo.is [194.105.250.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B22D43D7F for ; Sat, 4 Nov 2006 00:51:34 +0000 (GMT) (envelope-from baldur@foo.is) Received: from 127.0.0.1 (localhost.foo.is [127.0.0.1]) by injector.foo.is (Postfix) with SMTP id 4F0A6DA87C; Sat, 4 Nov 2006 00:51:33 +0000 (GMT) Received: by gremlin.foo.is (Postfix, from userid 1000) id 71EEEDA86D; Sat, 4 Nov 2006 00:51:30 +0000 (GMT) Date: Sat, 4 Nov 2006 00:51:30 +0000 From: Baldur Gislason To: Matt Smith Message-ID: <20061104005130.GA636@gremlin.foo.is> References: <20061103120052.75B4916A6D5@hub.freebsd.org> <000001c6ff95$dfcd6df0$0201a8c0@bedroom> In-Reply-To: <000001c6ff95$dfcd6df0$0201a8c0@bedroom> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on gremlin.foo.is X-Spam-Level: X-Spam-Status: No, score=-5.9 required=6.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Sanitizer: Foo MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Cc: freebsd-stable@freebsd.org Subject: Re: adding an extra hard disk and adding space to /usr 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: Sat, 04 Nov 2006 00:51:35 -0000 Your only option here as far as I know is to partition the drive to be the new /usr partition. To acheive this you would preferrably put the system into single user mode, create a partition on the new drive and mount it under /mnt for example. Then copy all the data between. I prefer to use dump and pipe it into restore myself as this preserves all the filesystem flags that would get lost if you would just do a cp or tar. Then just update your fstab pointing /usr to the new drive and reboot the machine. Baldur On Fri, Nov 03, 2006 at 05:17:33PM -0500, Matt Smith wrote: > Hello all, > I have a machine that just had a new HD added to it as ad1 and I want to > ADD this new disk onto the already existing /usr partition. What's the best > and safest way to do it? > > Matt > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >