nebari-dev / nebari-slurm

An opinionated open source deployment of jupyterhub based on an Slurm job scheduler.
BSD 3-Clause "New" or "Revised" License
28 stars 10 forks source link

[ENH] - Make minio storage directory customizable #163

Closed aktech closed 3 months ago

aktech commented 4 months ago

Feature description

At the moment minio is storing data into /var/lib/minio

...
27G     /var/lib/minio
...
29G     /var/lib
➜   sudo du -h --max-depth=1 --exclude=/proc --exclude=/sys --exclude=/dev /var/lib/minio

25G     /var/lib/minio/conda-store
3.0G    /var/lib/minio/.minio.sys
27G     /var/lib/minio
➜   sudo du -h --max-depth=1 --exclude=/proc --exclude=/sys --exclude=/dev /var/lib/minio/conda-store

25G     /var/lib/minio/conda-store/archive
2.8M    /var/lib/minio/conda-store/lockfile
196K    /var/lib/minio/conda-store/yaml
856K    /var/lib/minio/conda-store/logs
25G     /var/lib/minio/conda-store

Add option to set the directory to one of the mounted ones.

Value and/or benefit

A more robust and healthy system, which would not go down due to "no space left on device" error.

Anything else?

No response