I have a FreeBSD 12.1-RELEASE machine, hostname DellOptiPlex390. I would like to export the folders /usr/home/jdrch/KeePass and /usr/home/jdrch/Sync and mount them via NFS on an OpenIndiana Hipster GUI machine with IP address 192.168.0.71. My username, jdrch, is the same on both machines. I therefore have the following:
My /etc/rc.conf:
My /etc/exports:
I'm exporting /usr/home because the exports(5) man page seems to imply that's necessary. FTA:
After any update to either of those files I restart both nfsd & mountd on the FreeBSD server.
Unfortunately, I haven't had any luck getting the export to mount.
Trying to mount one of the subfolders fails:
Trying to mount the exported filesystem also fails:
Using
Substituting the FreeBSD server's IP address for its hostname has no effect.
Any ideas about anything being wrong with the server-side setup?
My /etc/rc.conf:
Code:
hostname="DellOptiPlex390"
zfs_enable="YES"
kld_list="sysctlinfo"
ifconfig_re0="DHCP"
linux_enable="YES"
dbus_enable="YES"
dsbdriverd_enable="YES"
sddm_enable="YES"
sshd_enable="YES"
nfs_client_enable="YES"
webmin_enable="YES"
smartd_enable="YES"
ntpd_enable=YES
ntpd_sync_on_start=YES
rpcbind_enable="YES"
nfs_server_enable="YES"
nfsv4_server_enable="YES"
mountd_flags="-r"
mountd_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
My /etc/exports:
Code:
# Export /usr/home as read-write to OpenIndiana
/usr/home -alldirs -rw -mapall=MyFreeBSDUsername 192.168.0.71
I'm exporting /usr/home because the exports(5) man page seems to imply that's necessary. FTA:
All ZFS file systems in the subtree below the NFSv4 tree root must be exported
After any update to either of those files I restart both nfsd & mountd on the FreeBSD server.
Unfortunately, I haven't had any luck getting the export to mount.
Trying to mount one of the subfolders fails:
Code:
# mount DellOptiPlex390:/usr/home/jdrch/KeePass /export/home/jdrch/KeePass
Password:
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
nfs mount: mount: /export/home/jdrch/KeePass: Permission denied
Trying to mount the exported filesystem also fails:
Code:
# mount DellOptiPlex390:/usr/home/ /export/home/jdrch/KeePass
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
nfs mount: mount: /export/home/jdrch/KeePass: Permission denied
Using
sec=sys
in the mount command doesn't work, either:
Code:
# mount -F nfs -o vers=4,sec=sys DellOptiPlex390:/usr/home/jdrch/KeePass /export/home/jdrch/KeePass
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
NFS compound failed for server DellOptiPlex390: error 7 (RPC: Authentication error)
nfs mount: mount: /export/home/jdrch/KeePass: Permission denied
Substituting the FreeBSD server's IP address for its hostname has no effect.
Any ideas about anything being wrong with the server-side setup?
Last edited by a moderator: