Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to attach a ebs volume to an ec2 instance, with this :

$response = $ec2->attach_volume($volume_id, $disp['instanceId'], '/dev/sdf');

It goes to "attaching" state, then to "attached" state, after few seconds, it goes back to "attaching" state.

Why ?

share|improve this question
up vote 0 down vote accepted

Possible just a bad EBS controller, but I have not used the SDKs for attaching volumes. May be better to ask this on the Amazon Dev Forums instead, their techs can take a look at it.

share|improve this answer
    
restarting the instance sorted it out, but I wasn't really happy about it.. – Shrinath Dec 22 '10 at 10:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.