VinaCIS Network
Thursday, 11 March 2010
VinaCIS .NETWORK
Home

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
Syndicate
Latest News
VinaCIS Network has been upgraded

With a new additional 50 Mbit line on 01/Dec/2006, VinaCIS has reached max speed of 300 Mbit/s with high quality and warranted bandwidth.

The bandwidth has been splitted to serve business and download server separately. All business server are free from package loss, high latency and unavailability.

 
Howto resize Xen Disk Image ? PDF Print E-mail
User Rating: / 16
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!