Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running an Amazon EC2 instance (Ubuntu Server version: 11.10 (64 bit)) and am having problems with re-attaching EBS volumes to previously used device names.

For example, I launch the instance and attach a volume to /dev/xvdh. This will mount, operate perfectly and then unmount and detach without issues. However, if I try and re-attach this volume (or any other) to /dev/xvdh, it just gets stuck in the "attaching" state and will only detach with the --force option.

There are a ton of posts about this on the aws forums but none have a solution. Could this be an issue with Ubuntu? Are devices just "used up" until a reboot or is there some way of freeing them up once removed?

share|improve this question

closed as off topic by qbi, Eric Carvalho, Thomas W., Jorge Castro, hhlp Jan 26 '13 at 10:38

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Can you investigate dmesg (or /var/log/messages) while you attach it. So just making sure: the API says "complete", but it is stuck in "attaching"? –  Till Jul 12 '12 at 22:20
1  
This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. This is to help with the Ask Ubuntu Clean Up. If you feel this question is not abandoned, please flag the question explaining that. :) –  Seth Dec 31 '12 at 1:40

Browse other questions tagged or ask your own question.