» posted on Wednesday, September 30th, 2009 at 6:45pm by Dan
How to mount Amazon EC2 EBS volume on an instance’s file system
The following assumes you have created a volume in AWS Management Console and attached it to your instance as /dev/sdh.
A brand new volume is unformatted block storage. It shows up as another device, but doesn’t contain a filesystem. (An EBS volume that previously had a filesystem created on it won’t be mounted either by the attachment process).
You can verify that your instance can see the EBS volume by running the following command on the instance:
cat /proc/partitions
You’ll see an entry for sdh. At this point, you should create a filesystem and mount it manually. You could create an EXT3 filesystem on the device and then mount it on ‘/ebs’ with the following commands, (run as root):
mke2fs -F -j /dev/sdh
mkdir /ebs
mount /dev/sdh /ebs
» Keywords
army
asp
buffer
cell phone
Code
css
domain tools
domain valuation
free flv player
freelance
free mp3 player
free mp4 player
google pagerank
haval
internet through cell phone
loading
md5
motorola razr
phone
PR
recordset
sha1
sha256
sha384
sha512
snefru
soldiers
voice mail
web flv player
website monitoring
Web Tools
![[del.icio.us]](http://www.randomtools.net/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.randomtools.net/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://www.randomtools.net/wp-content/plugins/bookmarkify/facebook.png)
![[Google]](http://www.randomtools.net/wp-content/plugins/bookmarkify/google.png)
![[Reddit]](http://www.randomtools.net/wp-content/plugins/bookmarkify/reddit.png)
![[Slashdot]](http://www.randomtools.net/wp-content/plugins/bookmarkify/slashdot.png)
![[StumbleUpon]](http://www.randomtools.net/wp-content/plugins/bookmarkify/stumbleupon.png)