Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
---
draft: true
sidebar_label: Storage Container Manager
---

# Directory Configurations for Storage Container Manager

**TODO:** File a subtask under [HDDS-9859](https://issues.apache.org/jira/browse/HDDS-9859) and complete this page or section.
This section describes directory-related configuration properties used by the Storage Container Manager (SCM).

| Property Name | Description | Tags | Default/Example Value | Sample Value |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ----------------------------------------- | ---------------------------- |
| `ozone.scm.db.dirs` | SCM metadata directory (set one path). SCM creates it if missing. If unset, SCM warns and uses `ozone.metadata.dirs`—avoid in production. | OZONE, SCM, STORAGE, PERFORMANCE | Empty (uses `ozone.metadata.dirs`) | `/var/data/ozone/scm` |
| `ozone.scm.db.dirs.permissions` | Permissions for SCM metadata dirs (octal or symbolic). | | `700` | `700` |
| `ozone.metadata.dirs` | Fallback metadata root for SCM, OM, Recon, and Datanodes when component-specific dirs are unset. Fine for test/PoC; in production set `ozone.scm.db.dirs`, `ozone.om.db.dirs`, and Datanode data dirs. | OZONE, OM, SCM, CONTAINER, STORAGE, REQUIRED | Empty | `/data/ozone/metadata` |
| `ozone.scm.ha.ratis.storage.dir` | Ratis **log** directory for SCM when SCM HA is enabled. Prefer fast, durable disks (for example SSD). | OZONE, SCM, HA, RATIS | Empty | `/var/data/ozone/scm/ratis` |
| `ozone.scm.ha.ratis.snapshot.dir` | Ratis **snapshot** directory for SCM when SCM HA is enabled. | OZONE, SCM, HA, RATIS | Empty | `/var/data/ozone/scm/snapshot` |
| `hdds.key.dir.name` | Subdirectory **name** (relative to the SCM/HDDS metadata directory) where the SCM CA stores key material. | SCM, HDDS, X509, SECURITY | `keys` | `keys` |

For all keys and defaults, see the [configuration appendix](../../appendix).
Loading