Just to clarify, when you say, "NFS is currently only supported in the global zone", does that mean export, or mount? In that, smartos will not allow a non-global zone to export it's files sytem, or that it will not allow a non-global zone to mount an exported file system? Or, I guess, either?
Thx, -al On Wed, Jul 19, 2017 at 11:16:48PM +0000, TRITONIA SOLUTIONS LIMITED wrote: > All, > > After more experimentation and testing it seems that NFS is currently only > supported in the global zone: which I now have working. > > I already had SMB/CIFS working from a virtual machine (using Samba) with a > delegated dataset, so I just need to get iSCSI working. > > Regards > > Sean Weatherall. > > ________________________________ > From: TRITONIA SOLUTIONS LIMITED <[email protected]> > Sent: 17 July 2017 15:41 > To: [email protected] > Subject: [smartos-discuss] Serving NFS from non-global zone > > Hi, > > Sorry if this is answered somewhere but I've read most of the SmartOS blog + > searched smartos-discuss listbox to no avail. > > I have a OS virtual machine (just base-64 standard) and want to use it to > serve NFS filesystems. I have read about using > > "delegate_dataset": true but I'd rather not use a zfs dataset / volume below > the zones/<uuid>/ just in case I'm stupid and delete the virtual machine. > > I have previously used lofs to add datasets to other vm's in order to serve > up SMB shares using Samba but then I read that its possible to delegate a > dataset to a zone using zonecfg -> add dataset so it can be administered > within the vm (zlogin). I have tried that but it would not allow me to change > the zfs sharenfs property and I am confused about the differences, if any, of > using sharenfs and sharemgr from within the vm. > > Any help would be great or just point me in the right direction. > > Many thanks > > PS: I only have 2 servers and am trying to setup a hyper-converged > infrastructure for my small (1 person) company to use. > > Sean Weatherall > > smartos-discuss | > Archives<https://www.listbox.com/member/archive/184463/=now> > [https://www.listbox.com/images/feed-icon-10x10.jpg31e6b2b.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc] > <https://www.listbox.com/member/archive/rss/184463/28043872-e46a94d7> | > Modify<https://www.listbox.com/member/?&> Your Subscription > [https://www.listbox.com/images/listbox-logo-small.png31e6b2b.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc] > <http://www.listbox.com> > Thanks! -al ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
