# Increase size of RootFS

**URL:** <https://community.fly.io/t/increase-size-of-rootfs/18189>\
**Category:** Build debugging\
**Tags:** postgres, machines, volumes\
**Created:** [February 12, 2024, 8:53am UTC](https://community.fly.io/t/increase-size-of-rootfs/18189 "2024-02-12T08:53:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![constantm](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@constantm](https://community.fly.io/u/constantm)\
**Post date:** [February 12, 2024, 8:53am UTC](https://community.fly.io/t/increase-size-of-rootfs/18189/1 "2024-02-12T08:53:46Z")

</div>

Hi there

I need to increase the storage capacity of my postgres instance. I have run the extend volumes commands and increase the volume size here - [fly volumes extend · Fly Docs](https://fly.io/docs/flyctl/volumes-extend/)

However it appears the RootFS size is still the same as it was previously? How can I increase the size of the RootFS to utilize the new capacity of the volume?

Cheers

---

<div class="post-metadata">

**Author:** ![mayailurus](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/mayailurus/32/17593_2.png) [@mayailurus](https://community.fly.io/u/mayailurus)\
**Post date:** [February 13, 2024, 6:45am UTC](https://community.fly.io/t/increase-size-of-rootfs/18189/2 "2024-02-13T06:45:13Z")

</div>

Hi… The reported size remained the same because the RootFS is for the installed software only—and will not contain your own data.

You can confirm that you now have more room for the latter via…

```plaintext
$ fly ssh console -a db-app-name
# df -h /dev/vdb

```

Hope this helps!

---

<div class="post-metadata">

**Author:** ![mayailurus](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/mayailurus/32/17593_2.png) [@mayailurus](https://community.fly.io/u/mayailurus)\
**Post date:** [February 13, 2024, 6:46am UTC](https://community.fly.io/t/increase-size-of-rootfs/18189/3 "2024-02-13T06:46:42Z")

</div>

Added #volumes

---

<div class="post-metadata">

**Author:** ![eventinc-gmbh](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/eventinc-gmbh/32/43099_2.png) [@eventinc-gmbh](https://community.fly.io/u/eventinc-gmbh)\
**Post date:** [April 7, 2026, 3:15pm UTC](https://community.fly.io/t/increase-size-of-rootfs/18189/4 "2026-04-07T15:15:03Z")

</div>

Sorry for necro - we can update rootfs size with fly machine update  
fly machine update -a app\_name --rootfs-size 50gb
