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:
parent
027414ee50
commit
624aa49d4b
@ -145,9 +145,10 @@ func TestMultipleXfsMounts(t *testing.T) {
|
||||
|
||||
poolName := fmt.Sprintf("containerd-snapshotter-suite-pool-%d", time.Now().Nanosecond())
|
||||
config := &Config{
|
||||
RootPath: t.TempDir(),
|
||||
PoolName: poolName,
|
||||
BaseImageSize: "16Mb",
|
||||
RootPath: t.TempDir(),
|
||||
PoolName: poolName,
|
||||
// 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",
|
||||
}
|
||||
snapshotter, closer, err := createSnapshotter(ctx, t, config)
|
||||
|
Loading…
Reference in New Issue
Block a user