# ES and LUN

**URL:** https://discuss.elastic.co/t/es-and-lun/374544
**Category:** Elasticsearch
**Created:** [February 14, 2025, 8:13am UTC](https://discuss.elastic.co/t/es-and-lun/374544 "2025-02-14T08:13:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Payal\_r](https://avatars.discourse-cdn.com/v4/letter/p/f17d59/32.png) [@Payal\_r](https://discuss.elastic.co/u/Payal_r)
#### Post date: [February 14, 2025, 8:13am UTC](https://discuss.elastic.co/t/es-and-lun/374544/1 "2025-02-14T08:13:51Z")

</div>

I have a 6 node cluster(6.8.5). I need to change the storage and therefore the LUN of my linux server for three nodes. I am thinking to follow the steps:  
1- exclude these nodes and shift the shards to the other nodes.  
2- stop elasticsearch  
3- change the lun of the nodes.  
4. restore the cluster settings back and include all the nodes.

Will this be a good way to change the lun and the storage or will this cause any error if the data is mapped to the lun?

---

<div class="post-metadata">

### Author: ![ahmed\_charafouddine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmed_charafouddine/32/45129_2.png) [@ahmed\_charafouddine](https://discuss.elastic.co/u/ahmed_charafouddine)
#### Post date: [February 14, 2025, 8:40am UTC](https://discuss.elastic.co/t/es-and-lun/374544/2 "2025-02-14T08:40:42Z")

</div>

Your plan is generally sound.

1. Exclude nodes and relocate shards.
2. Stop ES on the target nodes (Gracefully stop ES on the nodes you plan to modify.). Ensure the shutdown is complete before proceeding.
3. change the LUN/Storage (Double check file system permissions and mount options to ensure ES can read and write data).
4. Restart ES and rejoin the cluster.

---

<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: [February 14, 2025, 9:36am UTC](https://discuss.elastic.co/t/es-and-lun/374544/3 "2025-02-14T09:36:28Z")

</div>

The issue with your approach is that you will remove exactly half of your nodes and may not have a majority of master eligible nodes available. If your cluster is correctly configured this should make the cluster go into red state.

---

<div class="post-metadata">

### Author: ![Payal\_r](https://avatars.discourse-cdn.com/v4/letter/p/f17d59/32.png) [@Payal\_r](https://discuss.elastic.co/u/Payal_r)
#### Post date: [February 14, 2025, 9:45am UTC](https://discuss.elastic.co/t/es-and-lun/374544/5 "2025-02-14T09:45:56Z")

</div>

I'm planning to change for one node at once.
