Ask Your Question

Present physical disk to guest

asked 2013-09-30 13:28:08 -0500

PhiKapJames gravatar image

I'm looking to present physical disks to a guest VM. My current option is to mount them on the host and then present them to the VM using NFS, then add the guest VM to another network that both the host and guest are on. I really do not want to do that.

The reason behind this is that I am moving a server to a guest on openstack, where the guest had an eSata enclosure presenting four disks, that were then using zfs (zfsonlinux) in a raidz setup. I'm really wanting to present the four disks that are connected up to the host (ie. sdb, sdc, sdd, sde) to the guest (as vdb, vdc, vdd, vde), and then let the guest handle the zfs piece.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-10-17 10:53:58 -0500

schegi gravatar image

You might be able to do that using raw devices and iscsi. Look here, don't know current status. But if you want to build the zraid inside your guest you can also just use LVM volumes via iscsi in your guest. One volume per disk. The little LVM overhead should not harm.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-09-30 13:28:08 -0500

Seen: 194 times

Last updated: Oct 17 '17