Page MenuHomePhabricator

Fix fabula.wikimedia.it:/mnt/archivio partition - no space available
Closed, ResolvedPublic

Description

During my lunch break I've discovered that the /mnt/archivio partition on the fabula.wikimedia.it server has not free space available.

$ ssh boz@fabula.wikimedia.it
$ sudo df -lh | grep 100%
/dev/sdb1        50G   50G     0 100% /mnt/archivio

It seems full of dumps made by this script:

crontab -l
10 4    * * 6     /home/centos/copie.wmi >/dev/null 2>&1

Now I cannot study that script but maybe, to keep just - uhm - six months of data retention, we can put something like this on the top of that script:

find /mnt/archivio -type f -mtime +180 -delete

Event Timeline

Just issued:

$ find /mnt/archivio -type f -mtime +180 -delete
$ df -lh | grep arch
/dev/sdb1        50G   16G   31G  35% /mnt/archivio

And updated the backup script.

It's funny that this was resolved just before the machine being destroyed by fire (T277008).

asd