Rootfs full, can't empty it

Hi,

today I have decided to try pyLoad and as the Download folder was not configured properly I have downloaded the files to the rootfs partition.

Now it’s 100% full and I can’t unistall packages, do TimeMachine backups and I can’t even reinstall the FW.

How can I empity the partition?

Thanks

C

The rootfs is your system partition. Check the space “df -h”. If you’re able to install pyload, I’m sure you can uninstall other 3rd party apps you’ve installed. “dpkg -l|grep packagename” to find out the name,  “dpkg --purge packagename” to remove including its settings. Do this with caution or you might ended with a brick.

First thing - “apt-get clear”

Second - “du -sh /” (And searchdownloaded files, then - delete it or move to /DataVolume)

I have tried the commands, here’s the results:

WDMyCloud:/var/log.hdd# apt-get clear
E: Invalid operation clear

WDMyCloud:~# du -sh /
du: cannot access `/proc/10764/task/10764/fd/4': No such file or directory
du: cannot access `/proc/10764/task/10764/fdinfo/4': No such file or directory
du: cannot access `/proc/10764/fd/4': No such file or directory
du: cannot access `/proc/10764/fdinfo/4': No such file or directory
538G	/

WDMyCloud:/var/log.hdd# dpkg --purge pyLoadCore         
dpkg: error: failed to write status database record about 'vim-tiny' to '/var/lib/dpkg/status': No space left on device

Try this and paste ouput

cd / && du -x -d 1

Here’s the output:

WDMyCloud:~# cd / && du -x -d 1
0	./run
0	./sys
4	./selinux
0	./tmp
6588	./bin
9460	./sbin
16	./lost+found
44	./nfs
871808	./usr
4	./DataVolume
4	./CacheVolume
4	./home
4	./media
30468	./lib
0	./dev
4	./mnt
4	./opt
8	./srv
180588	./var
14436	./etc
0	./proc
815436	./root
3620	./boot
1932504	.

paste results of

cd /root && ls -all

Here you have it:

WDMyCloud:/# cd /root && ls -all
total 44
drwx------ 4 root root 4096 Jan 18 11:02 .
drwxr-xr-x 25 root root 4096 Feb 2 08:10 ..
-rw------- 1 root root 5983 Feb 2 07:58 .bash_history
-rwxr-xr-x 1 root root 463 Dec 11 14:45 .bashrc
drwxrwxrw- 3 root root 4096 Jan 3 12:01 .config
-rw-r--r-- 1 root root 140 Nov 19 2007 .profile
drwx------ 7 root root 4096 Feb 1 12:01 .pyload
lrwxrwxrwx 1 root root 37 Jan 3 12:01 Downloads -> /shares/Public/Transmission/Downloads
-rw-rw-rw- 1 root root 5156 Jan 20 07:05 rss.php
-rw-rw-rw- 1 root root 1236 Feb 28 2013 tr-control-easy-install.sh

hmm, not exactly what I hoped to see…

Try this instead, paste output

cd /root && du -x -d 1

  

PS: the problem is definitely somewhere in the /root folder since it shows 815mb in size

Here’s the response:

WDMyCloud:~# cd /root && du -x -d 1
815384	./.pyload
20	./.config
815436	.

and again (we’re getting there)

cd /root/.pyload && du -x -d 1
WDMyCloud:~# cd /root/.pyload && du -x -d 1
148	./tmp
88	./Logs
814484	./Downloads
588	./userplugins
36	./scripts
815384	.

 Ok, I have followed the path and I have removed the files :smiley:

The culprit is the Downloads folder which is created there. Removing this folder will free up the space. After this you should be good to go.

rm -rf /root/.pyload/Downloads

To make sure all is ok, perform the following and paste output

df -h

Another way:

mv /root/.pyload/Downloads /shares/Public/ln -s /shares/Public/Downloads /root/.pyload/Downloads