# YB Multiple data disk support using yugabyted

**URL:** <https://forum.yugabyte.com/t/yb-multiple-data-disk-support-using-yugabyted/4359>\
**Category:** General\
**Created:** [April 23, 2025, 10:14pm UTC](https://forum.yugabyte.com/t/yb-multiple-data-disk-support-using-yugabyted/4359 "2025-04-23T22:14:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![parvez](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@parvez](https://forum.yugabyte.com/u/parvez)\
**Post date:** [April 23, 2025, 10:14pm UTC](https://forum.yugabyte.com/t/yb-multiple-data-disk-support-using-yugabyted/4359/1 "2025-04-23T22:14:51Z")

</div>

We are currently using YugabyteDB stable version 2.20.5.0 and have started using `yugabyted`. We would like to know if `yugabyted` supports specifying multiple data disks using the `--data_dir` flag.

current: --data\_dir=/mnt01/data01

looking for: --data\_dir=/mnt01/data01, /mnt02/data02

---

<div class="post-metadata">

**Author:** ![nmalladi](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/nmalladi/32/236_2.png) [@nmalladi](https://forum.yugabyte.com/u/nmalladi)\
**Post date:** [April 23, 2025, 10:46pm UTC](https://forum.yugabyte.com/t/yb-multiple-data-disk-support-using-yugabyted/4359/2 "2025-04-23T22:46:06Z")

</div>

Hi @parvez The version `2.20.5.0` doesn’t support multiple data disks. It was introduced in the [2024.1](https://docs.yugabyte.com/preview/releases/ybdb-releases/v2024.1/#yugabyted-5) release.

However, The database itself has support for multiple disks, its only yugabyted added support for it in 2024.1 release. I believe we can directly set the data\_dirs by setting the correct gflags when starting yugabyted.

---

<div class="post-metadata">

**Author:** ![parvez](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@parvez](https://forum.yugabyte.com/u/parvez)\
**Post date:** [April 23, 2025, 11:01pm UTC](https://forum.yugabyte.com/t/yb-multiple-data-disk-support-using-yugabyted/4359/3 "2025-04-23T23:01:04Z")

</div>

ok, thanks for the quick response @nmalladi

Can you please share with me how to set the correct gflags?

---

<div class="post-metadata">

**Author:** ![Jim\_Knicely](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/jim_knicely/32/668_2.png) [@Jim\_Knicely](https://forum.yugabyte.com/u/Jim_Knicely)\
**Post date:** [April 24, 2025, 2:36am UTC](https://forum.yugabyte.com/t/yb-multiple-data-disk-support-using-yugabyted/4359/4 "2025-04-24T02:36:57Z")

</div>

Try something like:

`yugabyted start --tserver_flags="fs_data_dirs={/root/d1,/root/d2}"`
