Global Analyst Insights by Rene Buest

Eucalyptus: Die Größe von Images ändern (Variante 1)

By on Juni 8, 2010 in Tutorials @de with 0 Comments

Dieser Artikel beschreibt das Ändern der Größe eines bereits vorhandenen Images.

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

Dabei handelt es sich bei „IMAGE“ um den Namen der Image Datei und „SIZE“ um die neue Größe der Datei. Hier muss darauf geachtet werden, dass ein G für GB – Gigabyte hinter der Größe steht.

Um z.B. die Größe des Image „ubuntu-9.04-i386.img“ auf 8 Gigabyte zu ändern nutzen wir den Befehl:

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

Nun kann mit dem Befehl „euca-upload-image“ das veränderte Image in die Eucalyptus Cloud hochgeladen und ausgeführt werden.

Sollte Eucalyptus so konfiguriert sein, dass die maximale Imagegröße 20 Gigabyte beträgt, sollte der Befehl „df -h“ eine ähnliche Ausgabe erzeugen.

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

Quelle

Tags: , , , ,

About the Author

About the Author: Rene Buest is Gartner Analyst covering Infrastructure Services & Digital Operations. Prior to that he was Director of Technology Research at Arago, Senior Analyst and Cloud Practice Lead at Crisp Research, Principal Analyst at New Age Disruption and member of the worldwide Gigaom Research Analyst Network. Rene is considered as top cloud computing analyst in Germany and one of the worldwide top analysts in this area. In addition, he is one of the world’s top cloud computing influencers and belongs to the top 100 cloud computing experts on Twitter and Google+. Since the mid-90s he is focused on the strategic use of information technology in businesses and the IT impact on our society as well as disruptive technologies. Rene Buest is the author of numerous professional technology articles. He regularly writes for well-known IT publications like Computerwoche, CIO Magazin, LANline as well as Silicon.de and is cited in German and international media – including New York Times, Forbes Magazin, Handelsblatt, Frankfurter Allgemeine Zeitung, Wirtschaftswoche, Computerwoche, CIO, Manager Magazin and Harvard Business Manager. Furthermore Rene Buest is speaker and participant of experts rounds. He is founder of CloudUser.de and writes about cloud computing, IT infrastructure, technologies, management and strategies. He holds a diploma in computer engineering from the Hochschule Bremen (Dipl.-Informatiker (FH)) as well as a M.Sc. in IT-Management and Information Systems from the FHDW Paderborn. .

Subscribe

If you enjoyed this article, subscribe now to receive more just like it.

Post a Comment

Top