# Split index failed

**URL:** https://discuss.elastic.co/t/split-index-failed/317744
**Category:** Elasticsearch
**Created:** [October 30, 2022, 5:44am UTC](https://discuss.elastic.co/t/split-index-failed/317744 "2022-10-30T05:44:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tonycongjie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tonycongjie/32/112682_2.png) [@tonycongjie](https://discuss.elastic.co/u/tonycongjie)
#### Post date: [October 30, 2022, 5:44am UTC](https://discuss.elastic.co/t/split-index-failed/317744/1 "2022-10-30T05:44:20Z")

</div>

Hello,

I tried to split my index to more shard. My cluster has 3 node, the index currently have 1 shard and 1 replicas. I tried to split the shard, but I got a return with “shards\_acknowledged : false”

```auto
PUT /my_source_index/_settings
{
  "settings": {
    "index.blocks.write": true 
  }
}

POST /my_source_index/_split/my_target_index
{
  "settings": {
    "index.number_of_shards": 2
  }
}

```

Also I found the target index is red and have a unassigned shard

---

<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: [October 30, 2022, 9:41am UTC](https://discuss.elastic.co/t/split-index-failed/317744/2 "2022-10-30T09:41:59Z")

</div>

What is the size of the index you are trying to split? How much disk space do you have left on the node holding the primary shard? What is the reason the red index can not be allocated if you use the [cluster allocation explain API](https://www.elastic.co/guide/en/elasticsearch/reference/8.4/cluster-allocation-explain.html)?

---

<div class="post-metadata">

### Author: ![tonycongjie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tonycongjie/32/112682_2.png) [@tonycongjie](https://discuss.elastic.co/u/tonycongjie)
#### Post date: [November 2, 2022, 5:09am UTC](https://discuss.elastic.co/t/split-index-failed/317744/3 "2022-11-02T05:09:21Z")

</div>

The index I try to split is 300gb, each node has 700gb. I can’t remember what is the wording exactly on the allocation explanation. It was something like primary and replicate cannot in the same 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: [November 30, 2022, 5:09am UTC](https://discuss.elastic.co/t/split-index-failed/317744/4 "2022-11-30T05:09:22Z")

</div>

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