You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Marc Roos <M....@f1-outsourcing.eu> on 2019/02/13 11:11:00 UTC

Clean up old unused data

How to clean up dirs like these? Is there something like docker system 
prune?


[@m03 mesos]# ls -l /var/lib/mesos/meta/slaves/
total 0
drwxr-xr-x 4 root root 76 Feb 13 12:08 
5c859c22-6183-4f39-a343-8c3f6bb87b69-S2
drwxr-xr-x 2 root root 24 Oct 10  2017 
8eeccf5c-18ab-44f0-8dde-89336e900d2c-S0
drwxr-xr-x 3 root root 58 Feb  9 17:20 
976957d9-40ee-4b5d-b41c-1b13e90dd913-S0
drwxr-xr-x 4 root root 76 Feb  9 20:18 
976957d9-40ee-4b5d-b41c-1b13e90dd913-S1
drwxr-xr-x 2 root root 24 Oct 21  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S0
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S1
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S2
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S3
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S4
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S5
lrwxrwxrwx 1 root root 66 Feb  9 18:14 latest -> 
/var/lib/mesos/meta/slaves/976957d9-40ee-4b5d-b41c-1b13e90dd913-S1






Re: Clean up old unused data

Posted by Tomek Janiszewski <ja...@gmail.com>.
Messo has builtin GC. See this question
https://stackoverflow.com/q/50819091/1387612

śr., 13 lut 2019 o 12:28 Marc Roos <M....@f1-outsourcing.eu> napisał(a):

>
>
>
>
>
>
>
>
> And these
>
>
> [@m03 executors]# ls -l
> /var/lib/mesos/meta/slaves/976957d9-40ee-4b5d-b41c-1b13e90dd913-S1/frame
> works/8eeccf5c-18ab-44f0-8dde-89336e900d2c-0000/executors
>
>
> drwxr-xr-x    3 root root    39 Feb 13 12:05
> mariadb.3d8c2f0c-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:05
> mariadb.4089697d-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:05
> mariadb.43862ebe-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:05
> mariadb.49807c8f-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:05
> mariadb.4f7b1880-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:05
> mariadb.55756651-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:06
> mariadb.5b6fb422-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:06
> mariadb.616a5013-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:06
> mariadb.6764c4f4-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:06
> mariadb.6d60c075-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:06
> mariadb.735b5c66-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:07
> mariadb.7c53cf07-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:07
> mariadb.854da138-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:07
> mariadb.8e42df89-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:07
> mariadb.97386bfa-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:08
> mariadb.a32d55bb-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:08
> mariadb.af2091cc-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:08
> mariadb.bc46f6ad-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:09
> mariadb.ca81157e-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:09
> mariadb.da9d88df-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:10
> mariadb.ed09dfb0-2f7f-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:10
> mariadb.01f2cf41-2f80-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:12
> mariadb.19dfb002-2f80-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:12
> mariadb.4993c113-2f80-11e9-b19a-5051143001a1
> drwxr-xr-x    3 root root    39 Feb 13 12:13
> mariadb.6906e6d4-2f80-11e9-b19a-5051143001a1
>
>
> [@m03 mesos]# ls -l /var/lib/mesos/meta/slaves/
> total 0
> drwxr-xr-x 4 root root 76 Feb 13 12:08
> 5c859c22-6183-4f39-a343-8c3f6bb87b69-S2
> drwxr-xr-x 2 root root 24 Oct 10  2017
> 8eeccf5c-18ab-44f0-8dde-89336e900d2c-S0
> drwxr-xr-x 3 root root 58 Feb  9 17:20
> 976957d9-40ee-4b5d-b41c-1b13e90dd913-S0
> drwxr-xr-x 4 root root 76 Feb  9 20:18
> 976957d9-40ee-4b5d-b41c-1b13e90dd913-S1
> drwxr-xr-x 2 root root 24 Oct 21  2017
> a26aed49-a710-41aa-95d6-22b219f78232-S0
> drwxr-xr-x 2 root root 24 Oct 22  2017
> a26aed49-a710-41aa-95d6-22b219f78232-S1
> drwxr-xr-x 2 root root 24 Oct 22  2017
> a26aed49-a710-41aa-95d6-22b219f78232-S2
> drwxr-xr-x 2 root root 24 Oct 22  2017
> a26aed49-a710-41aa-95d6-22b219f78232-S3
> drwxr-xr-x 2 root root 24 Oct 22  2017
> a26aed49-a710-41aa-95d6-22b219f78232-S4
> drwxr-xr-x 2 root root 24 Oct 22  2017
> a26aed49-a710-41aa-95d6-22b219f78232-S5
> lrwxrwxrwx 1 root root 66 Feb  9 18:14 latest ->
> /var/lib/mesos/meta/slaves/976957d9-40ee-4b5d-b41c-1b13e90dd913-S1
>
>
>
>
>
>
>
>

RE: Clean up old unused data

Posted by Marc Roos <M....@f1-outsourcing.eu>.
 







And these


[@m03 executors]# ls -l 
/var/lib/mesos/meta/slaves/976957d9-40ee-4b5d-b41c-1b13e90dd913-S1/frame
works/8eeccf5c-18ab-44f0-8dde-89336e900d2c-0000/executors


drwxr-xr-x    3 root root    39 Feb 13 12:05 
mariadb.3d8c2f0c-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:05 
mariadb.4089697d-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:05 
mariadb.43862ebe-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:05 
mariadb.49807c8f-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:05 
mariadb.4f7b1880-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:05 
mariadb.55756651-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:06 
mariadb.5b6fb422-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:06 
mariadb.616a5013-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:06 
mariadb.6764c4f4-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:06 
mariadb.6d60c075-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:06 
mariadb.735b5c66-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:07 
mariadb.7c53cf07-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:07 
mariadb.854da138-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:07 
mariadb.8e42df89-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:07 
mariadb.97386bfa-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:08 
mariadb.a32d55bb-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:08 
mariadb.af2091cc-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:08 
mariadb.bc46f6ad-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:09 
mariadb.ca81157e-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:09 
mariadb.da9d88df-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:10 
mariadb.ed09dfb0-2f7f-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:10 
mariadb.01f2cf41-2f80-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:12 
mariadb.19dfb002-2f80-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:12 
mariadb.4993c113-2f80-11e9-b19a-5051143001a1
drwxr-xr-x    3 root root    39 Feb 13 12:13 
mariadb.6906e6d4-2f80-11e9-b19a-5051143001a1


[@m03 mesos]# ls -l /var/lib/mesos/meta/slaves/
total 0
drwxr-xr-x 4 root root 76 Feb 13 12:08 
5c859c22-6183-4f39-a343-8c3f6bb87b69-S2
drwxr-xr-x 2 root root 24 Oct 10  2017 
8eeccf5c-18ab-44f0-8dde-89336e900d2c-S0
drwxr-xr-x 3 root root 58 Feb  9 17:20 
976957d9-40ee-4b5d-b41c-1b13e90dd913-S0
drwxr-xr-x 4 root root 76 Feb  9 20:18 
976957d9-40ee-4b5d-b41c-1b13e90dd913-S1
drwxr-xr-x 2 root root 24 Oct 21  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S0
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S1
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S2
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S3
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S4
drwxr-xr-x 2 root root 24 Oct 22  2017 
a26aed49-a710-41aa-95d6-22b219f78232-S5
lrwxrwxrwx 1 root root 66 Feb  9 18:14 latest -> 
/var/lib/mesos/meta/slaves/976957d9-40ee-4b5d-b41c-1b13e90dd913-S1