VinaCIS Network
Friday, 30 July 2010
VinaCIS .NETWORK
Home arrow Linux problems arrow Howto resize Xen Disk Image ?

Articles
Webmaster
Security
Solved problems
Common problems
Linux problems
Windows problems
Plesk Control Panel
Advertise with us
Polls
Which Control Panel software would you prefer to use ?
 
Login Form





Lost Password?
No account yet? Register
Howto resize Xen Disk Image ? PDF Print E-mail
User Rating: / 17
PoorBest 

 Sample Image

 Problem:

  I am using Xen to create Virtual Machines, but how can I resize the virtual disk image?

 

Solution: 

This solution is to increase your virtual disk size: 

cd /var/lib/xen/images/vlinux1

#use dd to create a 1 GB file

dd if=/dev/zero of=Tempfile bs=1024 count=1000000

#append this file to virtual image file (in this case is hda)

cat Tmpfile >> hda 

resize2fs -f hda

 
< Prev   Next >

Top!