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 have a Debian AMI that I built, its working great, but I cannot access any EBS volumes.

I have created an EBS volume and, using the EC2 control panel, I have attached it to my instance as /dev/sdf when I attempt to format it mkfs -t ext3 /dev/sdf I get

mke2fs 1.41.3 (12-Oct-2008)
Could not stat /dev/sdf --- No such file or directory

The device apparently does not exist; did you specify it correctly?

Do I need to have something special installed in the AMI for this to work?

share|improve this question
Possibly not mounting it to the correct instance, mount is still in progress, or an issue with the AMI? – Rob Olmos Nov 9 '10 at 2:54
I've verified all of this. – Unkwntech Nov 9 '10 at 17:33
up vote 2 down vote accepted

The obvious problem is that you're missing the /dev/sdf device file. To create one, run mknod /dev/sdf b 8 80 as root.

Before that, though, check cat /proc/partitions and make sure that Linux detects the sdf drive. My (plain old non-Amazon) Debian install uses udev to automatically create device files in /dev, presumably if the kernel detected this sdf drive, udevd should have created the file already.

share|improve this answer
Thanks for the info, this solved my problem. – Unkwntech Nov 9 '10 at 18:14

Your Answer


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.