From 424d5e55a2f863b8eadab578e3ba647de09a4354 Mon Sep 17 00:00:00 2001 From: Vivek Goyal Date: Fri, 17 Jul 2015 11:10:23 -0400 Subject: [PATCH] devicemapper: Change default basesize to 100G Current default basesize is 10G. Change it to 100G. Reason being that for some people 10G is turning out to be too small and we don't have capabilities to grow it dyamically. This is just overcommitting and no real space is allocated till container actually writes data. And this is no different then fs based graphdrivers where virtual size of a container root is unlimited. Signed-off-by: Vivek Goyal --- daemon/graphdriver/devmapper/deviceset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/graphdriver/devmapper/deviceset.go b/daemon/graphdriver/devmapper/deviceset.go index 1db971e54..1515f7c3d 100644 --- a/daemon/graphdriver/devmapper/deviceset.go +++ b/daemon/graphdriver/devmapper/deviceset.go @@ -29,7 +29,7 @@ import ( var ( DefaultDataLoopbackSize int64 = 100 * 1024 * 1024 * 1024 DefaultMetaDataLoopbackSize int64 = 2 * 1024 * 1024 * 1024 - DefaultBaseFsSize uint64 = 10 * 1024 * 1024 * 1024 + DefaultBaseFsSize uint64 = 100 * 1024 * 1024 * 1024 DefaultThinpBlockSize uint32 = 128 // 64K = 128 512b sectors DefaultUdevSyncOverride bool = false MaxDeviceId int = 0xffffff // 24 bit, pool limit