# How do you know how much space you are using in a volume?

**URL:** <https://community.fly.io/t/how-do-you-know-how-much-space-you-are-using-in-a-volume/8792>\
**Category:** General\
**Created:** [November 18, 2022, 9:10pm UTC](https://community.fly.io/t/how-do-you-know-how-much-space-you-are-using-in-a-volume/8792 "2022-11-18T21:10:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ignoramous](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@ignoramous](https://community.fly.io/u/ignoramous)\
**Post date:** [November 18, 2022, 10:16pm UTC](https://community.fly.io/t/how-do-you-know-how-much-space-you-are-using-in-a-volume/8792/2 "2022-11-18T22:16:35Z")

</div>

Not sure how to do so via `flyctl volumes`, but you can always `flyctl ssh console -s` into the VM and `du -sH` / `df -h` your way?

```auto
# runs the cmd in the nearest vm to the client
fly ssh console -C `du -sH /mount/point/*`
# or ssh into a vm via its 6pn ip
fly ips private
fly ssh console "[6pn:ip:within:these:brackets]"

```

See: [fly ssh console fails with `Error host unavailable: host was not found in DNS` - #5 by ignoramous](https://community.fly.io/t/fly-ssh-console-fails-with-error-host-unavailable-host-was-not-found-in-dns/5781/5)

(assuming the app’s container has the [`du` or `df`](https://archive.is/5AcsL) binary in its path)

---

_[View the full topic](https://community.fly.io/t/how-do-you-know-how-much-space-you-are-using-in-a-volume/8792)._
