Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 14:39:40 -0700
From:      Nathan Kinkade <nkinkade@dsl-only.net>
To:        "Michael A. Alestock" <michaela@bsd.maa-net.net>, questions@freebsd.org
Subject:   Re: Adding a new IDE harddrive
Message-ID:  <20030422213940.GG92029@sub21-156.member.dsl-only.net>
In-Reply-To: <20030422202312.GF92029@sub21-156.member.dsl-only.net>
References:  <200304221610.21113.michaela@bsd.maa-net.net> <20030422202312.GF92029@sub21-156.member.dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--zGQnqpIoxlsbsOfg
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 sys=
tem,=20
> > however, what I wanted to know is how do I use the new harddrive's spac=
e to=20
> > add more space to my current filesystem's directories?  Do I have to LI=
NK the=20
> > new harddrive to the old drive?  How would I go about this process??
> >=20
> > Thanks!  : )
>=20
> It's in the FreeBSD FAQ.
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#ADDING-DI=
SKS
>=20
> 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
--=20
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc

--zGQnqpIoxlsbsOfg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+pbacWZYS9EJQoEwRAt5VAKC5k3CJ5JlMzAphbue6idztY7kOBgCdFfb3
09a0ViHTHnmrzLO3punbrk8=
=uxET
-----END PGP SIGNATURE-----

--zGQnqpIoxlsbsOfg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030422213940.GG92029>