Eucalyptus volumes
From Bashlinux
How to create a volume
euca-create-volume -z cluster01 -s 2
How to list volumes
euca-describe-volumes
How to attach a volume to a running instance
euca-attach-volume -i i-5B7942F1 -d /dev/sdb1 vol-E54C3B1A
How to detach a volume from any instance
Note that instance
name is not necessary here
euca-detach-volume vol-E54C3B1A
How to extend root FS
dd if=/dev/zero of=4g.img count=4096 bs=1M dd if=eucalyptus.img of=4g.img conv=notrunc losetup /dev/loop0 4g.img e2fsck -f /dev/loop0 resize2fs /dev/loop0 e2fsck -f /dev/loop0 losetup -d /dev/loop0
EBS References
- http://www.eucalyptus.com/docs/3.1/ug/create_vol_image.html#create_vol_image
- http://lesterwade.wordpress.com/2012/04/01/creating-a-boot-from-ebs-bfebs-image/
- https://engage.eucalyptus.com/customer/portal/articles/326593-creating-and-managing-ebs-volumes
- http://open.eucalyptus.com/wiki/install-service-ebs-volume