[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Connect physical discs to a virtual machine

From: Wolfgang Mader
Subject: [Qemu-discuss] Connect physical discs to a virtual machine
Date: Fri, 19 Jun 2015 11:10:15 +0200
User-agent: KMail/4.14.9 (Linux/4.0.5-1-ARCH; KDE/4.14.9; x86_64; ; )

Dear list,

please CC me on reply, since I am off-list.

I have a linux server on which a linux quest is running in a qemu virtual 
machine. To the server, I attached an external hd enclosure (usb) of 8 disks. 
4 of these disks form a btrfs raid which is already formated and full of data. 
I am now searching for a way to connect the disks to the virtual machine.

I already found out, that I can mount the btrfs file system on the server and 
export the mount point folders to the virtual machine. This approach, however, 
seem to imply nasty problems with data permission. The files on the btrfs file 
system do belong to different people, and I want to keep it that way. Since 
qemu is running as a user process, I do not see how is is possible to get r/w 
access to the data.

What I rather would like to archive is to wire the bare metal disks up to the 
virtual machine and manage the btrfs filesystem on file-system level from 
withing the virtual machine.  How can this be done?

Thanks for your help!

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]