Mounting a ESB volume on a Amazon EC2 Server instance

Via the console create a volume not from a snapshot - (this won't have a filesystem)

Adding volumes to your AMI instances :

Connect the volume to the specific AMI that is running via the console

Then login via SSH into the and create a file system on the newly created volume and then make it available to the AMI.

sudo mkfs.ext3 /dev/sdh

Then add this to the /etc/fstab

/dev/sdh        /volume_shared  ext3    noatime 0 0

mkdir /volume_shared
mount /volume_shared

Check the mount :

df -h

(you should now see a new /volume_shared file system mounted on the EBS volume)

Other info : http://agiletesting.blogspot.com/2008/09/experiences-with-amazon-ec2-and...




Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.
Bg