content/enterprise_influxdb/v1/concepts/file-system-layout.md
The InfluxDB Enterprise file system layout depends on the installation method or containerization platform used to install InfluxDB Enterprise.
The InfluxDB file structure includes the following:
(Data nodes only)
Directory path where InfluxDB Enterprise stores time series data (TSM files).
To customize this path, use the [data].dir
configuration option.
(Data nodes only)
Directory path where InfluxDB Enterprise stores Write Ahead Log (WAL) files.
To customize this path, use the [data].wal-dir
configuration option.
(Data nodes only)
Directory path where hinted handoff (HH) queues are stored.
To customize this path, use the [hinted-handoff].dir
configuration option.
Directory path of the InfluxDB Enterprise metastore, which stores information about the cluster, users, databases, retention policies, shards, and continuous queries.
On data nodes, the metastore contains information about InfluxDB Enterprise meta nodes.
To customize this path, use the [meta].dir configuration option in your data node configuration file.
On meta nodes, the metastore contains information about the InfluxDB Enterprise RAFT cluster.
To customize this path, use the [meta].dir configuration option in your meta node configuration file.
InfluxDB Enterprise stores default data and meta node configuration file on disk. For more information about using InfluxDB Enterprise configuration files, see:
InfluxDB Enterprise supports .deb- and .rpm-based Linux package managers. The file system layout is the same with each.
| Path | Default |
|---|---|
| Data directory | /var/lib/influxdb/data/ |
| WAL directory | /var/lib/influxdb/wal/ |
| Metastore directory | /var/lib/influxdb/meta/ |
| Hinted handoff directory | /var/lib/influxdb/hh/ |
| Default config file path | /etc/influxdb/influxdb.conf |
{{% filesystem-diagram %}}
| Path | Default |
|---|---|
| Metastore directory | /var/lib/influxdb/meta/ |
| Default config file path | /etc/influxdb/influxdb-meta.conf |
{{% filesystem-diagram %}}
The user running the influxd process should have the following permissions for
directories in the InfluxDB file system:
| Directory path | Permission |
|---|---|
.../influxdb/ | 755 |
.../influxdb/data/ | 755 |
.../influxdb/hh/ | 700 |
.../influxdb/meta/ | 755 |
.../influxdb/wal/ | 700 |