# Difference between disk.indices vs disk.used in cat allocation

**URL:** <https://discuss.elastic.co/t/difference-between-disk-indices-vs-disk-used-in-cat-allocation/99134>\
**Category:** Elasticsearch\
**Created:** [September 1, 2017, 1:42pm UTC](https://discuss.elastic.co/t/difference-between-disk-indices-vs-disk-used-in-cat-allocation/99134 "2017-09-01T13:42:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snobear](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/snobear/32/8027_2.png) [@snobear](https://discuss.elastic.co/u/snobear)\
**Post date:** [September 1, 2017, 1:42pm UTC](https://discuss.elastic.co/t/difference-between-disk-indices-vs-disk-used-in-cat-allocation/99134/1 "2017-09-01T13:42:22Z")

</div>

I have a cluster (ES 2.4.5) consisting of 8 nodes, and was checking the size with the cat allocation API:

```
$ curl -s localhost:9200/_cat/allocation?v
shards disk.indices disk.used disk.avail disk.total disk.percent node
    26 24gb 583gb 10.2tb 10.8tb 5 data03
    26 24gb 583gb 10.2tb 10.8tb 5 data08
    27 24gb 583gb 10.2tb 10.8tb 5 data04
    26 24gb 583gb 10.2tb 10.8tb 5 data07
    26 24gb 583gb 10.2tb 10.8tb 5 data05
    27 24gb 583gb 10.2tb 10.8tb 5 data02
    26 24gb 583gb 10.2tb 10.8tb 5 data06
    26 24gb 583gb 10.2tb 10.8tb 5 data01

```

disk.used says we are using 583 GB on each node. However, `df -h` on a given node shows MUCH less (25GB):

```
$ df -h | grep es
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg0-data 11T 25G 11T 1% /mnt/es

```

So our actual disk utilization is more in line with **disk.indices** than it is with **disk.usage**. Can someone please explain the difference between these two stats? The docs are lacking in explanation of the various fields. Thanks!

---

<div class="post-metadata">

**Author:** ![ngamber](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ngamber/32/21759_2.png) [@ngamber](https://discuss.elastic.co/u/ngamber)\
**Post date:** [September 1, 2017, 3:24pm UTC](https://discuss.elastic.co/t/difference-between-disk-indices-vs-disk-used-in-cat-allocation/99134/2 "2017-09-01T15:24:23Z")

</div>

curl localhost:9200/\_cat/allocation?help 😉

used is just that, disk used. disk. indices is usage specifically from ES.

---

<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:** [September 29, 2017, 3:24pm UTC](https://discuss.elastic.co/t/difference-between-disk-indices-vs-disk-used-in-cat-allocation/99134/3 "2017-09-29T15:24:36Z")

</div>

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