From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 23:54:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 583AE37B401 for ; Tue, 22 Apr 2003 23:54:10 -0700 (PDT) Received: from mail.cordis.lu (mail.cordis.lu [212.190.217.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 404FB43FBF for ; Tue, 22 Apr 2003 23:54:08 -0700 (PDT) (envelope-from a.carter@cordis.lu) Received: from mailsvr.intrasoft.lu (mail.intrasoft.lu [212.190.217.251]) by mail.cordis.lu (8.12.8/8.12.8) with ESMTP id h3N71V1d025146; Wed, 23 Apr 2003 09:01:34 +0200 Received: by mail.intrasoft.lu with Internet Mail Service (5.5.2656.59) id ; Wed, 23 Apr 2003 08:49:35 +0200 Received: from intra241.intrasoft.lu (212.190.217.170 [212.190.217.170]) by mailsvr.intrasoft.lu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id JD53X67K; Wed, 23 Apr 2003 08:49:31 +0200 From: CARTER Anthony To: nkinkade@fastmail.fm, Nathan Kinkade , "Michael A. Alestock" , questions@freebsd.org Organization: Intrasoft Date: Wed, 23 Apr 2003 08:53:09 +0200 User-Agent: KMail/1.5.1 References: <20030422213940.GG92029@sub21-156.member.dsl-only.net> In-Reply-To: <20030422213940.GG92029@sub21-156.member.dsl-only.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304230853.09997.a.carter@intrasoft.lu> X-Spam-Status: No, hits=-131.9 required=4.2 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL,USER_IN_WHITELIST version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: Adding a new IDE harddrive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 06:54:11 -0000 What I did was mount my new drive onto /mnt/x then copied my /home /usr/ports and other directories to it, then made /home and /usr/ports symbolic links into the new hard drive...works a dream...:D Anthony On Tuesday 22 April 2003 23:39, Nathan Kinkade wrote: > On Tue, Apr 22, 2003 at 01:23:12PM -0700, Nathan Kinkade wrote: > > On Tue, Apr 22, 2003 at 04:10:21PM -0700, Michael A. Alestock wrote: > > > I have a question...I already know how to add a new harddrive to my > > system, > > > > however, what I wanted to know is how do I use the new harddrive's > > space to > > > > add more space to my current filesystem's directories? Do I have to > > LINK the > > > > new harddrive to the old drive? How would I go about this process?? > > > > > > Thanks! : ) > > > > It's in the FreeBSD FAQ. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#ADDING-D > ISKS > > > Nathan > > I apologize, after re-reading your email and then fully looking through > the FAQ to which I directed you, I see that the FAQ in question doesn't > much cover your concern, although it does have a tiny section on moving > a portion of a filesystem to a different disk. You could do something > akin to what section 4.2 of that faq suggests. You sould be able to > use that extra space at any place in your current filesystem - and of > course, have it mounted automatically via an entry in /etc/fstab. As > far as distributing a little of the space across many directories that > currently reside on one filesyste, I don't think this is possible - or > at least not easily accomplished. As was briefly covered in the faq, I > have had good luck with mounting my new disk (or slice) to a temporary > mount point, then copying the contents of the dir (or filesystem) that I > want to expand to this temp. mount point. Then delete or backup the > original dir and mount your new disk or slice at the old location. > There may also be some limited cases where growfs(8), but this pertains > to changes on the same physical disk. > > Nathan