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've got an EC2 instance running Ubuntu and want to attach some 50-60 EBS volumes to it. However, the EC2 console says I can use only /dev/sdf through /dev/sdp, so I'm limited to 11 volumes. Is there a way around this limitation?

share|improve this question
up vote 1 down vote accepted

Any specific reason you want to attach that many separate volumes to the instance?

I believe what you want are lots of partition in your system. But for that you don't need that much EBS volumes to be attached to the instance.

You can simply attach a bigger Volume and then partition it at the OS level, using utilities like fdisk or parted.

Please let me know if there is any specific reason you want to attach that many volumes or else this solution should work.

share|improve this answer
1  
In fact, I have several instances that exchange some big data between each other. Moving a volume from one instance to another is much faster than copying data across network. – georg Mar 10 '13 at 16:39
    
That's very true and for that you will need different volumes. But at the same time, in your scenario, I would have used some centralized storage instead of using separate volumes to share or move data among different instances. Anyways, that's all depends on your architecture, which I am not sure of, so just a small suggestion. – GeekRide Mar 11 '13 at 10:10

The cause for this particular question is apparently the misleading nature of the EC2/EBS web console. It seems to explicitly say that you can't attach past sdp (xvdp), but if you just ignore its suggestions and manually type in sdq, it will probably just work.

That will work up to sdz (xvdz). After that, http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html says on modern-day HVM instances one can use: xvd[b-c][a-z] which would give you another 62 slots.

(This topic is also discussed at http://stackoverflow.com/questions/11042413/what-is-the-max-number-of-attached-volumes-per-amazon-ec2-instance)

share|improve this answer

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.