# Error when Data Stored in AWS EFS in Weaviate

**URL:** <https://forum.weaviate.io/t/error-when-data-stored-in-aws-efs-in-weaviate/2972>\
**Category:** Support\
**Created:** [July 8, 2024, 8:03am UTC](https://forum.weaviate.io/t/error-when-data-stored-in-aws-efs-in-weaviate/2972 "2024-07-08T08:03:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saurbhhsharrma](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/saurbhhsharrma/32/1865_2.png) [@saurbhhsharrma](https://forum.weaviate.io/u/saurbhhsharrma)\
**Post date:** [July 8, 2024, 8:03am UTC](https://forum.weaviate.io/t/error-when-data-stored-in-aws-efs-in-weaviate/2972/1 "2024-07-08T08:03:02Z")

</div>

I have created a Weaviate Setup in AWS ECS and create auto-scaling. Due to spike load, the weaviate instance restarted and now, I am getting below error which accessing the data.

{  
“data”: {  
“Get”: {  
“WeaviateDemo3”: null  
}  
},  
“errors”: [  
{  
“locations”: [  
{  
“column”: 6,  
“line”: 1  
}  
],  
“message”: “explorer: list class: search: object search at index weaviatedemo3: local shard object search weaviatedemo3\_PXksOv6syq7H: Unable to load shard PXksOv6syq7H: init shard “weaviatedemo3\_PXksOv6syq7H”: init shard “weaviatedemo3\_PXksOv6syq7H”: shard db: create objects bucket: init disk segments: init segment segment-1719829104648996364.db: mmap file: invalid argument”,  
“path”: [  
“Get”,  
“WeaviateDemo3”  
]  
}  
]

- Weaviate Server Version: 1.24.4
- Multi Node? Number of Running Nodes: Single Node only
- Client Language and Version: Python
- Multitenancy?: No

We are persisting data in AWS EFS and we face this issue as soon as the instance reboots.

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [July 8, 2024, 7:19pm UTC](https://forum.weaviate.io/t/error-when-data-stored-in-aws-efs-in-weaviate/2972/2 "2024-07-08T19:19:28Z")

</div>

HI @saurbhhsharrma !!

I have seen a similar error 🤔

Can you check if that file `1719829104648996364.db` is empty?

This may also be a symptom of reaching the limits of the hardware, so time to a multi node deployment.

How many objects are you running?

Also, check here for a similar thread:

> [@Startup Failure](https://forum.weaviate.io/t/startup-failure/1709/6):
>
> Hi @msj242, this error init segment segment-1705570724834516877.db: mmap file: invalid argument" may be caused by a corrupted .db file, it could be due to a reboot or unexpected crash (also during compaction) when using a version lower than v1.24 where integrity of files was improved. Was that data created in an older version?
