[SLL] The Best of Both Worlds issue with DMRAID
Mark Foster
mark at foster.cc
Thu Mar 6 13:30:40 PST 2008
Brett Serkez wrote:
>> Sounds to me like since the RAID is being handled up above it's
>> invisible/irrelevant to your VM.
>> So just reference the disk as hda or sda from your linux VM, i.e. no
>> dmraid necessary.
>>
>
> Exactly, but how do you do this?
>
>
My suggestion is to use qemu-img to create your virtual disk, instead of
trying to map directly to your physical drive.
e.g.qemu-img create -f qcow linux-os.img 10G
Then run qemu pointed at your linux-os.img file instead of the physical
drive. This will side-step all the dmraid pain.
Disclaimer: I don't use windows unless absolutely necessary. I always
run qemu on linux :)
Also make sure you are also running kqemu assuming it's available for
windows.
> One problem that I'm not sure how to get around, if I change
> /etc/fstab from LABEL=/ to /dev/hda2, what happens when I tried to
> boot Linux normally? Is there a way to specify from grub which
> /dev/fstab to use? I looked and could not find one.
>
For the record, this would be root=/dev/hda2 in the kernel line of
/etc/grub.conf
Good luck!
--
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP <mark at foster.cc> http://mark.foster.cc/
More information about the linux-list
mailing list