moby/docs/reference/commandline
Vivek Goyal 2e222f69b3 devmapper: Add a new option dm.min_free_space
Once thin pool gets full, bad things can happen. Especially in case of xfs
it is possible that xfs keeps on retrying IO infinitely (for certain kind
of IO) and container hangs. 

One way to mitigate the problem is that once thin pool is about to get full,
start failing some of the docker operations like pulling new images or
creation of new containers. That way user will get warning ahead of time
and can try to rectify it by creating more free space in thin pool. This
can be done either by deleting existing images/containers or by adding more
free space to thin pool.

This patch adds a new option dm.min_free_space to devicemapper graph
driver. Say one specifies dm.min_free_space=10%. This means atleast
10% of data and metadata blocks should be free in pool before new device
creation is allowed, otherwise operation will fail.

By default min_free_space is 10%. User can change it by specifying
dm.min_free_space=X% on command line. A value of 0% will disable the
check.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
2016-03-07 20:27:39 +00:00
..
attach.md Fix mention of at sign in docs 2016-02-05 16:47:57 -05:00
build.md Fix the ulimit link 2016-01-20 09:18:20 +00:00
cli.md Revert "resolve the config file from the sudo user" 2016-02-29 13:51:43 +01:00
commit.md Fix some flaws in docs 2016-02-19 09:27:03 +08:00
cp.md Adds clarification to behavior of missing directories. 2016-03-03 23:41:13 +00:00
create.md Network scoped alias support 2016-01-14 08:44:41 -08:00
daemon.md devmapper: Add a new option dm.min_free_space 2016-03-07 20:27:39 +00:00
diff.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
docker_images.gif retooling for hugo 2015-06-15 13:19:38 -07:00
events.md Fix some flaws in docs 2016-02-19 09:27:03 +08:00
exec.md Implement configurable detach key 2016-01-03 23:03:39 +01:00
export.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
history.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
images.md Correct old virtual size 2016-02-02 12:28:33 +00:00
import.md Fix some flaws in docs 2016-02-19 09:27:03 +08:00
index.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
info.md Add CgroupDriver to docker info 2016-03-02 20:07:06 +08:00
inspect.md fixed typo 2016-01-22 09:27:53 +02:00
kill.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
load.md Correct old virtual size 2016-02-02 12:28:33 +00:00
login.md Remove email address field from login 2016-02-29 17:53:27 -08:00
logout.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
logs.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
network_connect.md fix common misspell 2016-02-11 15:49:36 -08:00
network_create.md Update docs for enableipv6 2016-02-23 16:10:54 +00:00
network_disconnect.md Forced endpoint cleanup 2016-01-13 21:28:52 -08:00
network_inspect.md Display internal flag on network inspect 2016-02-04 15:28:37 +08:00
network_ls.md Fix some flaws in docs 2016-02-19 09:27:03 +08:00
network_rm.md Fix some flaws in docs 2016-02-19 09:27:03 +08:00
pause.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
port.md Fix the typo in ps 2016-01-21 04:26:49 +00:00
ps.md Add mounts to docker ps. 2016-02-23 12:10:24 -05:00
pull.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
push.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
rename.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
restart.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
rm.md Fix some flaws in docs 2016-02-19 09:27:03 +08:00
rmi.md Correct old virtual size 2016-02-02 12:28:33 +00:00
run.md Fixing mismatched network name. 2016-02-15 13:17:05 -08:00
save.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
search.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
start.md Implement configurable detach key 2016-01-03 23:03:39 +01:00
stats.md Change container name to id as actual results 2016-01-29 13:54:28 +08:00
stop.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
tag.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
top.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
unpause.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
update.md Update RestartPolicy of container 2016-02-20 17:06:32 +08:00
version.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00
volume_create.md Support mount opts for local volume driver 2016-03-03 10:32:25 -05:00
volume_inspect.md add a section to each volume page 2016-02-18 21:52:15 +02:00
volume_ls.md add a section to each volume page 2016-02-18 21:52:15 +02:00
volume_rm.md add a section to each volume page 2016-02-18 21:52:15 +02:00
wait.md remove =false from options that default to false in the docs 2015-12-23 07:11:35 -08:00