joeduffy / blocker

A simple AWS EBS volume plugin for Docker
Apache License 2.0
82 stars 13 forks source link

Local check for device names #1

Closed monder closed 8 years ago

monder commented 8 years ago

Added a local check for already mounted volumes. Fixes an issue when there are already mounted EBS volumes with the name /dev/xvd* (which is valid for HVM instances). AWS does not throw an error if you attempt to attach /dev/sdf while /dev/xvdf is attached, although it resolves to the same device. Then attaching simple times out.

joeduffy commented 8 years ago

First, I am so sorry! I didn't get notifications about your PRs so I missed them.

Second, thanks a million for helping out. I love this change. Merging it immediately.