Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

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.

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
add comment

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.