# Repository on SAN

**URL:** <https://discuss.elastic.co/t/repository-on-san/89376>\
**Category:** Elasticsearch\
**Created:** [June 14, 2017, 12:40pm UTC](https://discuss.elastic.co/t/repository-on-san/89376 "2017-06-14T12:40:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![delirious](https://avatars.discourse-cdn.com/v4/letter/d/e5b9ba/32.png) [@delirious](https://discuss.elastic.co/u/delirious)\
**Post date:** [June 14, 2017, 12:40pm UTC](https://discuss.elastic.co/t/repository-on-san/89376/1 "2017-06-14T12:40:42Z")

</div>

Hi,

My current setup has 1 dedicated master node and 2 master+data nodes to avoid the split brain problem. I have to archive the indices every 2 months and have common SAN for the 2 data nodes. I have gone through the Curator documentation and need your inputs. I'm not sure how SAN works -

1. Can I mount the same SAN directory on both the data nodes?
2. Can I create a repository on SAN using Curator?
3. Do I have to snapshot indices from both the data nodes or just one as one data node contains all the data

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [June 15, 2017, 2:33am UTC](https://discuss.elastic.co/t/repository-on-san/89376/2 "2017-06-15T02:33:50Z")

</div>

> [@delirious](#):
>
> Can I mount the same SAN directory on both the data nodes?

You _must_ mount the SAN directory on _all_ data _and_ master nodes in exactly the same path.

> [@delirious](#):
>
> Can I create a repository on SAN using Curator?

There is a hidden, command-line script called `es_repo_mgr` that gets installed alongside Curator at install time. It can help with that. The command-line has extensive help dialogues to help with that process. Feel free to ask for more assistance here.

> [@delirious](#):
>
> Do I have to snapshot indices from both the data nodes or just one as one data node contains all the data

Snapshots are always cluster-wide. While Curator will only need to connect to a single node in the cluster, the Elasticsearch Snapshot API is always cluster-wide. It is not possible to snapshot just the indices from a given node.

---

<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 13, 2017, 2:34am UTC](https://discuss.elastic.co/t/repository-on-san/89376/3 "2017-07-13T02:34:06Z")

</div>

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