Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

[Discuss] MyBookLive disk space issues



I bought a MyBookLive for the family media collection. I like that
they are using open source software on the device. I am able to ssh
over there and reboot for example when that is needed.

I got a message that a file was not able to be written. So I ran this command:

MyBookLive:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md1              1.9G  1.9G     0 100% /
tmpfs                  50M     0   50M   0% /lib/init/rw
udev                   10M  6.7M  3.4M  67% /dev
tmpfs                  50M     0   50M   0% /dev/shm
tmpfs                  50M  2.7M   48M   6% /tmp
ramlog-tmpfs          1.9G  1.9G     0 100% /var/log
/dev/sda4             924G  531G  393G  58% /DataVolume

100%, not a good sign. Where are the problems?

MyBookLive:/# du -sh var
1.5G	var

Let's look in there:

MyBookLive:/# du -sh var/*
4.0K	var/backups
1.3M	var/cache
15M	var/lib
52K	var/local
0	var/lock
946M	var/log
4.0K	var/log.hdd
4.0K	var/mail
4.0K	var/opt
0	var/run
12K	var/spool
0	var/tmp
0	var/twonkymedia
542M	var/www



MyBookLive:/# du -sh --si var/*
4.1k	var/backups
1.4M	var/cache
15M	var/lib
54k	var/local
0	var/lock
992M	var/log
4.1k	var/log.hdd
4.1k	var/mail
4.1k	var/opt
0	var/run
13k	var/spool
0	var/tmp
0	var/twonkymedia
568M	var/www

I am not seeing it (the --si follows symbolic links).

MyBookLive:/var# ls -lah
total 48K
drwxr-xr-x 12 root root 4.0K Nov 14  2011 .
drwxr-xr-x 25 root root 4.0K Dec 31 19:17 ..
drwxr-xr-x  2 root root 4.0K Feb 17  2012 backups
drwxrwxrwx 10 root root 4.0K Nov 14  2011 cache
drwxr-xr-x 28 root root 4.0K Nov 14  2011 lib
drwxr-xr-x  4 root root 4.0K Nov 14  2011 local
lrwxrwxrwx  1 root root    4 Nov 14  2011 lock -> /tmp
drwxr-xr-x  7 root root 4.0K Dec 31 19:03 log
drwxrwxrw-  2 root root 4.0K Nov 14  2011 log.hdd
drwxr-xr-x  2 root root 4.0K Nov 14  2011 mail
drwxr-xr-x  2 root root 4.0K Nov 14  2011 opt
lrwxrwxrwx  1 root root    4 Nov 14  2011 run -> /tmp
drwxr-xr-x  3 root root 4.0K Nov 14  2011 spool
lrwxrwxrwx  1 root root    4 Nov 14  2011 tmp -> /tmp
lrwxrwxrwx  1 root root   24 Nov 14  2011 twonkymedia ->
/CacheVolume/twonkymedia
drwxr-xr-x  6 root root 4.0K Nov 14  2011 www

How should I be looking for who is eating up all the disk space? Is
there a general command to limit cache or logs? I guess I am not much
of a sys admin.

Doug



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org