NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

/ was overflows



hi.

/ (root) was overflows.
How do I get to find out, consuming capacity?


question
========
I ran the sysbuild build. And it was in error.

/ was full for a long time. or impact of sysbuild. I do not know it.
As it, Where is  / overflowing? I should I examine how?


environment
========
% uname -msr
NetBSD 6.1.2 i386


sysbuild error
========
% sysbuild build

 :
#   compile  libpuffs/callcontext.ln
CC=/root/sysbuild/i386/tools/bin/i486--netbsdelf-gcc
/root/sysbuild/i386/tools/bin/i486--netbsdelf-lint -chapbxzFS -S -w -d
/root/sysbuild/i386/destdir/usr/include  -D_FORTIFY_SOURCE=2    -i
/usr/src/lib/libpuffs/callcontext.c

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full

/: write failed, file system is full
/usr/src/lib/libpuffs/callcontext.c:49:0: fatal error: when writing
output to : No space left on device

/: write failed, file system is full
compilation terminated.
*** [callcontext.ln] Error code 1
nbmake: stopped in /usr/src/lib/libpuffs
1 error
nbmake: stopped in /usr/src/lib/libpuffs
*** [dependall] Error code 2
nbmake: stopped in /usr/src/lib/libpuffs
1 error
nbmake: stopped in /usr/src/lib/libpuffs
*** [dependall-libpuffs] Error code 2
nbmake: stopped in /usr/src/lib
1 error
nbmake: stopped in /usr/src/lib
*** [do-lib] Error code 2

nbmake: stopped in /usr/src
1 error

nbmake: stopped in /usr/src
*** [build] Error code 2
nbmake: stopped in /usr/src
1 error

nbmake: stopped in /usr/src
*** [distribution] Error code 2
nbmake: stopped in /usr/src
1 error

nbmake: stopped in /usr/src
*** [release] Error code 2

nbmake: stopped in /usr/src
1 error

nbmake: stopped in /usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***
sysbuild: W: Command failed with code 1


survey
========
% df -h
Filesystem         Size       Used      Avail %Cap Mounted on
/dev/wd0a          528M       527M       -25M 105% /
/dev/wd0f          9.8G       153M       9.2G   1% /var
/dev/wd0e           20G        12G       7.1G  61% /usr
/dev/wd0g           19G       8.5G       9.6G  47% /home
kernfs             1.0K       1.0K         0B 100% /kern
ptyfs              1.0K       1.0K         0B 100% /dev/pts
procfs             4.0K       4.0K         0B 100% /proc


Looking at the / , only uses 13MB.


% ls -lh /
total 13M
drwxr-xr-x  2 root wheel  512 Nov 28 20:30 altroot/
drwxr-xr-x  2 root wheel 1.0K Nov 28 22:12 bin/
-r--r--r--  1 root wheel  59K Jul 24  2011 boot
-rw-r--r--  1 root wheel  319 Dec  7  2012 boot.cfg
drwxr-xr-x  2 root wheel  512 Jul 24  2011 cdrom/
drwxr-xr-x  5 root wheel  34K Nov 28 22:18 dev/
drwxr-xr-x  2 root wheel  512 Dec 29 16:48 emul/
drwxr-xr-x 26 root wheel 2.0K Apr 28 18:51 etc/
drwxr-xr-x  3 root wheel  512 May 25  2012 home/
dr-xr-xr-x  2 root wheel  512 Apr 28 18:53 kern/
drwxr-xr-x  2 root wheel 2.5K Nov 28 22:12 lib/
drwxr-xr-x  3 root wheel  512 Nov 28 20:30 libdata/
drwxr-xr-x  5 root wheel  512 Nov 28 22:12 libexec/
drwxr-xr-x  2 root wheel  512 Jan 24 20:20 media/
drwxr-xr-x  2 root wheel  512 Nov 28 20:30 mnt/
-rwxr-xr-x  1 root wheel  13M Nov 29 12:22 netbsd*
dr-xr-xr-x  1 root wheel  512 Apr 28 18:53 proc/
drwxr-xr-x  2 root wheel 3.0K Nov 28 22:17 rescue/
drwxr-xr-x 13 root wheel  512 Apr 27 17:39 root/
drwxr-xr-x  2 root wheel 3.0K Nov 28 22:14 sbin/
drwxr-xr-x  3 root wheel  512 Nov 28 21:21 stand/
drwxrwxrwt  3 root wheel  512 Apr 28 18:51 tmp/
drwxr-xr-x 23 root wheel  512 Apr 27 16:45 usr/
drwxr-xr-x 27 root wheel  512 Dec 10 20:51 var/


output of du. Is / consumed?


% du -m / | sort -nr -T ~/ | head -30
21401   /
11845   /usr
8722    /home
7696    /home/rin
4362    /usr/pkg
3437    /home/rin/work
2755    /home/rin/work/lang
2447    /home/rin/work/lang/c
2178    /usr/pkg/lib
2118    /usr/src.6.1.2
1576    /usr/src
1230    /usr/obj
1228    /usr/src.6.1.2/external
1081    /usr/pkg/lib/ruby
1047    /usr/pkg/share
1040    /usr/pkg/lib/ruby/gems
861     /usr/src/external
837     /usr/pkg/lib/ruby/gems/1.9.3
781     /home/rin/.hg
780     /home/rin/.hg/store
775     /usr/xsrc
726     /home/rin/mail
706     /usr/src.6.1.2/external/gpl3
693     /home/rin/public_html
690     /home/rin/.hg/store/data
685     /usr/pkgsrc
635     /home/rin/usr
635     /home/rin/usr/local
603     /usr/src/external/gpl3
598     /home/rin/public_html/images


-- 
miwarin


Home | Main Index | Thread Index | Old Index