[OpenIndiana-discuss] NFS mount of oi_148 filesystem by Linux fails
Martin Frost
me at cs.Stanford.EDU
Wed May 9 01:13:03 UTC 2012
I'm trying to export a ZFS filesystem on oi_148 via NFS, but the NFS
mount fails. The same ZFS filesystem is shared via CIFS, and that's
working. I hope CIFS sharing doesn't interfere with NFS exporting.
Here's the setup, where my nfs server is 'nfsserver', the filesystem
I'm trying to mount is '/nfsclient/filesys', and my nfs client is
'nfsclient' (which is running Linux):
11;nfsserver/root# svcs -a | grep nfs | grep server
online Feb_27 svc:/network/nfs/server:default
12;nfsserver/root# zfs get sharenfs nfsclient/filesys
NAME PROPERTY VALUE SOURCE
nfsclient/filesys sharenfs sec=sys,rw=nfsclient.stanford.edu local
13;nfsserver/root# zfs get sharesmb nfsclient/filesys
NAME PROPERTY VALUE SOURCE
nfsclient/filesys sharesmb name=filesys local
37;nfsclient/etc# showmount -e nfsserver
Export list for nfsserver:
/nfsclient/fs100 (everyone)
/var/smb/cvol (everyone)
/nfsclient/filesys nfsclient.stanford.edu
And here's the mount failure:
40;nfsclient/etc# mount nfsserver:/nfsclient/filesys /etc/testmount
mount.nfs: access denied by server while mounting nfsserver:/nfsclient/filesys
I don't know if NFS in OI references /etc/hosts.allow on the NFS
server, but just in case I gave the nfsclient ALL access in that file
(to no avail).
I can't find any log entries relating to this NFS mount failure,
even after I enabled info and debug logging in syslog.conf.
The two machines are on the same subnet. I can ssh between them.
What might I be missing here?
I have anther OI machine where NFS exporting to Linux machines is
working fine, and I even see a mountd error message in
/var/adm/messages on that machine.
(Side notes: This isn't a problem, but the filesystem /nfsclient/fs100
isn't exported or mountable, though it shows up in 'showmount -e'.
And I haven't exported /var/smb/cvol, but it is mountable -- maybe
that's a default related to using Samba; there's only one file in it:
/var/smb/cvol/windows/system32/eventlog.dll)
Thanks,
Martin
More information about the OpenIndiana-discuss
mailing list