NFS Mount failing? [SOLVED]


axeman

Recommended Posts

trying to mount an NFS exported share, but banging my head trying...ideally I would like to have some form of security, but for now, i'm OK with just leaving it wide open, but even then I can't get it to work...

 

ESXi Error:

Call "HostDatastoreSystem.CreateNasDatastore" for object "ha-datastoresystem" on ESXi "192.168.1.6" failed.

NFS mount 192.168.1.200:/mnt/usr/VM_DATASTORE_T1 failed: The mount request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it.

 

Unraid 5.0rc12a log tail:

tail -n 40 -f /var/log/syslog

May 9 22:13:36 Rigel emhttp: Restart SMB...

May 9 22:13:36 Rigel emhttp: shcmd (72): killall -HUP smbd

May 9 22:13:36 Rigel emhttp: shcmd (73): ps axc | grep -q rpc.mountd

May 9 22:13:36 Rigel emhttp: Restart NFS...

May 9 22:13:36 Rigel emhttp: shcmd (74): exportfs -ra |& logger

May 9 22:13:36 Rigel emhttp: shcmd (75): /usr/local/sbin/emhttp_event svcs_restarted

May 9 22:13:36 Rigel emhttp_event: svcs_restarted

May 9 22:18:27 Rigel mountd[30694]: refused mount request from 192.168.1.115 for /mnt/usr/VM_DATASTORE_T1 (/mnt/usr/VM_DATASTORE_T1): unmatched host

May 9 22:18:52 Rigel emhttp: shcmd (76): :>/etc/samba/smb-shares.conf

May 9 22:18:52 Rigel emhttp: shcmd (77): cp /etc/exports- /etc/exports

May 9 22:18:52 Rigel emhttp: shcmd (78): echo '"/mnt/user/VM_DATASTORE_T1" -async,no_subtree_check,fsid=100 *(rw,insecure,anongid=100,anonuid=99,all_squash)' >>/etc/exports

May 9 22:18:52 Rigel emhttp: Restart SMB...

May 9 22:18:52 Rigel emhttp: shcmd (79): killall -HUP smbd

May 9 22:18:52 Rigel emhttp: shcmd (80): ps axc | grep -q rpc.mountd

May 9 22:18:53 Rigel emhttp: Restart NFS...

May 9 22:18:53 Rigel emhttp: shcmd (81): exportfs -ra |& logger

May 9 22:18:53 Rigel emhttp: shcmd (82): /usr/local/sbin/emhttp_event svcs_restarted

May 9 22:18:53 Rigel emhttp_event: svcs_restarted

May 9 22:19:26 Rigel mountd[30694]: refused mount request from 192.168.1.115 for /mnt/usr/VM_DATASTORE_T1 (/): not exported

May 9 22:20:14 Rigel emhttp: shcmd (83): :>/etc/samba/smb-shares.conf

May 9 22:20:14 Rigel emhttp: shcmd (84): cp /etc/exports- /etc/exports

May 9 22:20:14 Rigel emhttp: shcmd (85): echo '"/mnt/user/VM_DATASTORE_T1" -async,no_subtree_check,fsid=100 *(rw,insecure,anongid=100,anonuid=99,all_squash)' >>/etc/exports

May 9 22:20:14 Rigel emhttp: Restart SMB...

May 9 22:20:14 Rigel emhttp: shcmd (86): killall -HUP smbd

May 9 22:20:14 Rigel emhttp: shcmd (87): ps axc | grep -q rpc.mountd

May 9 22:20:14 Rigel emhttp: Restart NFS...

May 9 22:20:14 Rigel emhttp: shcmd (88): exportfs -ra |& logger

May 9 22:20:14 Rigel emhttp: shcmd (89): /usr/local/sbin/emhttp_event svcs_restarted

May 9 22:20:14 Rigel emhttp_event: svcs_restarted

May 9 22:20:23 Rigel emhttp: shcmd (90): :>/etc/samba/smb-shares.conf

May 9 22:20:23 Rigel emhttp: shcmd (91): cp /etc/exports- /etc/exports

May 9 22:20:23 Rigel emhttp: shcmd (92): echo '"/mnt/user/VM_DATASTORE_T1" -async,no_subtree_check,fsid=100 *(rw,insecure,anongid=100,anonuid=99,all_squash)' >>/etc/exports

May 9 22:20:23 Rigel emhttp: Restart SMB...

May 9 22:20:23 Rigel emhttp: shcmd (93): killall -HUP smbd

May 9 22:20:23 Rigel emhttp: shcmd (94): ps axc | grep -q rpc.mountd

May 9 22:20:23 Rigel emhttp: Restart NFS...

May 9 22:20:23 Rigel emhttp: shcmd (95): exportfs -ra |& logger

May 9 22:20:23 Rigel emhttp: shcmd (96): /usr/local/sbin/emhttp_event svcs_restarted

May 9 22:20:23 Rigel emhttp_event: svcs_restarted

May 9 22:30:01 Rigel mountd[30694]: refused mount request from 192.168.1.115 for /mnt/usr/VM_DATASTORE_T1 (/): not exported

 

 

It is NOT shared out via SMB at the moment (would like to keep it that way), and perhaps worth noting that I did initially create it with Secure then switched to Private, and now on Public

 

CFG from Unraid:

# Generated settings:

shareComment="Tier 1 Data store"

shareInclude=""

shareExclude="disk3"

shareUseCache="no"

shareAllocator="highwater"

shareSplitLevel="1"

shareFloor="0"

shareExport="-"

shareSecurity="public"

shareReadList=""

shareWriteList=""

shareExportNFS="e"

shareExportNFSFsid="100"

shareSecurityNFS="public"

shareHostListNFS=""

shareExportAFP="-"

shareSecurityAFP="public"

shareReadListAFP=""

shareWriteListAFP=""

shareVolsizelimitAFP=""

 

any clue what i'm doing wrong?

Link to comment
  • 4 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.