[Leaplist] gparted and KVM quetjuns'(Solved)

Whit Hansell skipper44 at comcast.net
Sun Mar 28 12:08:31 EDT 2010


Never mind guys.   I think I've figured it out.  Don't need a full 40G 
by any means.  Do need to use /var as that is where libvirt sticks the 
image by default.  And do seem to remember how to do the free space move 
from last time.  And found a place that let's me think that KVM handles 
the file type itself in the image file somehow so don't have to worry 
about formatting anything.

Sorry for the bother but will be glad to take any experiences you've had 
w. this if you'd like to post them.

Thanks and want to thank you all for your postings on stuff in the 
past.  It is always helpful even tho' I lurk mostly.  I learn from you all.
Whit

Whit Hansell wrote:
>
> Hey,
>
> I've used gparted before but have forgotten what I did and haven't 
> used KVM yet....  I.ve got it installed  but have to set up sufficient 
> "storage" drive space for the new virtual Windows XP OS(guest).
>
> Wanting to use KVM to run a couple 'doze apps on my Debian AMD64 box.  
> From what I can tell, it's normal to use /var as the place to set up 
> the "KVM storage area."  If that's the case I need to increase the 
> size of the partition where /var resides.
>
> 4G RAM and 250G SATA
>
> This is my df -h result:
>
> whit at greatstar:~$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1             662M  252M  376M  41% /
> tmpfs                     1.9G     0        1.9G   0% /lib/init/rw
> udev                       10M 1008K   9.1M  10% /dev
> tmpfs                     1.9G     0        1.9G   0% /dev/shm
> /dev/sda9              216G   43G    163G  21% /home
> /dev/sda8              373M   12M   342M   4% /tmp
> /dev/sda5               4.6G   3.7G   726M  84% /usr
> /dev/sda6               2.8G  402M    2.3G  16% /var
>
> My swap partition is /dev/sda7   5.0G
>
> I need to move free space(40G??) from /dev/sda9(home) all the way down 
> thru
> /dev/sda8, /dev/sda7(swap) to /dev/sda6(/var) and also increase my 
> /usr partition
> by another 2G too, which is on /dev/sda5.
>
> I know I have to move the "new storage area free space" down thru the 
> various partitions but wondered if I can bypass the swap partition, or 
> not?  I think i already know the answer which is yes, but just wanted 
> verification.
>
> Also, for you who have set up KVM successfully, is /var, the best 
> place to put it or would it work OK if I just bypassed all this 
> gparted stuff and stuck it in /home?
>
> I've "Googled so much about gparted and KVM but just can't find 
> answers to these specific question.
>
> One other question.  This one regarding setting up Windows XP.  Do I 
> need to let the install program format the storage space or ignore 
> formatting and just do the install of  the basic OS?   I'm sorry but 
> I'm lost on how this works w. my linux partition set up as ext3 and 
> trying to install Windows on it.
>
> As to the 40G I want to move from /home to /var, it's just a guess.  I 
> figured I might want to also do an FC linux guest too for grins so 
> figured a full 40 would be good.  Any recommendations will be 
> appreciated.
>
> TIA for any information you can give.  This Virtualization stuff in 
> interesting and I'd like to learn it.  Thanks again.
> Whit
>
>
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Leaplist mailing list