Mounting an attached ebs volume in EC2

Posted by David on Server Fault See other posts from Server Fault or by David
Published on 2010-02-20T18:24:31Z Indexed on 2010/04/23 2:03 UTC
Read the original article Hit count: 396

Filed under:
|

I've created an EC2 instance, created an EBS volume, attached it to the running instance, and successfully ssh'ed into my instance.

The drive is attached as /dev/sdf

Next, I tried mounting the drive by running:

mkdir /testName
mount -t ext3 /dev/sdf /testName

But then I get the error message:

mount: wrong fs type, bad option, bad superblock on /dev/sdf,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

What am I doing wrong?

Thanks.

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about amazon-ebs