Re: [CentOS-virt] how to add file-based disk space to a guest

2011-10-31 Thread thomas veymont
hi there, coming back on a old thread. My topic is rather simple : I want to attach a file-based hard drive to a linux guest. I want to understand differences between doing it with command line tools versus virt-manager GUI. - first, creating a disk image on the physical host: qemu-img create

Re: [CentOS-virt] how to add file-based disk space to a guest

2011-08-03 Thread thomas veymont
thanks for your answer, sure I could use the GUI but I wanted, somehow, to understand how to do it with the shell commands (useful in some situation). Tom Trey Dockendorf treydock at gmail.com Tue Jul 26 19:44:06 EDT 2011 I'm not aware of a virsh attach disk command but if you duplicate the

Re: [CentOS-virt] how to add file-based disk space to a guest

2011-07-26 Thread thomas veymont
anyone may help on that topic ? thanks 2011/7/20 thomas veymont thomas.veym...@gmail.com: hi there, I'm following these documentations to add a file-based disk volume to a KVM guest under Centos 6.0 :

Re: [CentOS-virt] how to add file-based disk space to a guest

2011-07-26 Thread Trey Dockendorf
I'm not aware of a virsh attach disk command but if you duplicate the entries for the existing disk you can then add the new one...something like this... # virsh -c qemu:///system edit VMname disk type='file' device='disk' driver name='qemu' type='qcow2' cache='none'/ source

[CentOS-virt] how to add file-based disk space to a guest

2011-07-20 Thread thomas veymont
hi there, I'm following these documentations to add a file-based disk volume to a KVM guest under Centos 6.0 : http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-Storage_Volumes.html as instructed, I created a pool then a volume, file-based, e.g