# Disk full, cannot add more disk, snapshot needs space

**URL:** <https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373>\
**Category:** Elasticsearch\
**Tags:** slm-snapshot-lifecycle-management\
**Created:** [June 30, 2020, 9:35pm UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373 "2020-06-30T21:35:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhruv2204](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhruv2204/32/57207_2.png) [@dhruv2204](https://discuss.elastic.co/u/dhruv2204)\
**Post date:** [June 30, 2020, 9:35pm UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373/1 "2020-06-30T21:35:57Z")

</div>

Hi Team

We have some 1.8TB data in a single index. The disk storage on this machine is 2TB and already reached 95%.

We have increased the flood limit to 98%, but that will only allow for 3-4 days of data more.

We cannot delete the index data, neither we are allowed to increase disk space as this is a baremetal server. (only allows adding a different new volume or increasing the same disk but with data loss)

Now, we have updated our system to push to a new index with monthly date tags something like index-2020-07-01. This will have monthly data from now on, but the older 1.8TB single index needs to be taken in a snapshot.

If we snapshot directly to s3 using repository plugins, does that require some storage to process and then push? Or it will work even if we have no storage left. Also, how much approx time it would take to snapshot 1.8TB to s3.

If we add a new separate volume/disk, can we create a snapshot there and then push it to s3?

We are a bit cautious before proceeding with any approach as we do not want to lose any of this data.

Any inputs appreciated.

Thanks  
Dhruv

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [July 1, 2020, 4:40am UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373/2 "2020-07-01T04:40:52Z")

</div>

Hi,

You can create multiple snapshot repositories which may also be on a different mount point. So it is indeed possible to order a new disk, create a repository on this disk and create the snapshot there.

Best regards  
Wolfram

---

<div class="post-metadata">

**Author:** ![dhruv2204](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhruv2204/32/57207_2.png) [@dhruv2204](https://discuss.elastic.co/u/dhruv2204)\
**Post date:** [July 1, 2020, 5:47am UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373/3 "2020-07-01T05:47:22Z")

</div>

Understood.

So when you say multiple repositories, do you mean i can split my large index into multiple parts and save it in different snapshots. Because as far i know, we can only take snapshot of complete index, not parts of its data (let's say data query by single month).

Thanks  
Dhruv

---

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [July 1, 2020, 6:29am UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373/4 "2020-07-01T06:29:46Z")

</div>

What he meant is that you can take snapshots of different indices and put them in differnt places. As far as I know you can only snapshot one complete index (as you said).

---

<div class="post-metadata">

**Author:** ![dhruv2204](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhruv2204/32/57207_2.png) [@dhruv2204](https://discuss.elastic.co/u/dhruv2204)\
**Post date:** [July 1, 2020, 6:31am UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373/5 "2020-07-01T06:31:59Z")

</div>

Cool. Much thanks.

---

<div class="post-metadata">

**Author:** ![dhruv2204](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhruv2204/32/57207_2.png) [@dhruv2204](https://discuss.elastic.co/u/dhruv2204)\
**Post date:** [July 1, 2020, 12:58pm UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373/6 "2020-07-01T12:58:16Z")

</div>

One more question i had.

If we simply copy the path.data folder to a new mounted disk, and then point elastic to the new locatio, that would not corrupt anything right?

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [July 2, 2020, 4:57am UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373/7 "2020-07-02T04:57:34Z")

</div>

> [@dhruv2204](#):
>
> If we simply copy the path.data folder to a new mounted disk, and then point elastic to the new locatio, that would not corrupt anything right?

I don't think so as this is the pure data but as I haven't tried it myself I cannot say for sure.

---

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [July 2, 2020, 8:27am UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373/8 "2020-07-02T08:27:45Z")

</div>

Yep, this should work. Be sure to copy the whole structure tho. nodes-\>0-\>\_state,indices,node.lock

---

<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 30, 2020, 8:27am UTC](https://discuss.elastic.co/t/disk-full-cannot-add-more-disk-snapshot-needs-space/239373/9 "2020-07-30T08:27:55Z")

</div>

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