> -----Original Message-----
> From: zfs-discuss-boun...@opensolaris.org 
> [mailto:zfs-discuss-boun...@opensolaris.org] On Behalf Of 
> Edward Ned Harvey
> Sent: Thursday, November 18, 2010 9:54 PM
> To: 'Günther'; zfs-discuss@opensolaris.org
> Subject: Re: [zfs-discuss] Faster than 1G Ether... ESX to ZFS
> 
> > From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> > 
> > SAS Controller
> > and all ZFS Disks/ Pools are passed-through to Nexenta to have full
> ZFS-Disk
> > control like on real hardware. 
> 
> This is precisely the thing I'm interested in.  How do you do 
> that?  On my
> ESXi (test) server, I have a solaris ZFS VM.  When I 
> configure it... and add
> disk ... my options are (a) create a new virtual disk (b) use 
> an existing
> virtual disk, or (c) (grayed out) raw device mapping.  There 
> is a comment
> "Give your virtual machine direct access to a SAN."  So I 
> guess it only is
> available if you have some iscsi target available...
> 
> But you seem to be saying ... don't add the disks 
> individually to the ZFS
> VM.  You seem to be saying...  Ensure the bulk storage is on 
> a separate
> sas/scsi/sata controller from the ESXi OS...  And then add 
> the sas/scsi/sata
> PCI device to the guest, which will implicitly get all of the 
> disks.  Right?
> 
> Or maybe ... the disks have to be scsi (sas)?  And then you 
> can add the scsi
> device directly pass-thru?
> 
> What's the trick that I'm missing?

There is no trick. If you expose the HBA directly to the VM then you get all 
the disks. 

In order to do this, you need to configure passthrough for the device at the 
host level (host -> configuration -> hardware -> advanced settings). This 
requires that the VT stuff be enabled in the BIOS on your host - if you don't 
have this ability, then you're out of luck. 

Once the device is configured for passthrough on the host, you also have to 
pass it through to the VM. This is done by 'adding' the PCI device to the VM 
configuration. At that point, you just have it in the guest as with the other 
virtual devices.

You might like to read this article, which describes something similar:

http://blog.laspina.ca/ubiquitous/encapsulating-vt-d-accelerated-zfs-storage-within-esxi

-Will
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to