aboutsummaryrefslogtreecommitdiff
path: root/doc/book/reference-manual/configuration.md
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-09-07 13:23:02 +0200
committerAlex Auvolat <alex@adnab.me>2023-09-07 13:23:02 +0200
commit6595efd82fc849c97b964969b6ff935738e7d24a (patch)
tree7e27a947207bd5b30541ed806ebd1855e85ade79 /doc/book/reference-manual/configuration.md
parentbca347a1e8e4bb74e744ec8e020b8144c6cafdf3 (diff)
downloadgarage-6595efd82fc849c97b964969b6ff935738e7d24a.tar.gz
garage-6595efd82fc849c97b964969b6ff935738e7d24a.zip
Document multi-hdd support
Diffstat (limited to 'doc/book/reference-manual/configuration.md')
-rw-r--r--doc/book/reference-manual/configuration.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/book/reference-manual/configuration.md b/doc/book/reference-manual/configuration.md
index 3f6ec091..df1251c2 100644
--- a/doc/book/reference-manual/configuration.md
+++ b/doc/book/reference-manual/configuration.md
@@ -91,6 +91,19 @@ This folder can be placed on an HDD. The space available for `data_dir`
should be counted to determine a node's capacity
when [adding it to the cluster layout](@/documentation/cookbook/real-world.md).
+Since `v0.9.0`, Garage supports multiple data directories with the following syntax:
+
+```toml
+data_dir = [
+ { path = "/path/to/old_data", read_only = true },
+ { path = "/path/to/new_hdd1", capacity = "2T" },
+ { path = "/path/to/new_hdd2", capacity = "4T" },
+]
+```
+
+See [the dedicated documentation page](@/documentation/operations/multi-hdd.md)
+on how to operate Garage in such a setup.
+
### `db_engine` (since `v0.8.0`)
By default, Garage uses the Sled embedded database library