telekom-security / tpotce

🍯 T-Pot - The All In One Multi Honeypot Platform 🐝
GNU General Public License v3.0
6.28k stars 1.02k forks source link

/var is full /home has plenty of space, basic installation #1589

Closed Ondjultomte closed 1 week ago

Ondjultomte commented 1 week ago

So I setup tpot single node, a vm with a disk with 120GB, for testing.

the disklayout and usage could be better

tpot:/$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            7.9G     0  7.9G   0% /dev
tmpfs           1.6G  156M  1.5G  10% /run
/dev/sda1        22G  2.5G   19G  12% /
tmpfs           7.9G     0  7.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
**/dev/sda8        86G  1.1G   81G   2% /home**
/dev/sda7       1.4G   40K  1.3G   1% /tmp
**/dev/sda5       7.6G  7.6G     0 100% /var**
tmpfs           1.6G     0  1.6G   0% /run/user/1000

/var is full and /home has plenty of space. now the tpot instalation is broken webbgui doesnt repsond etc.

Ondjultomte commented 1 week ago

Ill resize the partitions, but the setup could perhaps balance the size better?

t3chn0m4g3 commented 1 week ago

T-Pot does not size anything, that is happening during the OS installation. T-Pot simply sits on top of the OS install and stores all its data in $HOME. Docker on the other hand stores all its data in /var/lib/docker and we will keep the defaults. You can adjust this if you want to, but it will remain untested.

micro /etc/docker/daemon.json

{
  "data-root": "/not/var/lib/docker"
}