Subject: Re: file system full
To: None <port-macppc@netbsd.org>
From: T. M. Pederson <salvage@plethora.net>
List: port-macppc
Date: 03/27/2001 20:32:31
On "Tue, 27 Mar 2001 15:17:51 -0500", Chris Tribo <t1345@hopi.dtcc.edu> wrote:
>On Tue, 27 Mar 2001, Juergen Tritthardt wrote:
>
>> Hi,
>> 
>> I'm trying to build kde2 on a 7600 and got after a 
>> 
>> cd /usr/pkgsrc/x11/kdebase2
>> make 
>> 
>> the following output:
>> 
>> extracting global C symbols from `/usr/pkg/lib/libjpeg.a'
>> (cd .libs && cc -c -fno-builtin -fno-rtti -fno-exceptions "kdmS.c")
>> /: write failed, file system is full
>> Mar 26 13:55:13 scorpius /netbsd: uid 0 on /: file system full
>> 
>> The df output after that is
>> 
>> /dev/sd1a       31855    29293      969    96%    /
>> /dev/sd1g     1500740   773992   651711    54%    /usr
>> kernfs              1        1        0   100%    /kern
>> 
>> So for me the file system doesn't seem to be full. Am I wrong?
>
>(assuming the above is output form df -k)
>
>	Probably, Your root file system only has 969 k free, that's less
>than a MB, not a whole heck of a lot of space to compile in. Unfortunately
>it seems that you accepted the stupid/silly sysinst default for a root
>file system size of ~30MB, so the only thing you could do is create a
>/usr/tmp directory and symlink /tmp to /usr/tmp. Depending on what version
>you're running, that may or may not work with the rc.d changes. Failing
>that, you'll have to re-install and pick a larger root-file system size
>(~75-100 MB)

Another possibility (if the system in question has enough RAM/swap) is
to set up /tmp as mfs.  I typically add
swap /tmp mfs rw,-s=131072 0 0
(with the actual size varying) to the /etc/fstab of the machines
with which I work.  The '-s' takes as its value the number of 512
byte sectors you want the mfs to use.  Default is half the size of
swap.  See mount_mfs(8) for more detail.
-- 
T. M. Pederson <salvage@plethora.net>
PGP key fingerprint = 48 94 7A 54 59 B6 C0 77  1F F6 94 55 0C 55 51 C4
"...and so the moral of the story is: Always make backups."
"But that was the moral last night, and the night before that too!"