# addVolumes {#addvolumes}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`addVolumes(volumes)`

## Arguments {#arguments}

**volumes** is a STRING scalar or vector indicating the volume path\(s\).

## Details {#details}

Dynamically add volume\(s\) without rebooting the cluster.

Note: This command does not modify the cluster configuration file. Please manually update the configuration file before the next cluster reboot, or data cannot be written to the new volume\(s\) after reboot.

## Examples {#examples}

```
addVolumes("/home/dolphindb/data")
```

