> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# dynamic_disk_* session settings

> ClickHouse session settings in the dynamic_disk_* generated group.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>Type</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>Default</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          Changeable without restart
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

These settings are available in [system.settings](/docs/reference/system-tables/settings) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

<h2 id="dynamic_disk_allow_from_env">
  dynamic\_disk\_allow\_from\_env
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.5"},{"label": "0"},{"label": "New setting to allow `from_env` substitutions in dynamic disk configuration (the `disk()` function). Disabled by default for security."}]}]} />

Allow using `from_env` substitutions in the dynamic disk configuration (i.e. in the `disk()` function arguments).
Disabled by default to prevent users from reading arbitrary environment variables when defining table storage.

<h2 id="dynamic_disk_allow_from_zk">
  dynamic\_disk\_allow\_from\_zk
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.5"},{"label": "0"},{"label": "New setting to allow `from_zk` substitutions in dynamic disk configuration (the `disk()` function). Disabled by default."}]}]} />

Allow using `from_zk` substitutions in the dynamic disk configuration (i.e. in the `disk()` function arguments).
Disabled by default.

<h2 id="dynamic_disk_allow_include">
  dynamic\_disk\_allow\_include
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.5"},{"label": "0"},{"label": "New setting to allow `include` in dynamic disk configuration (the `disk()` function). Disabled by default."}]}]} />

Allow using `include` in the dynamic disk configuration (i.e. in the `disk()` function arguments).
Disabled by default.
