# Elasticsearch index is deleted from application but not removed from disk

**URL:** <https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591>\
**Category:** Elasticsearch\
**Created:** [June 29, 2025, 5:46am UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591 "2025-06-29T05:46:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuldeep\_gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kuldeep_gupta/32/88162_2.png) [@kuldeep\_gupta](https://discuss.elastic.co/u/kuldeep_gupta)\
**Post date:** [June 29, 2025, 5:46am UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591/1 "2025-06-29T05:46:44Z")

</div>

I am using elasticsearch version 8.12.0

i deleted some indices from my cluster, but when i checked node stats from stack monitoring tab from kibana what is found Free disk is **1TB** and Data is **2.2TB** but total disk size is  
**6TB**.  
So i was wondering where is this extra space is being used. I was going through the directory structure used for storing the data in elasticsearch, what i found that there were directories created with name that matches the uuid of index. then i tried the cross check it with the output from api

```auto
GET /_cat/indices?v&h=index,uuid

```

what i found that some of the uuid is available in output and some of the uuid is not.So i am guessing that might be uuid of the indices that i have deleted earlier.

So my queries are:

> 1- Is my understanding is right here about the directory structure?  
> 2- If my understanding is right then what should i do now?

Please help.

---

<div class="post-metadata">

**Author:** ![RainTown](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raintown/32/140206_2.png) [@RainTown](https://discuss.elastic.co/u/RainTown)\
**Post date:** [June 29, 2025, 9:36am UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591/2 "2025-06-29T09:36:47Z")

</div>

There will be some special/hidden (and likely small) indices not shown in your output.

How did you delete your index? Was the deletion successfully acknowledged ?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [June 29, 2025, 1:58pm UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591/3 "2025-06-29T13:58:22Z")

</div>

> [@kuldeep\_gupta](#):
>
> i deleted some indices from my cluster, but when i checked node stats from stack monitoring tab from kibana what is found Free disk is **1TB** and Data is **2.2TB** but total disk size is  
> **6TB**.

Can you share some screenshot of this screen?

Is the path for the elasticsearch only used by elasticsearch or you have other things on the same server using the same disk?

The space used/free is related to the disk, not just elasticsearch data, you may have other things using that space.

---

<div class="post-metadata">

**Author:** ![nguyenlethaihoang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nguyenlethaihoang/32/142499_2.png) [@nguyenlethaihoang](https://discuss.elastic.co/u/nguyenlethaihoang)\
**Post date:** [June 30, 2025, 4:21am UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591/4 "2025-06-30T04:21:06Z")

</div>

Hi @kuldeep_gupta ,

How did you delete that index in your application?

---

<div class="post-metadata">

**Author:** ![kuldeep\_gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kuldeep_gupta/32/88162_2.png) [@kuldeep\_gupta](https://discuss.elastic.co/u/kuldeep_gupta)\
**Post date:** [July 1, 2025, 3:01pm UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591/5 "2025-07-01T15:01:45Z")

</div>

hi @leandrojmp

These were not the indices which i deleted earlier. but they were taking lots of space like aroung 20GB per directory and lots of directories were there.  
And one more thing that these directories were found only in hot nodes (my cluster has hot,warm data nodes only).

so i **deleted** these directories and my cluster is working smoothly with no data loss.

What i am guessing that there is the data which was migrated from hot to warm nodes but now deleted from disk in hot nodes.

I have no other application running because mounted point is dedicated to only for storage of elasticsearch application.

And sorry i can't share screenshot because it is fixed now.No disk stats mismatch.

---

<div class="post-metadata">

**Author:** ![kuldeep\_gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kuldeep_gupta/32/88162_2.png) [@kuldeep\_gupta](https://discuss.elastic.co/u/kuldeep_gupta)\
**Post date:** [July 1, 2025, 3:05pm UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591/6 "2025-07-01T15:05:34Z")

</div>

I deleted indices using delete api, and yes it was acknowledged.  
Hidden indices can't have the size of 20-40 GB.

---

<div class="post-metadata">

**Author:** ![kuldeep\_gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kuldeep_gupta/32/88162_2.png) [@kuldeep\_gupta](https://discuss.elastic.co/u/kuldeep_gupta)\
**Post date:** [July 1, 2025, 3:05pm UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591/7 "2025-07-01T15:05:56Z")

</div>

usind delete api

---

<div class="post-metadata">

**Author:** ![RainTown](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raintown/32/140206_2.png) [@RainTown](https://discuss.elastic.co/u/RainTown)\
**Post date:** [July 1, 2025, 3:13pm UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591/8 "2025-07-01T15:13:27Z")

</div>

> [@kuldeep\_gupta](#):
>
> Hidden indices can't have the size of 20-40 GB.

Of course not, but they do have a UUID you could have tried to match to your directory names. But you seem to have figured it out now to your own satisfaction.

---

<div class="post-metadata">

**Author:** ![kuldeep\_gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kuldeep_gupta/32/88162_2.png) [@kuldeep\_gupta](https://discuss.elastic.co/u/kuldeep_gupta)\
**Post date:** [July 6, 2025, 5:51pm UTC](https://discuss.elastic.co/t/elasticsearch-index-is-deleted-from-application-but-not-removed-from-disk/379591/9 "2025-07-06T17:51:05Z")

</div>

> [@RainTown](#):
>
> Of course not, but they do have a UUID you could have tried to match to your directory names. But you seem to have figured it out now to your own satisfaction.

Hello,  
Yes i had matched the uuid with directory name.
