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

[build] Increase size of dockerfs ramdisk to accommodate more containers #4666

Merged
merged 1 commit into from
May 29, 2020
Merged

[build] Increase size of dockerfs ramdisk to accommodate more containers #4666

merged 1 commit into from
May 29, 2020

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented May 29, 2020

Images built from master branch and installed on devices where we mount /var/lib/docker in RAM (because the HDD is small) were failing to boot properly. The Docker service failed to start because /var/lib/docker was filled to 100%. This is due to the increase in total number of containers in the image.

As of today, /var/lib/docker contains 1.3 GB of data. Therefore, this PR increases the size of the ramdisk to 1.5 GB to accommodate all the containers. Example output below from an Arista-7050-QX32 SKU:

admin@sonic:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
...
tmpfs           1.5G  1.3G  172M  89% /var/lib/docker
...

@jleveque jleveque requested a review from lguohan May 29, 2020 06:58
@jleveque jleveque self-assigned this May 29, 2020
@lguohan lguohan merged commit 9863b76 into sonic-net:master May 29, 2020
@jleveque jleveque deleted the inc_docker_ramdisk branch May 29, 2020 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants