# Disk Usage - Something isnt adding up

**URL:** https://discuss.elastic.co/t/disk-usage-something-isnt-adding-up/316822
**Category:** Elasticsearch
**Created:** [October 17, 2022, 7:04pm UTC](https://discuss.elastic.co/t/disk-usage-something-isnt-adding-up/316822 "2022-10-17T19:04:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kurtis\_Schlienger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kurtis_schlienger/32/112176_2.png) [@Kurtis\_Schlienger](https://discuss.elastic.co/u/Kurtis_Schlienger)
#### Post date: [October 17, 2022, 7:04pm UTC](https://discuss.elastic.co/t/disk-usage-something-isnt-adding-up/316822/1 "2022-10-17T19:04:44Z")

</div>

I recently was looking into the shard distribution in my Elasticsearch cluster, and I noticed a heavy weighting on half of my cluster (some nodes have barely any shards on them). When looking into the distribution what I noticed is that a large number of my nodes have full disks. What is interesting (and the basis for my question) is that when running the following request

`GET /_cat/allocation?v&pretty&s=disk.indices:asc`

I get several nodes that look like the following

```auto
shards disk.indices disk.used disk.avail disk.total disk.percent host ip node
27 79.6gb 753gb 117.6gb 870.7gb 86 ip-172-31-3-243 172.31.3.243 es-data-41

```

What we see here is that there is roughly 80Gb of "disk.indices", yet 753Gb of disk used. While investigating where the remaining 670Gb of data went, the machine reports approximately 709Gb of disk space used in the `/nodes/0/indices` directory. To my knowledge this is the data store for indices (the one that is reporting 79Gb of space). What gives? What am I misunderstanding?

---

<div class="post-metadata">

### Author: ![Kurtis\_Schlienger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kurtis_schlienger/32/112176_2.png) [@Kurtis\_Schlienger](https://discuss.elastic.co/u/Kurtis_Schlienger)
#### Post date: [October 17, 2022, 7:17pm UTC](https://discuss.elastic.co/t/disk-usage-something-isnt-adding-up/316822/2 "2022-10-17T19:17:43Z")

</div>

I think I figured out whats going on. We had some instability in our cluster, and a couple nodes restarted. "Shards that are unassigned do not count towards this number". Well we have quite a few unassigned shards.... Thanks and sorry for the post

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 14, 2022, 7:17pm UTC](https://discuss.elastic.co/t/disk-usage-something-isnt-adding-up/316822/3 "2022-11-14T19:17:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
