_cat/allocation vs df

I have been collecting stats using _cat/allocation and I noticed that a new
cluster showed a lot of disk being used for a few shards.
When I checked I found that _cat/allocation was very different to df.

For one node _cat/allocation gives:

12 51.2gb 956.5gb 1007.8gb 5 esekilx5170 134.138.165.70 70-1

while df for the filesystem allocated to that node gives:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_big-lv_es_1a
1008G 72M 957G 1% /var/lib/es/data1a

It looks like es is reporting the difference between free and total as used
and ignoring the reserved free space.
Does anyone know if that is the case?

/Michael

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ce9b5070-decb-4245-869b-f63258527d5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You could have multiple node directories though.
What's under /var/lib/es/data1a?

On 27 March 2015 at 23:56, Michael Salmon michael.salmon@inovia.nu wrote:

I have been collecting stats using _cat/allocation and I noticed that a
new cluster showed a lot of disk being used for a few shards.
When I checked I found that _cat/allocation was very different to df.

For one node _cat/allocation gives:

12 51.2gb 956.5gb 1007.8gb 5 esekilx5170 134.138.165.70 70-1

while df for the filesystem allocated to that node gives:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_big-lv_es_1a
1008G 72M 957G 1% /var/lib/es/data1a

It looks like es is reporting the difference between free and total as
used and ignoring the reserved free space.
Does anyone know if that is the case?

/Michael

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/ce9b5070-decb-4245-869b-f63258527d5e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/ce9b5070-decb-4245-869b-f63258527d5e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8gtr0X%3DkJkaxB-Vxuiij%2BEAiX%3D5Ov%3DYU0j9n85ZjvZMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.