# Searchable Snapshot ILM ERROR

**URL:** <https://discuss.elastic.co/t/searchable-snapshot-ilm-error/276166>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management, elastic-stack-searchable-snapshots\
**Created:** [June 16, 2021, 4:17pm UTC](https://discuss.elastic.co/t/searchable-snapshot-ilm-error/276166 "2021-06-16T16:17:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![egalpin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/egalpin/32/79772_2.png) [@egalpin](https://discuss.elastic.co/u/egalpin)\
**Post date:** [June 16, 2021, 4:17pm UTC](https://discuss.elastic.co/t/searchable-snapshot-ilm-error/276166/1 "2021-06-16T16:17:52Z")

</div>

Hi there,

I'm attempting to make use of the newly GA Frozen phase with searchable\_snapshot enabled. I'm consistently getting the following error at the step `mount-snapshot` of the `frozen` phase:

```auto
index [restored-my-index] in snapshot [found-snapshots/tZiA3xmFTa2Vdbg_vI6c0A:2021.06.16-restored-my-index-my-ilm-policy-_cpxfqelslg61xy-qyqmdq]
is a snapshot of a searchable snapshot index backed by index [my-index]
in snapshot [found-snapshots/tZiA3xmFTa2Vdbg_vI6c0A:2021.06.16-my-index-my-ilm-policy-k35htcclrvgdcn9qzwdcya] and cannot be mounted;
did you mean to restore it instead?

```

My ILM policy makes use of searchable snapshot in _both_ the cold and the frozen phases. I noticed that the documentation makes it clear that using `searchable_snapshot` in the `hot` phase is incompatible with using `searchable_snapshot` in any other phase[1], but it's not clear whether using `searchable_snapshot` in cold and frozen is compatible.

Here is my policy definition:

```json
{
  "policy": {
    "phases": {
      "hot": {
        "min_age": "0ms",
        "actions": {
          "set_priority": {
            "priority": 100
          }
        }
      },
      "cold": {
        "min_age": "91d",
        "actions": {
          "searchable_snapshot": {
            "snapshot_repository": "found-snapshots",
            "force_merge_index": true
          },
          "set_priority": {
            "priority": 0
          },
          "allocate": {
            "number_of_replicas": 0
          }
        }
      },
      "frozen": {
        "min_age": "240d",
        "actions": {
          "searchable_snapshot": {
            "snapshot_repository": "found-snapshots",
            "force_merge_index": true
          }
        }
      }
    }
  }
}

```

Is the error that I'm seeing expected behaviour? Is it possible to use `searchable_snapshot` in both the `cold` and `frozen` ILM phases?

[1] [Searchable snapshot | Elasticsearch Guide [master] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/master/ilm-searchable-snapshot.html)

---

<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 14, 2021, 4:18pm UTC](https://discuss.elastic.co/t/searchable-snapshot-ilm-error/276166/2 "2021-07-14T16:18:15Z")

</div>

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