# S3 / FS and Cluster Health

**URL:** https://discuss.elastic.co/t/s3-fs-and-cluster-health/3218
**Category:** Elasticsearch
**Created:** [August 14, 2010, 3:13pm UTC](https://discuss.elastic.co/t/s3-fs-and-cluster-health/3218 "2010-08-14T15:13:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Kenneth\_Loafman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman/32/2224_2.png) [@Kenneth\_Loafman](https://discuss.elastic.co/u/Kenneth_Loafman)
#### Post date: [August 14, 2010, 3:13pm UTC](https://discuss.elastic.co/t/s3-fs-and-cluster-health/3218/1 "2010-08-14T15:13:09Z")

</div>

Hi,

I had a 'cluster' of one node using the FS gateway and it stayed green.  
I switched to the S3 gateway and the cluster will not build the replica  
shards, thus is staying yellow. Is this a known limitation of the S3  
gateway, or is there something I'm missing.

Setup was copied from  
[http://www.elasticsearch.com/docs/elasticsearch/cloud/aws/s3\_gateway/](http://www.elasticsearch.com/docs/elasticsearch/cloud/aws/s3_gateway/)  
except for credentials and bucket name, of course.

...Thanks,  
...Ken

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [August 14, 2010, 5:16pm UTC](https://discuss.elastic.co/t/s3-fs-and-cluster-health/3218/2 "2010-08-14T17:16:32Z")

</div>

When you have a single node, replicas will not be allocated to it (it make  
no sense to allocate a replica of a shard on the same node the shard exists  
on). Its not really related to the gateway type. Are you sure you got green  
health when a single node? Maybe you created an index without any replicas  
in that case?

-shay.banon

On Sat, Aug 14, 2010 at 6:13 PM, Kenneth Loafman  
[kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)wrote:

> Hi,
> 
> I had a 'cluster' of one node using the FS gateway and it stayed green.  
> I switched to the S3 gateway and the cluster will not build the replica  
> shards, thus is staying yellow. Is this a known limitation of the S3  
> gateway, or is there something I'm missing.
> 
> Setup was copied from  
> [http://www.elasticsearch.com/docs/elasticsearch/cloud/aws/s3\_gateway/](http://www.elasticsearch.com/docs/elasticsearch/cloud/aws/s3_gateway/)  
> except for credentials and bucket name, of course.
> 
> ...Thanks,  
> ...Ken

---

<div class="post-metadata">

### Author: ![Kenneth\_Loafman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman/32/2224_2.png) [@Kenneth\_Loafman](https://discuss.elastic.co/u/Kenneth_Loafman)
#### Post date: [August 14, 2010, 7:37pm UTC](https://discuss.elastic.co/t/s3-fs-and-cluster-health/3218/3 "2010-08-14T19:37:59Z")

</div>

I understand. The replicas must have been created when there were two  
nodes a week ago. That implies that green status means that there are  
replicas, but they may be seriously out of date.

...Ken

Shay Banon wrote:

> When you have a single node, replicas will not be allocated to it (it  
> make no sense to allocate a replica of a shard on the same node the  
> shard exists on). Its not really related to the gateway type. Are you  
> sure you got green health when a single node? Maybe you created an index  
> without any replicas in that case?
> 
> -shay.banon
> 
> On Sat, Aug 14, 2010 at 6:13 PM, Kenneth Loafman  
> \<[kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com) [mailto:kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)\> wrote:
> 
> ```
> Hi,
> 
> I had a 'cluster' of one node using the FS gateway and it stayed green.
> I switched to the S3 gateway and the cluster will not build the replica
> shards, thus is staying yellow. Is this a known limitation of the S3
> gateway, or is there something I'm missing.
> 
> Setup was copied from
> http://www.elasticsearch.com/docs/elasticsearch/cloud/aws/s3_gateway/
> except for credentials and bucket name, of course.
> 
> ...Thanks,
> ...Ken
> 
> ```

---

<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 6, 2017, 4:20am UTC](https://discuss.elastic.co/t/s3-fs-and-cluster-health/3218/4 "2017-07-06T04:20:44Z")

</div>


