[lxc-devel] [lxd/master] lxd/storage/drivers: Bump VM fs size to 100MB

stgraber on Github lxc-bot at linuxcontainers.org
Tue Jun 23 23:19:19 UTC 2020

A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 477 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200623/2305a02d/attachment.bin>
-------------- next part --------------
From 1182a8a87ed7b2b135939b39a6d7a46aad36da96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 23 Jun 2020 19:18:26 -0400
Subject: [PATCH] lxd/storage/drivers: Bump VM fs size to 100MB
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The UEFI nvram on aarch64 is 64MB so wasn't fitting in our previous
value when stored on a block based storage driver.

Signed-off-by: St├ęphane Graber <stgraber at ubuntu.com>
 lxd/storage/drivers/volume.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/storage/drivers/volume.go b/lxd/storage/drivers/volume.go
index e0805aafc9..a8e373bb00 100644
--- a/lxd/storage/drivers/volume.go
+++ b/lxd/storage/drivers/volume.go
@@ -20,7 +20,7 @@ const tmpVolSuffix = ".lxdtmp"
 const defaultBlockSize = "10GB"
 // vmBlockFilesystemSize is the size of a VM block volume's associated filesystem volume.
-const vmBlockFilesystemSize = "50MB"
+const vmBlockFilesystemSize = "100MB"
 // DefaultFilesystem filesytem to use for block devices by default.
 const DefaultFilesystem = "ext4"

More information about the lxc-devel mailing list