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

Fix: Disable lvm archive #358

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions buildscripts/lvm-driver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ RUN apk add --no-cache lvm2 lvm2-extra util-linux device-mapper
RUN apk add --no-cache btrfs-progs xfsprogs xfsprogs-extra e2fsprogs e2fsprogs-extra
RUN apk add --no-cache ca-certificates libc6-compat

# Disable lvm archiving
RUN sed -i -r -e '/^\s*#?\s*archive\s*=/s/^.*$/ archive = 0/' /etc/lvm/lvm.conf

ARG DBUILD_DATE
ARG DBUILD_REPO_URL
ARG DBUILD_SITE_URL
Expand Down
3 changes: 3 additions & 0 deletions buildscripts/lvm-driver/Dockerfile.buildx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ RUN apk add --no-cache lvm2 lvm2-extra util-linux device-mapper
RUN apk add --no-cache btrfs-progs xfsprogs xfsprogs-extra e2fsprogs e2fsprogs-extra
RUN apk add --no-cache ca-certificates libc6-compat

# Disable lvm archiving
RUN sed -i -r -e '/^\s*#?\s*archive\s*=/s/^.*$/ archive = 0/' /etc/lvm/lvm.conf

ARG DBUILD_DATE
ARG DBUILD_REPO_URL
ARG DBUILD_SITE_URL
Expand Down
1 change: 1 addition & 0 deletions changelogs/unreleased/236-frasmarco
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disable lvm archive in order to limit space usage when creating **lots** of volumes