I run Debian 6 linux located on SD card. Trying to extract tar.gz file to /opt directory , but system complains regarding no space available on disc.
df -k brings:
user@ion:/opt$ df -k Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 984112 0 984112 0% /lib/init/rw udev 10240 24 10216 1% /dev tmpfs 984112 0 984112 0% /dev/shm rootfs 499640 474856 0 100% / /dev/mmcblk0p2 1998608 321344 1677264 17% /usr /dev/mmcblk0p3 1998608 198188 1800420 10% /var /dev/mmcblk0p4 2938992 249096 2689896 9% /home
Please correct my understanding below.
I see that
rootfs fully used and it is for root directory
/. And since
/opt is placed in this location it is true that there is no space available. I'm right?
How to know which file is biggest in my system?
After I deleted some files in ~ directory, I still cant extract to
/opt/. Just several files are extracted.
I can extract all files to
~ folder. Why I can extract to
~ and not
/opt/ folder? How to fix it?