So this caused all sorts of issues and node would not update then it froze up bad... restarted and it would not reconnect... got on local and saw it was up but out of root partition space...
ssh to the node
apt-get autoremove failed... no space
everything I did failed...
I found several threads here talking about resizing or otherwise but nothing outright simple to make space...
I did
and saw the log files eating up much of the 20GB partition
So - I googled all over the place to see if I can trim or otherwise edit the config but I got lost looking for how to trim these...
ultimately I just did the unthinkable.. I deleted the entire ceph log.. so be it.. saved 2gig right there...
then I was able to do the
apt-get autoremove
and it finished...
seems to have temporarily fixed my issues but worried now how and why these things are allowed to grow so big and not get trimmed so as to not kill the node with just logs... seems like a bug that can be sorted with some checks...
now I want to figure out how to extend the root...
ideas?
ssh to the node
apt-get autoremove failed... no space
everything I did failed...
I found several threads here talking about resizing or otherwise but nothing outright simple to make space...
I did
Code:
find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
and saw the log files eating up much of the 20GB partition
Code:
/var/log/daemon.log: 3.1G
/var/log/syslog: 3.1G
/var/log/ceph/ceph-osd.4.log: 2.1G
So - I googled all over the place to see if I can trim or otherwise edit the config but I got lost looking for how to trim these...
ultimately I just did the unthinkable.. I deleted the entire ceph log.. so be it.. saved 2gig right there...
then I was able to do the
apt-get autoremove
and it finished...
seems to have temporarily fixed my issues but worried now how and why these things are allowed to grow so big and not get trimmed so as to not kill the node with just logs... seems like a bug that can be sorted with some checks...
now I want to figure out how to extend the root...
ideas?