moby/docs/reference/commandline
Vivek Goyal 4f0017b9ad devmapper: Provide a knob dm.xfs_nospace_max_retries
When xfs filesystem is being used on top of thin pool, xfs can get ENOSPC
errors from thin pool when thin pool is full. As of now xfs retries the
IO and keeps on retrying and does not give up. This can result in container
application being stuck for a very long time. In fact I have seen instances
of unkillable processes. So that means once thin pool is full and process
gets stuck, container can't be stopped/killed either and only option left
seems to be power recycle of the box.

In another instance, writer did not block but failed after a while. But
when I tried to exit/stop the container, unmounting xfs hanged and only
thing I could do was power cycle the machine.

Now upstream kernel has committed patches where it allows user space to
customize user space behavior in case of errors. One of the knobs is
max_retries, which specifies how many times an IO should be retried
when ENOSPC is encountered.

This patch sets provides a tunable knob (dm.xfs_nospace_max_retries) so
that user can specify value for max_retries and tune xfs behavior. If
one sets this value to 0, xfs will not retry IO when ENOSPC error is
encountered. It will instead give up and shutdown filesystem.

This knob can be useful if one is running into unkillable
processes/containers issue on top of xfs.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
2016-09-01 11:38:09 -04:00
..
attach.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
build.md Add missing docs about binary remote contexts 2016-08-17 16:15:59 +02:00
cli.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
commit.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
cp.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
create.md Update docs for docker create to include --rm flag 2016-08-25 22:05:38 -07:00
deploy.md Append --registry-auth with with 2016-07-22 10:38:56 +02:00
diff.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
docker_images.gif retooling for hugo 2015-06-15 13:19:38 -07:00
dockerd.md devmapper: Provide a knob dm.xfs_nospace_max_retries 2016-09-01 11:38:09 -04:00
events.md Make daemon events listen for plugin lifecycle events. 2016-07-26 10:51:47 -07:00
exec.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
export.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
history.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
images.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
import.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
index.md make node ps default to self in swarm node 2016-08-30 17:34:16 +08:00
info.md Miss the options in some commands 2016-08-31 14:18:41 +08:00
inspect.md Refactor docker inspect to work on all types 2016-08-25 16:29:08 -07:00
kill.md update command description in CLI 2016-07-31 00:06:18 +08:00
load.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
login.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
logout.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
logs.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
menu.md add menu.md, make index.md command line reference, update typos/minor errors in cli docs 2016-06-30 14:30:11 -07:00
network_connect.md add overlay networking security model node 2016-08-12 13:17:24 -07:00
network_create.md provide actual command format for docker network create 2016-08-31 17:40:13 +08:00
network_disconnect.md add overlay networking security model node 2016-08-12 13:17:24 -07:00
network_inspect.md add overlay networking security model node 2016-08-12 13:17:24 -07:00
network_ls.md add overlay networking security model node 2016-08-12 13:17:24 -07:00
network_rm.md add overlay networking security model node 2016-08-12 13:17:24 -07:00
node_demote.md update command description in CLI 2016-07-31 00:06:18 +08:00
node_inspect.md Update example output for node inspect 2016-08-09 13:04:35 +02:00
node_ls.md cli: docker service|node|stack ps instead of tasks 2016-07-27 11:06:42 -07:00
node_promote.md update command description in CLI 2016-07-31 00:06:18 +08:00
node_ps.md make node ps default to self in swarm node 2016-08-30 17:34:16 +08:00
node_rm.md Add --force to node removal 2016-08-01 18:55:58 -07:00
node_update.md cli: docker service|node|stack ps instead of tasks 2016-07-27 11:06:42 -07:00
pause.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
plugin_disable.md replace active by enabled for consistency in plugins 2016-08-25 20:42:49 -07:00
plugin_enable.md replace active by enabled for consistency in plugins 2016-08-25 20:42:49 -07:00
plugin_inspect.md Merge pull request #26192 from lixiaobing10051267/masterPluginInspect 2016-08-31 14:42:03 +02:00
plugin_install.md Modify options for the command plugin install 2016-08-30 18:45:06 +08:00
plugin_ls.md Miss the options in some commands 2016-08-31 14:18:41 +08:00
plugin_rm.md replace active by enabled for consistency in plugins 2016-08-25 20:42:49 -07:00
port.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
ps.md expose RemovalInProgress in StateString #25652 2016-08-18 11:25:27 +08:00
pull.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
push.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
rename.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
restart.md update command description 2016-08-30 23:07:42 +08:00
rm.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
rmi.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
run.md Merge pull request #23391 from Microsoft/WindowsSandboxSize 2016-08-09 15:34:39 +02:00
save.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
search.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
service_create.md Support --group-add and --group-rm in docker service create/update 2016-08-27 11:54:05 -07:00
service_inspect.md cli: docker service|node|stack ps instead of tasks 2016-07-27 11:06:42 -07:00
service_ls.md cli: docker service|node|stack ps instead of tasks 2016-07-27 11:06:42 -07:00
service_ps.md Add --no-trunc to service/node/stack ps output 2016-08-16 10:19:11 -04:00
service_rm.md update command description in CLI 2016-07-31 00:06:18 +08:00
service_scale.md cli: docker service|node|stack ps instead of tasks 2016-07-27 11:06:42 -07:00
service_update.md Support --group-add and --group-rm in docker service create/update 2016-08-27 11:54:05 -07:00
stack_config.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
stack_deploy.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
stack_rm.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
stack_services.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
stack_tasks.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
start.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
stats.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
stop.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
swarm_init.md Improve swarm join-token instructions 2016-08-02 16:44:02 +02:00
swarm_join.md Remove option "--manager" description for swarm_join.md 2016-08-22 15:42:38 +08:00
swarm_join_token.md Modify usage of docker swarm join-token command 2016-08-19 09:44:22 +08:00
swarm_leave.md Specify woker node for docker swarm leave command 2016-08-18 09:35:11 +08:00
swarm_update.md fix typo, change sample cert expiry value 2016-08-05 16:51:07 -07:00
tag.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
top.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
unpause.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
update.md Forbid update restart policy of container with AutoRemove flag 2016-08-16 15:36:13 +08:00
version.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
volume_create.md Add option to specify name without --name in volume create 2016-08-25 14:20:06 -07:00
volume_inspect.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
volume_ls.md Add option to specify name without --name in volume create 2016-08-25 14:20:06 -07:00
volume_rm.md Add --force in docker volume rm to fix out-of-band volume driver deletion 2016-08-18 18:01:25 -07:00
wait.md update command description 2016-08-30 23:07:42 +08:00