Date: Wed, 23 Apr 2003 08:53:09 +0200 From: CARTER Anthony <a.carter@cordis.lu> To: nkinkade@fastmail.fm, Nathan Kinkade <nkinkade@dsl-only.net>, "Michael A. Alestock" <michaela@bsd.maa-net.net>, questions@freebsd.org Subject: Re: Adding a new IDE harddrive Message-ID: <200304230853.09997.a.carter@intrasoft.lu> In-Reply-To: <20030422213940.GG92029@sub21-156.member.dsl-only.net> References: <20030422213940.GG92029@sub21-156.member.dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304230853.09997.a.carter>