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 ?


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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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