LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   virt-manager - can i start a KVM using a USB as storage? (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/virt-manager-can-i-start-a-kvm-using-a-usb-as-storage-4175456329/)

nicolasdiogo 04-01-2013 01:01 AM

virt-manager - can i start a KVM using a USB as storage?
 
hello

i would like to find out how i can start a VM using Virt-Manager with a USB as its storage.

in the terminal i can run the following and achieve what i want:

Code:

kvm -hda /dev/sdb
but i can not see to find a way to manage the VM with virt-manager.

any suggestion?

thanks,

gradinaruvasile 04-06-2013 11:31 AM

Edit->connection details->storage tab->add pool(green plus)->name whatever you want, select type "disk", select the device you want etc (watch out - "build pool" option tagged formats the device).
Make sure its started (after creation), then go to the VM and add it as a hdd (ideally use the virtio driver).

Other stuff to consider - DO NOT MOUNT the partition in question in the HOST OS if it is used by libvirt! If you need to do that ,stop the VM, stop the pool in question, then you can mount it.


All times are GMT -5. The time now is 07:01 PM.