# Cant relocate to newly joined data node

**URL:** <https://discuss.elastic.co/t/cant-relocate-to-newly-joined-data-node/58629>\
**Category:** Elasticsearch\
**Created:** [August 22, 2016, 9:56pm UTC](https://discuss.elastic.co/t/cant-relocate-to-newly-joined-data-node/58629 "2016-08-22T21:56:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stecino](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@stecino](https://discuss.elastic.co/u/stecino)\
**Post date:** [August 22, 2016, 9:56pm UTC](https://discuss.elastic.co/t/cant-relocate-to-newly-joined-data-node/58629/1 "2016-08-22T21:56:04Z")

</div>

Hello I have a new data node added to the cluster, when I am trying to relocate some shards to it, i get:

{  
"error": {  
"root\_cause": [  
{  
"type": "remote\_transport\_exception",  
"reason": "[lwes-search-master1][[xx.x.xx.xxx:9300](http://xx.x.xx.xxx:9300)][cluster:admin/reroute]"  
}  
],  
"type": "illegal\_argument\_exception",  
"reason": "[move\_allocation] can't move [paloalto-2016.08.22][4], from {prod526}{Cgao\_cOiTJKqlibtxHcmlQ}{xx.xxx.xxx.xx.}{xxx.xx.xx.xx9300}{max\_local\_storage\_nodes=1, master=false}, to {prod524}{SfhBjFBxRaCyeDgDtbrIqg}{xxx.x.xx.xx}{[xx.xxx.xx.xxx:9300](http://xx.xxx.xx.xxx:9300)}{max\_local\_storage\_nodes=1, master=false}, since its not allowed, reason: [YES(allocation disabling is ignored)][YES(allocation disabling is ignored)][NO(after allocation less than required [0b] free on node, free: [338.6mb])][YES(node passes include/exclude/require filters)][YES(shard not primary or relocation disabled)][YES(below shard recovery limit of [2])][YES(shard is not allocated to same node or host)][YES(total shard limit disabled: [index: -1, cluster: -1] \<= 0)][YES(target node version [2.1.2] is same or newer than source node version [2.1.2])][YES(shard is primary)][YES(no allocation awareness enabled)]"  
},  
"status": 400  
}

These are my cluster settings:

curl -XGET localhost:9200/\_cluster/settings?pretty  
{  
"persistent" : {  
"threadpool" : {  
"bulk" : {  
"queue\_size" : "100"  
},  
"index" : {  
"queue\_size" : "500"  
}  
}  
},  
"transient" : {  
"cluster" : {  
"routing" : {  
"allocation" : {  
"disable\_allocation" : "false",  
"disable\_replica\_allocation" : "false",  
"disk" : {  
"watermark" : {  
"low" : "85%",  
"high" : "200gb"  
}  
},  
"enable" : "all"  
}  
},  
"info" : {  
"update" : {  
"interval" : "1m"  
}  
}  
}  
}  
}

my data path is pointing to a partition that has over 3.0T space, and has proper permissions

---

<div class="post-metadata">

**Author:** ![msimos](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@msimos](https://discuss.elastic.co/u/msimos)\
**Post date:** [August 22, 2016, 10:09pm UTC](https://discuss.elastic.co/t/cant-relocate-to-newly-joined-data-node/58629/2 "2016-08-22T22:09:42Z")

</div>

Seems like you don't have sufficient space to move the shard.

> [@stecino](#):
>
> [NO(after allocation less than required [0b] free on node, free: [338.6mb])]

This is the error, everything else is "YES".

---

<div class="post-metadata">

**Author:** ![stecino](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@stecino](https://discuss.elastic.co/u/stecino)\
**Post date:** [August 22, 2016, 10:11pm UTC](https://discuss.elastic.co/t/cant-relocate-to-newly-joined-data-node/58629/3 "2016-08-22T22:11:05Z")

</div>

[od9655@prod524 ~]$ df -h  
Filesystem Size Used Avail Use% Mounted on  
/dev/sda2 273G 5.3G 254G 3% /  
tmpfs 16G 0 16G 0% /dev/shm  
/dev/sda1 146M 32M 107M 23% /boot  
/dev/sdb1 3.0G 69M 2.8G 3% /esdata

This is what I have

---

<div class="post-metadata">

**Author:** ![stecino](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@stecino](https://discuss.elastic.co/u/stecino)\
**Post date:** [August 22, 2016, 10:13pm UTC](https://discuss.elastic.co/t/cant-relocate-to-newly-joined-data-node/58629/4 "2016-08-22T22:13:50Z")

</div>

Never mind, somehow it's down to 3GB, I will ask our dc team to fix it

---

<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 5, 2017, 10:26pm UTC](https://discuss.elastic.co/t/cant-relocate-to-newly-joined-data-node/58629/5 "2017-07-05T22:26:01Z")

</div>


