From 29bf24be86883c2cd7107e41f0279d34b61f8364 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 9 Jul 2024 11:04:48 -0400 Subject: [PATCH] test/backends/lvm: use bigger loop dev to accomodate for metadata LV On LXD 4.0, the metadata LV is hardcoded to 1G so we need a bigger pool to have space for data LVs. Later LXD versions changed this to be dynamic and/or configurable. Signed-off-by: Simon Deziel --- test/backends/lvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/backends/lvm.sh b/test/backends/lvm.sh index 9ff4231855c6..daf9b2a95a81 100644 --- a/test/backends/lvm.sh +++ b/test/backends/lvm.sh @@ -15,7 +15,7 @@ lvm_configure() { echo "==> Configuring lvm backend in ${LXD_DIR}" - lxc storage create "lxdtest-$(basename "${LXD_DIR}")" lvm volume.size=25MiB size=1GiB + lxc storage create "lxdtest-$(basename "${LXD_DIR}")" lvm volume.size=25MiB size=2GiB lxc profile device add default root disk path="/" pool="lxdtest-$(basename "${LXD_DIR}")" }