# Error re-mounting EBS volume (shadow device)

**URL:** <https://discuss.aerospike.com/t/error-re-mounting-ebs-volume-shadow-device/5581>\
**Category:** Operations\
**Tags:** aws\
**Created:** [October 10, 2018, 6:06pm UTC](https://discuss.aerospike.com/t/error-re-mounting-ebs-volume-shadow-device/5581 "2018-10-10T18:06:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![praveen](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@praveen](https://discuss.aerospike.com/u/praveen)\
**Post date:** [October 10, 2018, 6:06pm UTC](https://discuss.aerospike.com/t/error-re-mounting-ebs-volume-shadow-device/5581/1 "2018-10-10T18:06:46Z")

</div>

I’m running aerospike on an AWS i3.2xlarge instance and using the instance store as primary device and an attached EBS volume as a shadow device.

I’m orchestrating this using opsworks.

Everything works as well during initial setup. Aerospike is up and running and I can run benchmarks against the cluster.

But I stop the instance and start again, I get an error I get an error that while mounting the EBS volume (shadow device used by aerospike after initial setup)

> STDERR: mount: mount /dev/xvdi on /shadow failed: Structure needs cleaning

I did the same setup without starting aerospike and the instance was able to come up corrected after a stop and start.

This leads me to believe that Aerospike does something with the EBS volume and AWS is not able to re-mount the volume.

Please advice.

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [October 10, 2018, 6:50pm UTC](https://discuss.aerospike.com/t/error-re-mounting-ebs-volume-shadow-device/5581/2 "2018-10-10T18:50:11Z")

</div>

If you aren’t using a filesystem on the disk, then you probably shouldn’t be mounting it. When you use `device` (recommended) Aerospike will happily overwrite any existing filesystem on the device :).

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/system/32/2274_2.png) [@system](https://discuss.aerospike.com/u/system)\
**Post date:** [October 16, 2018, 6:50pm UTC](https://discuss.aerospike.com/t/error-re-mounting-ebs-volume-shadow-device/5581/3 "2018-10-16T18:50:13Z")

</div>

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