Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2005 17:27:17 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-stable@freebsd.org
Subject:   Re: /usr too small
Message-ID:  <20050112162717.GB4247@slackbox.xs4all.nl>
In-Reply-To: <200501120922.19637.marc.plumet@edpnet.be>
References:  <200501120922.19637.marc.plumet@edpnet.be>

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

--3uo+9/B/ebqu+fSQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 12, 2005 at 09:22:19AM +0100, Marc Plumet wrote:
> Dear all,
>=20
> my system :
> kern.osreldate: 503001
> FreeBSD 5.3-RELEASE #0: Tue Nov  9 13:34:27 CET 2004
>=20
> I am running Freebsd on a laptop (Compaq Evo N800c).
> I have a winnt partition (8GB)
> I have a ufs partition (11GB)
<snip>=20
> my problem is that /usr is getting full.
,snip>
> I could scratch the winnt partition because I can do most of my work
> now with FreeBSD, I still need java/openoffice though, but therfore I
> need some free space first.
>=20
> Is there a way to use the free space from the "scratched-winnt" partition=
 to=20
> increase the /usr size ?

You could look at disk contatation, see gconcat(8) or striping, see
gstripe(8). I'm not sure if this works for disk partitions, or if you
need a complete disk for that. But this would require a backup of /usr,
newfs-ing the concatenated device followed by restoring the backup.

Another option would be to copy a large part of /usr, say /usr/local to
the reformatted former winnt partition and mount it at /usr/local. Other
directories could be moveed to the new partition and symlinked to their
previous places.

Roland
--=20
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/         X     No Word docs in e-mail
public key: http://www.keyserver.net / \    Respect for open standards

--3uo+9/B/ebqu+fSQ
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFB5U/lEnfvsMMhpyURAsFAAKCTl1zL02Ob9DuM2+eQo6aTwZblQQCfQlXd
02CmhzGC6ApFKAFf8rp0g9w=
=0s+B
-----END PGP SIGNATURE-----

--3uo+9/B/ebqu+fSQ--



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