[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] resize xen disk file



Martin Fernandez wrote:
I resized the file disk using:
dd if=/dev/zero of=*image* bs=1M conv=notrunc count=1 seek=10240
Can someone please explain to me what this command does? I also want to increase a VM's space. This is my current layout:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/sysvg-root             2.1G   943M   1.1G  48% /
/dev/mapper/sysvg-usr              8.4G   1.1G   6.8G  14% /usr
/dev/mapper/sysvg-var              8.4G   246M   7.7G   4% /var
/dev/mapper/sysvg-home          56G    13G    40G  25% /home
/dev/mapper/sysvg-tmp            1.1G    45M   942M   5% /tmp
/dev/sda1                                  152M    27M   118M  19% /boot
tmpfs 269M 0 269M 0% /dev/shm
/dev/mapper/backup-home2     15G   172M    14G   2% /home2
/dev/mapper/backup-iso            22G   1.9G    19G  10% /iso
/dev/mapper/backup-bck          43G   185M    40G   1% /bck

The VM's are located in /home/vm as /home/vm/vm01.img

And is it safe to resize an VM image while it's running?




--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.