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
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
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 :
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
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