[CentOS] query regarding virtual machine space increase

Mon Dec 27 08:01:27 UTC 2010
Leen de Braal <ldb at braha.nl>

> Dear All,
>
> I am sorry for this post if at all i used the wrong forum but I guess
> someone out there will be there to advise me and help me out and would be
> really apprecite and be grateful
> i have new to xen and has setup my first virtual machine
>
> I have a centos 5.5 xen server working perfect and have installed a
> virtual
> 2008 server and its working fine .
> Actually i created the virtual machine in manager installation wizard with
> the following option.
> in the storage option I selected File (disk Image)
> the location /var/lib/xen/images/image.img ( I have about 400gb free in
> /var
> partition)
> size i choose 15000 mb
> deselect the checkbox ... allocate entire virtual disk now
>
> since the below warning says
>
> if you dont allocate the entire disk now , space will be allocated as
> needed
> while the virtual machine is running .
>
> The 2008 server was installed perfect. and also I did install some
> software
> and c drive showed me 800 mb free
>
> now I tried to copy 1 gb file to my virtual machine and it said I dont
> have
> space .
>
> Now I was thinking that additional space would be allocated on the fly as
> the note says above
>
> i am just wondering why its not allocating more space or what would be the
> ideal way now for allocating more space
>

15GB is way too low for server2008, take 60gb at least (don't know what
you want to do with it).
Your server is allocating space untill the 15GB you gave it. It is a max.

>
> if I wanna create a new virtual machine choosing the block device(
> partition
> option) is the correct way to avoid this problem??
>
> I actually would like the virtual machine to use as much as it requires as
> long as there is free space on my local disk

Give it more than needed, and let xen do the allocating (as you have set).

>
> apprecite your kinfd advice and help
>
>
> regards
> simon
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
L. de Braal
BraHa Systems
NL - Terneuzen
T +31 115 649333
F +31 115 649444