LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 04-01-2013, 01:01 AM   #1
nicolasdiogo
Member
 
Registered: Oct 2003
Location: UK
Distribution: debian lenny x64
Posts: 129

Rep: Reputation: 20
Talking 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,
 
Old 04-06-2013, 11:31 AM   #2
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 515

Rep: Reputation: 102Reputation: 102
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB redirection issues on WinXP guest, KVM host (created with virt-manager) gradinaruvasile Linux - Virtualization and Cloud 1 03-13-2013 02:56 AM
virtualization - latest virt-manager/kvm Nick_C Linux - Server 3 03-09-2012 07:40 AM
LXer: KVM Guest Management With Virt-Manager On Ubuntu 8.10 LXer Syndicated Linux News 0 02-10-2009 02:50 PM
KVM + qemu + virt-manager issues cyanide_will Linux - Software 4 04-15-2008 01:43 AM


All times are GMT -5. The time now is 09:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration