Corporate Home Open Source Home
Syndicate content
Eucalyptus
5 replies [Last post]
sticksnleaves
Offline
Joined: 02/23/2010

I've noticed that when I create a VM and look at disk use (using df -h) that the root partition is 1GB and the /mnt partition is however big the VM type I'm using is. How should I go about installing system updates that cause my VM to go over the 1GB disk size?

wavemaker
Offline
Joined: 01/22/2010
The following doc should
spride
Offline
Joined: 02/02/2010
Another way

Another way is to ...

$ sudo fsck.ext3 -f IMAGE
$ sudo resize2fs IMAGE SIZE

Where "IMAGE" is the name of the IMAGE file and "SIZE" is the new size of the file (make sure to add "G" on the end for GBs).

Example: To resize the image "ubuntu-9.04-i386.img" to be 8GB, do this:

$ sudo fsck.ext3 -f ubuntu-9.04-i386.img
$ sudo resize2fs ubuntu-9.04-i386.img 8G

Now, you can "euca-upload-image" the new image to Eucalyptus, and run it. If your Eucalyptus config has a 20G image maximum then "df -h" would show something like:

/dev/sda1 8G /
/dev/sda2 11G /mnt

It's really fast, too.

graziano
Offline
Joined: 01/14/2010
Hello, thanks for sharing! I

Hello,

thanks for sharing! I think you don't even need to be root to sun the commands. Do you care of adding this method to our community wiki?

cheers
graziano

spride
Offline
Joined: 02/02/2010
I tried, but not sure how to

I tried, but not sure how to submit a new article in the community wiki. I submitted a new comment to the main parent, but I'm not sure that's correct.

graziano
Offline
Joined: 01/14/2010
Hello, thank you! You are

Hello,

thank you! You are right! It looks like we have permissions problems on the wiki: we are looking into it. I created a page for you right now, and move your comment there. You should be able to change it to your liking.

thanks!
graziano