diff --git a/docs/configuration.rst b/docs/configuration.rst
index e350c8a..73ae3a2 100644
a
|
b
|
Storage Server Configuration |
359 | 359 | same thing. Likewise, "1MiB", "1024KiB", and "1048576B" all mean the same |
360 | 360 | thing. |
361 | 361 | |
| 362 | "``tahoe create-node``" generates a tahoe.cfg with |
| 363 | "``reserved_space=1G``", but you may wish to raise, lower, or remove the |
| 364 | reservation to suit your needs. |
| 365 | |
362 | 366 | ``expire.enabled =`` |
363 | 367 | |
364 | 368 | ``expire.mode =`` |
diff --git a/src/allmydata/scripts/create_node.py b/src/allmydata/scripts/create_node.py
index 928add1..26891b9 100644
a
|
b
|
def create_node(config, out=sys.stdout, err=sys.stderr): |
126 | 126 | storage_enabled = not config.get("no-storage", None) |
127 | 127 | c.write("enabled = %s\n" % boolstr[storage_enabled]) |
128 | 128 | c.write("#readonly =\n") |
129 | | c.write("#reserved_space =\n") |
| 129 | c.write("reserved_space = 1G\n") |
130 | 130 | c.write("#expire.enabled =\n") |
131 | 131 | c.write("#expire.mode =\n") |
132 | 132 | c.write("\n") |
diff --git a/src/allmydata/test/test_runner.py b/src/allmydata/test/test_runner.py
index b8e9b8a..b8aa298 100644
a
|
b
|
class CreateNode(unittest.TestCase): |
213 | 213 | self.failUnless("\n[storage]\nenabled = false\n" in content) |
214 | 214 | else: |
215 | 215 | self.failUnless("\n[storage]\nenabled = true\n" in content) |
| 216 | self.failUnless("\nreserved_space = 1G\n" in content) |
216 | 217 | |
217 | 218 | # creating the node a second time should be rejected |
218 | 219 | rc, out, err = self.run_tahoe(argv) |