Page MenuHomePhabricator

dbstore2001 low on disk space
Closed, ResolvedPublic

Description

root@dbstore2001:~$ df -h
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/tank-data   11T  9.7T  1.2T  90% /srv

It gave a warning on icinga.

root@dbstore2001:/srv$ du -h --max-depth=1 
0       ./tmp.s2
1.2T    ./sqldata.s2
13G     ./tmp
0       ./tmp.s7
0       ./tmp.s5
1.3T    ./sqldata.s7
0       ./tmp.s6
789G    ./sqldata.s6
745G    ./sqldata.s5
4.4T    ./backups
1.5T    ./sqldata.s8
0       ./tmp.s8
9.7T    .

Event Timeline

jcrespo created this task.Jan 28 2019, 11:12 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 28 2019, 11:12 AM
jcrespo updated the task description. (Show Details)Jan 28 2019, 11:13 AM

I think we can delete /srv/backups/? As those are duplicated from those on es2001 / bacula. Agree?

+1 to get rid of it:

root@dbstore2001:/srv/backups# ls -lhrt | tail -n5
drwx------ 2 dump dump  24K Feb 28  2018 s1.20180228121150
-rw-r--r-- 1 dump dump   86 Feb 28  2018 dump.s3.log
drwx------ 2 dump dump 7.7M Feb 28  2018 s3.20180228121150
-rw-r--r-- 1 dump dump    0 Feb 28  2018 dump.s4.log
drwx------ 2 dump dump  24K Feb 28  2018 s4.20180228121150

Mentioned in SAL (#wikimedia-operations) [2019-01-28T16:36:09Z] <jynus> remove backups dir at dbstore2001 T214831