Skip to content

Commit 561ed52

Browse files
akhilermAkihiroSuda
authored andcommitted
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> (cherry picked from commit 624aa49) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent f18cc46 commit 561ed52

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

snapshots/devmapper/snapshotter_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,10 @@ func TestMultipleXfsMounts(t *testing.T) {
145145

146146
poolName := fmt.Sprintf("containerd-snapshotter-suite-pool-%d", time.Now().Nanosecond())
147147
config := &Config{
148-
RootPath: t.TempDir(),
149-
PoolName: poolName,
150-
BaseImageSize: "16Mb",
148+
RootPath: t.TempDir(),
149+
PoolName: poolName,
150+
// Size for xfs volume is kept at 300Mb because xfsprogs 5.19.0 (>=ubuntu 24.04) enforces a minimum volume size
151+
BaseImageSize: "300Mb",
151152
FileSystemType: "xfs",
152153
}
153154
snapshotter, closer, err := createSnapshotter(ctx, t, config)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy