From 343968b2d33e2cdfe048c267a749315b80291165 Mon Sep 17 00:00:00 2001 From: John Dickinson Date: Wed, 12 Sep 2012 11:15:25 -0700 Subject: [PATCH] added disable_fallocate info to docs Change-Id: I8130e258d77f47bfa28ecf79a51a6e34671ada22 --- doc/source/deployment_guide.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/source/deployment_guide.rst b/doc/source/deployment_guide.rst index d2162d62a2..423dc9a59c 100644 --- a/doc/source/deployment_guide.rst +++ b/doc/source/deployment_guide.rst @@ -231,6 +231,8 @@ mount_check true Whether or not check if the devices are bind_ip 0.0.0.0 IP Address for server to bind to bind_port 6000 Port for server to bind to workers 1 Number of workers to fork +disable_fallocate false Disable "fast fail" fallocate checks if the + underlying filesystem does not support it. ================== ========== ============================================= [object-server] @@ -336,6 +338,8 @@ bind_ip 0.0.0.0 IP Address for server to bind to bind_port 6001 Port for server to bind to workers 1 Number of workers to fork user swift User to run as +disable_fallocate false Disable "fast fail" fallocate checks if the + underlying filesystem does not support it. ================== ========== ============================================ [container-server] @@ -434,6 +438,8 @@ db_preallocation off If you don't mind the extra disk space usage in overhead, you can turn this on to preallocate disk space with SQLite databases to decrease fragmentation. +disable_fallocate false Disable "fast fail" fallocate checks if the + underlying filesystem does not support it. ================== ========== ============================================= [account-server] @@ -745,6 +751,11 @@ For a standard swift install, all data drives are mounted directly under be sure to set the `devices` config option in all of the server configs to point to the correct directory. +Swift uses system calls to reserve space for new objects being written into +the system. If your filesystem does not support `fallocate()` or +`posix_fallocate()`, be sure to set the `disable_fallocate = true` config +parameter in account, container, and object server configs. + --------------------- General System Tuning ---------------------