Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage Decisions #4

Open
jpronans opened this issue May 6, 2020 · 2 comments
Open

Storage Decisions #4

jpronans opened this issue May 6, 2020 · 2 comments
Assignees
Labels
operations question Further information is requested

Comments

@jpronans
Copy link

jpronans commented May 6, 2020

Afternoon,
Is there a recommended storage layout for a node? I.e. Sizes of partitions and fileystem requirements.

@donalhunt donalhunt self-assigned this Mar 13, 2021
@donalhunt donalhunt added operations question Further information is requested labels Mar 13, 2021
@donalhunt
Copy link
Member

Hi @jpronans!

There doesn't seem to be a good recommendation but it does seem like we need to come up with some "standard" for OSM Ireland / the dev*.openstreetmap.ie server(s).

This is the current layout:

Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1       9.6G  5.5G  4.1G  57% /
/dev/vda15      105M  6.3M   99M   7% /boot/efi
/dev/vdc        103G   44G   54G  45% /mnt/vdc
/dev/vdd         48G  7.9G   37G  18% /mnt/vdd
/dev/vde        503G   67G  411G  14% /mnt/vdh
/dev/vdf         47G  3.7G   41G   9% /var/lib/docker

/dev/vdc (mounted as /dev/vdc)seems to be a /data mountpoint dating from ~ Nov 2019 (last write is Nov 2019).
/dev/vdd (mounted as /dev/vdd) seems to be a /var mountpoint dating from 2018-2019 (last write is Dec 2019).
/dev/vde (mounted as /dev/vdh) seems to be a /data mountpoint dating from this year (writes from 2021).
/dev/vdf (mounted as /var/lib/docker) seems to setup for docker usage (setup in March 2021 based on dates).

Summary of current devices in use

UUID filesystem mountpoint label
/dev/vda1 / cloudimg-rootfs
/dev/vda15 /boot/efi UEFI
3f5b92c9-6170-47aa-b8f7-21ca607a46a9 /dev/vdc /mnt/vdc
ebac04d1-7d75-45fa-9406-e29b28111192 /dev/vdd /mnt/vdd
5ce43ee9-5d95-49dd-a794-3f0ce1e546df /dev/vde /mnt/vdh
db99905e-a480-4314-80c6-ac36f90e2029 /dev/vdf /var/lib/docker

Suggested approach

/ should be more than enough with 10G of storage on any server. Could tune that down at a later date.
/docker probably needs a reasonable amount of space for runtime purposes (image storage, etc). 40G seems good right now.
/data is where any long-lived data should be stored (would be mounted into docker images where appropriate). 100G is a good first guess but will likely be lower once stuff is better organised and we have estimates for different things.

@jpronans
Copy link
Author

jpronans commented Sep 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operations question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants