[libvirt] Mounting a bare-metal folder as a drive

Adam Mooz adam.mooz at gmail.com
Wed Nov 11 20:30:17 UTC 2009


I'm not looking to attach a new disk or a block deivice, this is a folder that is being mounted and used by the bare metal system that I'd like to pass into the VM.  I'm thinking Samba may be the way to go, although there is a fair amount of overhead doing that.  
-----------------------------------------------------------------
Adam Mooz
Adam.Mooz at gmail.com
AdamMooz at me.com
http://www.AdamMooz.com



On 2009-11-11, at 3:26 PM, Neil Aggarwal wrote:

> > I'm attempting to ad a folder located on the bare-metal machine to the VM and have it
> > appear as a drive (such as HDD), is this possible?  I've looked over the documentation and it suggests this is only possible for USB
>  
> The RHEL Virtualization Guide says you can do it by creating a sparse file:
>  
> http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/sect-Virtualization-Virtualized_block_devices-Adding_storage_devices_to_guests.html
>  
>     Neil
> 
> --
> Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
> CentOS 5.4 VPS with unmetered bandwidth only $25/month!
> 7 day no risk trial, Google Checkout accepted
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20091111/dbe3747f/attachment-0001.htm>


More information about the libvir-list mailing list