On Tue, Sep 15, 2009 at 4:31 PM, Tom de Waal <tom.dew...@sun.com> wrote: > Hi, > > I'm trying to identify why my nfs server does not work. I'm using a more or > less core install of OSOL 2009.06 (release) and installed and configured a > nfs server. > > The issue: nfs server won't start - it can't find any filesystems in > /etc/dfs/sharetab. the zfs file systems do have sharenfs=on property (infact > the pool the used to be on a working NV build 100). > > Some investigations that I did: > zfs create -o sharenfs=os tank1/home/nfs # just an example fs > cannot share 'tank1/home/nfs': share(1M) failed > filesystem successfully create, but not shared > > sharemgr list -v > default enabled nfs > zfs enabled nfs smb > > > svcs -a | grep nfs > disabled 19:52:51 svc:/network/nfs/client:default > disabled 21:05:36 svc:/network/nfs/server:default > online 19:53:23 svc:/network/nfs/status:default > online 19:53:25 svc:/network/nfs/nlockmgr:default > online 19:53:25 svc:/network/nfs/mapid:default > online 19:53:30 svc:/network/nfs/rquota:default > online 21:05:24 svc:/network/nfs/cbd:default > > cat /etc/dfs/sharetab is empty > > sharemgr start -v -P nfs zfs > Starting group "zfs" > > share > # no response > > share -F nfs /tank1/home/nfs zfs > Could not share: /tank1/home/nfs: system error > > pkg list | grep nfs > SUNWnfsc 0.5.11-0.111 installed ---- > SUNWnfsckr 0.5.11-0.111 installed ---- > SUNWnfss 0.5.11-0.111 installed ---- > > Note: I also enabled the smb server (CIFS), which works fine (and fills > sharetab) > > Any suggestion how to resolve this? Am I missing an ips package or a file? >
Make sure the hosts that are trying to connect resolve properly either by DNS or by putting them in the /etc/hosts file. Brandon _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss