/ getting full during "make buildworld" for 4.5
nik at freebsd.org
Tue Feb 5 01:40:43 GMT 2002
Content-Type: text/plain; charset=us-ascii
On Tue, Feb 05, 2002 at 12:58:38AM +0000, Charlie Brewster wrote:
> I'm trying to upgrade from 4.4 to 4.5 using cvsup and "make buildworld" et
> seq. and I'm seeing it crash due to running out of space on the /
> filesystem. Previous upgrade builds have gone mostly OK, although I had to
> manually move files around to free up space in / with 4.3 to 4.4. This ti=
> I cleared out as much as possible before starting the build, but there ju=
> isn't enough space allocated for the root filesystem.
Have you got softupdates turned on for the / filesystem?
If so, turn it off (at least for the duration of the build). Files
deleted when softupdates are enabled do not have their space reclaimed
immediately, which can cause problems if you're doing lots of rapid
creations and deletions on a small filesystem.
1. Boot single user
2. Run "tunefs -n disable /"
> Am I correct in thinking that there's no way of reslicing/partitioning a
> FreeBSD hard drive as I might, for example with MS DOS and Partition Magi=
Not easily. You can use growfs to grow the size of an existing
filesystem, but you need to have free space at the end of the filesystem
in order to expand it. That's almost certainly not the case here.
> On one of the newsgroup archives I saw a reference to being able to do a
> workaround by setting up symbolic links. How might I set this up so that
> files being created during "make buildworld" and written to subdirectories
> in / get mapped to somewhere like a /usr/root directory where there would
> be loads of space? Does anyone have any experience of this sort of
> temporary fix working?
It should make. But it makes your system much harder to recover if you
lose the /usr filesystem for some reason.
To be honest, I'd double check the contents of your root filesystem. My
recently updated (4.3-RC2 -> 4.5) box is currently only using 40MB on
the / filesystem.
FreeBSD: The Power to Serve http://www.freebsd.org/ (__)
FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',)
--- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/=
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the Ukfreebsd