# Disk Capacity

**URL:** <https://discuss.elastic.co/t/disk-capacity/229224>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [April 22, 2020, 9:55am UTC](https://discuss.elastic.co/t/disk-capacity/229224 "2020-04-22T09:55:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![DawitCh](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@DawitCh](https://discuss.elastic.co/u/DawitCh)\
**Post date:** [April 22, 2020, 9:55am UTC](https://discuss.elastic.co/t/disk-capacity/229224/1 "2020-04-22T09:55:34Z")

</div>

I have **3 nodes** of Elasticsearch. The **master node has 20 GB** , the **others have 12 GB**. I check the path to store data of node 3, it shows full capacity. _Can I check why node 3 is full?_ _Is there any option for me to solve the problem without delete all data in node3?_

I try to send the logs to the cluster but it accepts only parts of them.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 22, 2020, 9:57am UTC](https://discuss.elastic.co/t/disk-capacity/229224/2 "2020-04-22T09:57:12Z")

</div>

If you are using monitoring, then do all nodes have the same number of shards on them?

---

<div class="post-metadata">

**Author:** ![DawitCh](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@DawitCh](https://discuss.elastic.co/u/DawitCh)\
**Post date:** [April 22, 2020, 9:59am UTC](https://discuss.elastic.co/t/disk-capacity/229224/3 "2020-04-22T09:59:58Z")

</div>

Currently, I can't access the monitor on the kibana, it show internal error 500. I know it via linux command to check disk space.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 22, 2020, 10:02am UTC](https://discuss.elastic.co/t/disk-capacity/229224/4 "2020-04-22T10:02:41Z")

</div>

That is very little disk space for the data nodes. Why so little? What are you expecting to use the cluster for?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 22, 2020, 10:03am UTC](https://discuss.elastic.co/t/disk-capacity/229224/5 "2020-04-22T10:03:40Z")

</div>

Ok what about the `_cat` APIs? What does a `df -h` show on the nodes\>

---

<div class="post-metadata">

**Author:** ![DawitCh](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@DawitCh](https://discuss.elastic.co/u/DawitCh)\
**Post date:** [April 22, 2020, 10:11am UTC](https://discuss.elastic.co/t/disk-capacity/229224/6 "2020-04-22T10:11:49Z")

</div>

I'm not sure how should I estimate the disk space, that why it has around 50 GB. This cluster is used for storing Metricbeat from 10 PC and custom logs from some applications to show it on the dashboard.

---

<div class="post-metadata">

**Author:** ![DawitCh](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@DawitCh](https://discuss.elastic.co/u/DawitCh)\
**Post date:** [April 22, 2020, 10:16am UTC](https://discuss.elastic.co/t/disk-capacity/229224/7 "2020-04-22T10:16:50Z")

</div>

Each node same nuber of shard and `df -h` is 100% on the path the collect Elastic data.  
Now in my cluster, it shows only 2 nodes. I already try curl -XDELETE to clear the big index, but I can't start service on node 3.

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [April 22, 2020, 1:12pm UTC](https://discuss.elastic.co/t/disk-capacity/229224/8 "2020-04-22T13:12:15Z")

</div>

A bit off topic, but are you able to share the error message from the kibana log file when you attempt to visit the monitoring ui? Also, what version of the stack are you using?

---

<div class="post-metadata">

**Author:** ![DawitCh](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@DawitCh](https://discuss.elastic.co/u/DawitCh)\
**Post date:** [April 23, 2020, 3:49am UTC](https://discuss.elastic.co/t/disk-capacity/229224/9 "2020-04-23T03:49:20Z")

</div>

I use stack version 7.4.2. I didn't set up log for Kibana. When I access UI, it shows 500 internal servers error. After I use curl to delete some unused index, my cluster is working now.  
The problem is **node 3 is disconnected** from the cluster, so the disk still 100% full, and I can't start the service.  
Is there any way to recover node3 to join the cluster?

---

<div class="post-metadata">

**Author:** ![DawitCh](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@DawitCh](https://discuss.elastic.co/u/DawitCh)\
**Post date:** [April 23, 2020, 4:48am UTC](https://discuss.elastic.co/t/disk-capacity/229224/10 "2020-04-23T04:48:03Z")

</div>

I use lvextend to increase disk size 100M and now it working! I don't know If there is other way or not, but it need only small free space to restart the service

---

<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:** [May 21, 2020, 5:01am UTC](https://discuss.elastic.co/t/disk-capacity/229224/11 "2020-05-21T05:01:03Z")

</div>

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