Hi Kleven,
thanks for your response. I wonder if /var/log is extremely full:
# du -s -k /*
4576 /bin
4480 /boot
4 /dev
40532 /etc
35960 /home
41272 /lib
16 /lost+found
529 /media
8 /mnt
du: cannot access `/proc/30353/task/30353/fd/3': No such file or directory
du: cannot access `/proc/30353/task/30353/fdinfo/3': No such file or directory
du: cannot access `/proc/30353/fd/3': No such file or directory
du: cannot access `/proc/30353/fdinfo/3': No such file or directory
du: cannot access `/proc/30354': No such file or directory
0 /proc
236 /run
2244 /sbin
0 /sys
4 /tmp
945000 /usr
586108 /var
# ls -lh /var/log
total 464K
drwxr-xr-x 2 root root 4.0K Jan 1 2000 ConsoleKit
-rw-r--r-- 1 root root 1.1K May 20 11:51 README
-rw-r--r-- 1 root root 8.3K Jan 1 2000 Xorg.0.log
-rw-r--r-- 1 root root 8.5K Aug 7 15:31 Xorg.0.log.old
-rw------- 1 root utmp 0 Jan 1 2000 btmp
drwx------ 4 root root 4.0K Jan 2 2000 cores
drwxr-xr-x 2 root root 4.0K May 29 21:41 gateone
-rw-r--r-- 1 root root 41K Jan 1 2000 gateone.log
drwxrwx--T 2 root gdm 4.0K Jan 1 2000 gdm
drwxr-xr-x 3 root root 4.0K Jan 1 2000 journal
-rw-r--r-- 1 root root 286K Aug 9 15:23 lastlog
-rw-r--r-- 1 root root 3.5K Jan 1 2000 log.nmbd
-rw-r--r-- 1 root root 1.9K Jan 1 2000 log.smbd
-rw-r--r-- 1 root root 389 Jan 1 2000 mpd.log
-rw-r--r-- 1 root root 23K Aug 7 15:32 ntpd.log
-rw-r--r-- 1 root root 1.6K Aug 7 15:32 pm-powersave.log
drwxr-xr-x 2 root root 4.0K Feb 25 00:36 samba
-rw-r--r-- 1 root root 0 Aug 7 11:28 samba-log.192.168.0.119
-rw-r--r-- 1 root root 0 Aug 7 11:35 samba-log.192.168.7.1
-rw-r--r-- 1 root root 25K Aug 7 15:35 samba-log.peter-hp
-rw-r--r-- 1 root root 33K Aug 9 15:40 samba-log.smbd
-rw-rw-r-- 1 root utmp 231K Aug 9 15:23 wtmp
-rw-r--r-- 1 root root 204 Aug 7 15:32 xinput_calibrator.pointercal.log
For a 2GB memory a directory of 464kB is not shocking, do you think?
I followed Andy's advice, this is the resultr:
root@freek:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1738184 1551616 96604 95% /
/dev/root 1738184 1551616 96604 95% /
devtmpfs 255276 0 255276 0% /dev
tmpfs 255404 4 255400 1% /dev/shm
tmpfs 255404 520 254884 1% /run
tmpfs 255404 0 255404 0% /sys/fs/cgroup
tmpfs 255404 4 255400 1% /tmp
/dev/mmcblk0p1 71133 55239 15895 78% /media/BEAGLEBONE
root@freek:/# du -s -k /*
4576 /bin
4480 /boot
4 /dev
40536 /etc
36176 /home
41272 /lib
16 /lost+found
525 /media
8 /mnt
du: cannot access `/proc/621/task/621/fd/3': No such file or directory
du: cannot access `/proc/621/task/621/fdinfo/3': No such file or directory
du: cannot access `/proc/621/fd/3': No such file or directory
du: cannot access `/proc/621/fdinfo/3': No such file or directory
0 /proc
520 /run
2244 /sbin
0 /sys
4 /tmp
945000 /usr
474620 /var
So we have reclaimed 5% of the rootfs, and for the time being I can proceed, but isn't 95% usage far too much?
Thanks,
Peter
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Thanks Juan, but this would force me to install a different OS (Debian, Ubuntu) whilst I had the idea to start doing practical things with my BBB (like controlling the temperature of my wine ;-) ).
Thanks Kleven,
I took acloser look at /var/log and then I ran into:
root@freek:/var/log# ls -lah journal/26491a0b6f73493b81508b4a729dc1ff
total 306M
drwxr-xr-x 2 root root 4.0K Jan 3 2000 .
drwxr-xr-x 3 root root 4.0K Jan 1 2000 ..
-rw-r----- 1 root adm 444K Aug 9 17:23 system.journal
-rw-r----- 1 root root 8.0K Aug 7 10:27 sys...@00035d158e32c1b3-a2fe31214f3f3da9.journal~
-rw-r----- 1 root adm 14M Jan 1 2000 sys...@0c88a65ac9f847668bee524e30c0e4cc-00000000000c5aa7-00035d03dd4ce370.journal
....etc....
And so on, many 14MB files with enormous file names...
I deleted tem all, and then I got:
root@freek:/var/log# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1738184 1239828 408392 76% /
/dev/root 1738184 1239828 408392 76% /
.......etc.......
These journals are way too much, I hope we will get an improved Angstrom distro...
Can anyone tell me if 76% for the rootfs is normal/acceptable for the BBB?
Thanks Kleven,
I took acloser look at /var/log and then I ran into:
root@freek:/var/log# ls -lah journal/26491a0b6f73493b81508b4a729dc1ff
total 306M
drwxr-xr-x 2 root root 4.0K Jan 3 2000 .
drwxr-xr-x 3 root root 4.0K Jan 1 2000 ..
-rw-r----- 1 root adm 444K Aug 9 17:23 system.journal
-rw-r----- 1 root root 8.0K Aug 7 10:27 system@00035d158e32c1b3-a2fe31214f3f3da9.journal~
-rw-r----- 1 root adm 14M Jan 1 2000 system@0c88a65ac9f847668bee524e30c0e4cc-00000000000c5aa7-00035d03dd4ce370.journal
....etc....