Hmmm, that's odd. I have a number of VMs running on NFS (hosted on ESX, rather than Xen) with no problems at all. I did add a SLOG device to get performance up to a reasonable level, but it's been running flawlessly for a few months now. Previously I was using iSCSI for most of the connections, but with the addition of the SLOG device NFS has become feasible.
All I'm using on the OSOL side is sharenfs=anon=0 and adding the server's addresses to /etc/hosts to permit access. Running osol2009.06. Cheers, Erik On 28 juil. 2010, at 21:11, sol wrote: > Richard Elling wrote: >> Gregory Gee wrote: >>> I am using OpenSolaris to host VM images over NFS for XenServer. I'm >>> looking >> for tips on what parameters can be set to help optimize my ZFS pool that >> holds >> my VM images. >> There is nothing special about tuning for VMs, the normal NFS tuning applies. > > > That's not been my experience. Out of the box VMware server would not work > with > the VMs stored on a zfs pool via NFS. I've not yet found out why but the > analytics showed millions of getattr/access/lookup compared to read/write. > > A partial workaround was to turn off access time on the share and to mount > with > noatime,actimeo=60 > > But that's not perfect because when left along the VM got into a "stuck" > state. > I've never seen that state before when the VM was hosted on a local disk. > Hosting VMs on NFS is not working well so far... > > > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss