axeman Posted May 10, 2013 Share Posted May 10, 2013 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? Quote Link to comment
axeman Posted May 10, 2013 Author Share Posted May 10, 2013 Award for IDIOT of the year goes to me. /mnt/user/ don't know why I thought it's usr not USER. Quote Link to comment
garycase Posted May 11, 2013 Share Posted May 11, 2013 Award for IDIOT of the year goes to me. Apparently you've already missed the nomination period for this year's award ... but if you hurry up and join the club, we could nominate you next year 8) http://www.internationalidiotsclub.org/south-padre/2012/12/nominations-for-the-2012-idiot-of-the-year-award/ Quote Link to comment
axeman Posted May 11, 2013 Author Share Posted May 11, 2013 thanks. i'll make a note of it. Quote Link to comment
devros Posted May 12, 2017 Share Posted May 12, 2017 I just did the same thing. Glad I found this post! Quote Link to comment
axeman Posted May 13, 2017 Author Share Posted May 13, 2017 welcome devros! i'm the idiot from above :-) Quote Link to comment
Recommended Posts
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.