increase xfs base image size to 300Mb

from xfsprogs 5.19.0, minimum size of xfs volume has to be 300MB

Ref: https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=6e0ed3d19c54603f0f7d628ea04b550151d8a262
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
This commit is contained in:
Akhil Mohan 2024-06-03 20:29:53 +05:30
parent 027414ee50
commit 624aa49d4b
No known key found for this signature in database
GPG Key ID: CB72A322B3B5DEDA

View File

@ -147,7 +147,8 @@ func TestMultipleXfsMounts(t *testing.T) {
config := &Config{ config := &Config{
RootPath: t.TempDir(), RootPath: t.TempDir(),
PoolName: poolName, PoolName: poolName,
BaseImageSize: "16Mb", // Size for xfs volume is kept at 300Mb because xfsprogs 5.19.0 (>=ubuntu 24.04) enforces a minimum volume size
BaseImageSize: "300Mb",
FileSystemType: "xfs", FileSystemType: "xfs",
} }
snapshotter, closer, err := createSnapshotter(ctx, t, config) snapshotter, closer, err := createSnapshotter(ctx, t, config)