How to get more disk?

pi@raspberrypi:/var $ df -k
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/root        1304692 1135292     85076  94% /
devtmpfs          469752       0    469752   0% /dev
tmpfs             474068       0    474068   0% /dev/shm
tmpfs             474068    6288    467780   2% /run
tmpfs               5120       4      5116   1% /run/lock
tmpfs             474068       0    474068   0% /sys/fs/cgroup
/dev/mmcblk0p1     61384   20328     41056  34% /boot

pi@raspberrypi:/var $ sudo du -a /var | sort -n -r | head -n 10
175740	/var
102404	/var/swap
65064	/var/lib
46936	/var/lib/apt
46908	/var/lib/apt/lists
45684	/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages
16452	/var/lib/dpkg
15284	/var/lib/dpkg/info
4492	/var/log
3588	/var/cache

What can I do to get more space?

The standard Pi installations come with a 2Gb filesystem. If you have a card larger than this you need to extend the filesystem.

If not you need to buy a bigger memory card :wink:

1 Like

… That was… toooo simple!.. haha :smiley:
Thx!