# Nodes stats fs

**URL:** <https://discuss.elastic.co/t/nodes-stats-fs/9174>\
**Category:** Elasticsearch\
**Created:** [September 27, 2012, 6:25pm UTC](https://discuss.elastic.co/t/nodes-stats-fs/9174 "2012-09-27T18:25:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phill](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@phill](https://discuss.elastic.co/u/phill)\
**Post date:** [September 27, 2012, 6:25pm UTC](https://discuss.elastic.co/t/nodes-stats-fs/9174/1 "2012-09-27T18:25:31Z")

</div>

I was examining a node to see how it failed after getting a "No space  
left on device" error when pushing lots of PDF and Word docs at an index.  
Logging into the machine and using df, I see I have no disk space on  
this virtual machine.

Filesystem 1K-blocks Used Available Use% Mounted on  
/dev/mapper/mvc--es00-root 18541492 18308816 0 100% /  
...  
Oops, all full up.  
Using /\_plugin/head clicking on the overview | | node stats  
which is the same as the command  
[http://172.16.0.177:9200/\_nodes/172.16.0.188/stats?pretty=1](http://172.16.0.177:9200/_nodes/172.16.0.188/stats?pretty=1)  
I get the following (see below)

What is "free: 227.2mb" vs "available: 0b"?  
Obviously the disk is full and I have not allocated nearly enough space,  
but was wondering what this list was trying say with the "free" values?

thanks,  
-Paul

* * *

... just the filesystem part  
fs: {

- timestamp: 1348765101816
- data: [  
o {  
+ path: /var/lib/elasticsearch/mynode/nodes/0  
+ mount: /  
+ dev: /dev/mapper/mvc--es00-root  
+ total: 17.6gb  
+ total\_in\_bytes: 18986487808  
+ free: 227.2mb  
+ free\_in\_bytes: 238260224  
+ available: 0b  
+ available\_in\_bytes: 0  
+ disk\_reads: 239850  
+ disk\_writes: 753698  
+ disk\_read\_size: 10.6gb  
+ disk\_read\_size\_in\_bytes: 11416151040  
+ disk\_write\_size: 74.3gb  
+ disk\_write\_size\_in\_bytes: 79856599040  
+ disk\_queue: 0  
+ disk\_service\_time: 0  
}  
]

}

--

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [September 28, 2012, 1:00pm UTC](https://discuss.elastic.co/t/nodes-stats-fs/9174/2 "2012-09-28T13:00:10Z")

</div>

Free is an estimation of how much free space is in the drive, available is a more accurate computation of it. You should use available.

On Sep 27, 2012, at 8:27 PM, P. Hill [parehill1@gmail.com](mailto:parehill1@gmail.com) wrote:

> I was examining a node to see how it failed after getting a "No space left on device" error when pushing lots of PDF and Word docs at an index.  
> Logging into the machine and using df, I see I have no disk space on this virtual machine.
> 
> Filesystem 1K-blocks Used Available Use% Mounted on  
> /dev/mapper/mvc--es00-root 18541492 18308816 0 100% /  
> ...  
> Oops, all full up.  
> Using /\_plugin/head clicking on the overview | | node stats  
> which is the same as the command  
> [http://172.16.0.177:9200/\_nodes/172.16.0.188/stats?pretty=1](http://172.16.0.177:9200/_nodes/172.16.0.188/stats?pretty=1)  
> I get the following (see below)
> 
> What is "free: 227.2mb" vs "available: 0b"?  
> Obviously the disk is full and I have not allocated nearly enough space, but was wondering what this list was trying say with the "free" values?
> 
> thanks,  
> -Paul
> 
> * * *
> 
> ... just the filesystem part  
> fs: {
> 
> - timestamp: 1348765101816
> - data: [  
> o {  
> + path: /var/lib/elasticsearch/mynode/nodes/0  
> + mount: /  
> + dev: /dev/mapper/mvc--es00-root  
> + total: 17.6gb  
> + total\_in\_bytes: 18986487808  
> + free: 227.2mb  
> + free\_in\_bytes: 238260224  
> + available: 0b  
> + available\_in\_bytes: 0  
> + disk\_reads: 239850  
> + disk\_writes: 753698  
> + disk\_read\_size: 10.6gb  
> + disk\_read\_size\_in\_bytes: 11416151040  
> + disk\_write\_size: 74.3gb  
> + disk\_write\_size\_in\_bytes: 79856599040  
> + disk\_queue: 0  
> + disk\_service\_time: 0  
> }  
> ]
> 
> }
> 
> --

--

---

<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:** [July 6, 2017, 3:10am UTC](https://discuss.elastic.co/t/nodes-stats-fs/9174/3 "2017-07-06T03:10:52Z")

</div>


