# Snapshot ,restore and free disk space

**URL:** <https://discuss.elastic.co/t/snapshot-restore-and-free-disk-space/364136>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [July 31, 2024, 12:20pm UTC](https://discuss.elastic.co/t/snapshot-restore-and-free-disk-space/364136 "2024-07-31T12:20:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![quan\_w](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quan_w/32/117776_2.png) [@quan\_w](https://discuss.elastic.co/u/quan_w)\
**Post date:** [July 31, 2024, 12:20pm UTC](https://discuss.elastic.co/t/snapshot-restore-and-free-disk-space/364136/1 "2024-07-31T12:20:02Z")

</div>

When I create a snapshot, it prompts NoSuchException: source\_log\_2023\_06][0]][backup\_repo2:snapshot\_name/tS8r2NxSRV29Qoj\_pZI0Ig] failed to snapshot shard.  
And this info:  
low disk watermark [85%] exceeded on [9kkzFDY6Re6hOwmPdHOxLg][localhost][data/nodes/0] free: 10.4gb[14.9%], replicas will not be assigned to this node。  
So I want to know how much disk space is required to create a snapshot in elasticsearch7.8? Can it be modified?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [July 31, 2024, 2:24pm UTC](https://discuss.elastic.co/t/snapshot-restore-and-free-disk-space/364136/2 "2024-07-31T14:24:41Z")

</div>

> [@quan\_w](#):
>
> So I want to know how much disk space is required to create a snapshot

A snapshot is a byte-for-byte copy of the primary shards in the cluster. So however big those shards are, that's how much space you need for a snapshot.

> [@quan\_w](#):
>
> in elasticsearch7.8?

This version is very old, you should upgrade as a matter of urgency.

---

<div class="post-metadata">

**Author:** ![quan\_w](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quan_w/32/117776_2.png) [@quan\_w](https://discuss.elastic.co/u/quan_w)\
**Post date:** [August 1, 2024, 1:30am UTC](https://discuss.elastic.co/t/snapshot-restore-and-free-disk-space/364136/3 "2024-08-01T01:30:29Z")

</div>

ok, thank you. This project is very old and it is not convenient to upgrade.

---

<div class="post-metadata">

**Author:** ![quan\_w](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quan_w/32/117776_2.png) [@quan\_w](https://discuss.elastic.co/u/quan_w)\
**Post date:** [August 1, 2024, 1:35am UTC](https://discuss.elastic.co/t/snapshot-restore-and-free-disk-space/364136/4 "2024-08-01T01:35:56Z")

</div>

I still want to know why the snapshot creation fails when the disk still has 15% free space, which is enough to save the Elasticsearch data?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [August 1, 2024, 7:51am UTC](https://discuss.elastic.co/t/snapshot-restore-and-free-disk-space/364136/5 "2024-08-01T07:51:23Z")

</div>

Don't know, sorry, I don't have a dev env for such old versions any more with which to investigate.
