for-aws icon indicating copy to clipboard operation
for-aws copied to clipboard

How to use multiple cloudstor:aws volumes on one AWS EC2 instance?

Open johan1252 opened this issue 5 years ago • 0 comments

We are trying to use multiple cloudstor:aws volumes with Amazon ECS. Everything works great for the first volume but when a second container is spun up on the same instance with a different cloudstor:aws volume it complains with CannotCreateContainerError: Error response from daemon: VolumeDriver.Mount: error mounting volume: InvalidParameterValue: Invalid value '/dev/xvdf' for unixDevice. Attachment point /dev/xvdf is already in use status code: 400, request id: 68f53836-2f4e-4

Is there a way to tell the cloudstor:aws docker volume driver/plugin to use a different attachment point? like /dev/xvdg for example.

johan1252 avatar Jul 04 '19 21:07 johan1252