marinebon / sdg14-shiny

Shiny apps related to MBON SDG14
https://marinebon.github.io/sdg14-shiny
1 stars 0 forks source link

mbon server out of disk space #6

Closed 7yl4r closed 6 years ago

7yl4r commented 6 years ago

mbon root dir is at 95% usage w/ 1GB remaining. I'm looking around now for potential cleanup or else will have to add some space.

7yl4r commented 6 years ago

doh. I always underestimate how much /proc messes with baobab.

image

7yl4r commented 6 years ago

perhaps a more primitive method to start:

XXX@XXX:/$ sudo du -sh *
16M bin
104M    boot
4.0K    dev
18M etc
204K    home
0   initrd.img
0   initrd.img.old
624M    lib
4.0K    lib64
16K lost+found
368G    mbon
8.0K    media
383G    mnt
104M    opt
0   proc
40K root
393M    run
14M sbin
4.0K    snap
4.0K    srv
0   sys
120K    tmp
2.0G    usr
19G var
0   vmlinuz
0   vmlinuz.old

ah... okay, it's all docker. Nothing to clean up here.

sudo du -sh /var/lib/docker
19G /var/lib/docker

So what would be the best way to move /var/lib/docker into /mnt/mbon-supplement? Quick and easy might be to mv & symlink... unless that breaks something.

7yl4r commented 6 years ago

I think this guide: Moving /var/lib/docker to another directory looks like the right way to do it. What do you think @bbest ?