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 ?

link|improve this question

feedback

1 Answer

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.

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

Your Answer

 
or
required, but never shown

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