qemu: use physical hard disk (host drives) - dangerous?
The qemu documentations tells that it's possible to use a physical hard disk (host drives) directly, but that it's only save if used READ-ONLY:
Quote:
Can i use a host drive safely in read/write mode if this drive is not mounted at the host and used by the guest exclusively? thanks, gernonimo |
Quote:
Quote:
|
I'm curious as to how you'd do this. The documentation isn't particularly clear in this area, and I don't want to mess up my data! I'm using ProxMox for virtualization on a server, and I have a physical hardware RAID volume (with partitions already created and data on them) that I'd like one of my guests (and only the one guest, not the host nor the other guests) to have access to. It's /dev/sda (the partition sda1) on my host system. How would I go about adding this to the virtual machine?
|
i think it's only possible to add the whole disk to the guest - see section "Using Host Drives" of the qemu documentation:
http://qemu-forum.ipi.fi/viewtopic.php?f=3&t=4599 So you can add hda and not hdaX But what should work: - If you are using LVM you can add a logical volume - If you are using Raid you should be able to add a logical raid device |
Quote:
|
Quote:
|
Quote:
|
well I was starting quemu from the command line in a terminal. I don't have it setup in front of me right now. How do you start quemu?
|
Quote:
http://img139.imageshack.us/img139/5...vironmewe2.png |
Hmm, I've never seen that before. Is there a way to change the command line options that quemu is launched with? do you know what image file quemu is looking for?
I am assuming: (please correct me.) 1) This is all running on a linux box you have physical access to. 2) Proxmox is some kind of web application allowing you to work through your browser. 3) You are trying to run linux inside quemu with some kind of dedicated server set up on the VM |
Quote:
|
All times are GMT -5. The time now is 11:39 AM. |