can't access freenas nfs share from linux mint

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I recently built my first FreeNas box, created a couple of volumes and datasets, and nfs and smb shares. I am struggling with the nfs shares.



I have 2 shares, one is a global share anyone on my network can use and permissions are set on the share (via Sharing -> NFS -> MapAll User = nobody, MapAll Group = nogroup). This works and I can edit/create/delete files and folders.



The other share I want to create for private access, ie. only I can access. I have the Mapall User = myusername, Mapall Group = myusergroup, I have matched the user id number from my computer to the freenas box, I have also set the volume permissions as myusername rwx, myusergroup rwx, other ---. Nothing I do aside from set the permissions to nobody/nogroup works. When the shares are mounted when I log in, there is nothing in my private share.



In my fstab I have tried both of these but with the same result - permission denied. I can remote into the freenas machine as my user and edit/delete inside the private volume but would rather access as normal, mounted and thru the UI.



attempted fstab on client:



my-NAS:/mnt/Data_Storage /media/Data_Storage nfs rw,hard,intr,noauto,user 0 0
my-NAS:/mnt/Data_Storage /media/Data_Storage nfs rw,hard,intr,auto 0 0


results of ls -l on freenas with notes added (-->)



drwxrwx--- 4 username username 4 Sep 29 22:11 a_private 
--> cannot access/edit
--> mapall user = username, mapall group = username
drwxr-xrwx 11 root wheel 11 Oct 1 21:12 shared
--> can access/edit
--> mapall user = nobody, mapall group = nogroup









share|improve this question















migrated from stackoverflow.com Oct 4 '17 at 9:10


This question came from our site for professional and enthusiast programmers.


















    up vote
    0
    down vote

    favorite












    I recently built my first FreeNas box, created a couple of volumes and datasets, and nfs and smb shares. I am struggling with the nfs shares.



    I have 2 shares, one is a global share anyone on my network can use and permissions are set on the share (via Sharing -> NFS -> MapAll User = nobody, MapAll Group = nogroup). This works and I can edit/create/delete files and folders.



    The other share I want to create for private access, ie. only I can access. I have the Mapall User = myusername, Mapall Group = myusergroup, I have matched the user id number from my computer to the freenas box, I have also set the volume permissions as myusername rwx, myusergroup rwx, other ---. Nothing I do aside from set the permissions to nobody/nogroup works. When the shares are mounted when I log in, there is nothing in my private share.



    In my fstab I have tried both of these but with the same result - permission denied. I can remote into the freenas machine as my user and edit/delete inside the private volume but would rather access as normal, mounted and thru the UI.



    attempted fstab on client:



    my-NAS:/mnt/Data_Storage /media/Data_Storage nfs rw,hard,intr,noauto,user 0 0
    my-NAS:/mnt/Data_Storage /media/Data_Storage nfs rw,hard,intr,auto 0 0


    results of ls -l on freenas with notes added (-->)



    drwxrwx--- 4 username username 4 Sep 29 22:11 a_private 
    --> cannot access/edit
    --> mapall user = username, mapall group = username
    drwxr-xrwx 11 root wheel 11 Oct 1 21:12 shared
    --> can access/edit
    --> mapall user = nobody, mapall group = nogroup









    share|improve this question















    migrated from stackoverflow.com Oct 4 '17 at 9:10


    This question came from our site for professional and enthusiast programmers.
















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I recently built my first FreeNas box, created a couple of volumes and datasets, and nfs and smb shares. I am struggling with the nfs shares.



      I have 2 shares, one is a global share anyone on my network can use and permissions are set on the share (via Sharing -> NFS -> MapAll User = nobody, MapAll Group = nogroup). This works and I can edit/create/delete files and folders.



      The other share I want to create for private access, ie. only I can access. I have the Mapall User = myusername, Mapall Group = myusergroup, I have matched the user id number from my computer to the freenas box, I have also set the volume permissions as myusername rwx, myusergroup rwx, other ---. Nothing I do aside from set the permissions to nobody/nogroup works. When the shares are mounted when I log in, there is nothing in my private share.



      In my fstab I have tried both of these but with the same result - permission denied. I can remote into the freenas machine as my user and edit/delete inside the private volume but would rather access as normal, mounted and thru the UI.



      attempted fstab on client:



      my-NAS:/mnt/Data_Storage /media/Data_Storage nfs rw,hard,intr,noauto,user 0 0
      my-NAS:/mnt/Data_Storage /media/Data_Storage nfs rw,hard,intr,auto 0 0


      results of ls -l on freenas with notes added (-->)



      drwxrwx--- 4 username username 4 Sep 29 22:11 a_private 
      --> cannot access/edit
      --> mapall user = username, mapall group = username
      drwxr-xrwx 11 root wheel 11 Oct 1 21:12 shared
      --> can access/edit
      --> mapall user = nobody, mapall group = nogroup









      share|improve this question















      I recently built my first FreeNas box, created a couple of volumes and datasets, and nfs and smb shares. I am struggling with the nfs shares.



      I have 2 shares, one is a global share anyone on my network can use and permissions are set on the share (via Sharing -> NFS -> MapAll User = nobody, MapAll Group = nogroup). This works and I can edit/create/delete files and folders.



      The other share I want to create for private access, ie. only I can access. I have the Mapall User = myusername, Mapall Group = myusergroup, I have matched the user id number from my computer to the freenas box, I have also set the volume permissions as myusername rwx, myusergroup rwx, other ---. Nothing I do aside from set the permissions to nobody/nogroup works. When the shares are mounted when I log in, there is nothing in my private share.



      In my fstab I have tried both of these but with the same result - permission denied. I can remote into the freenas machine as my user and edit/delete inside the private volume but would rather access as normal, mounted and thru the UI.



      attempted fstab on client:



      my-NAS:/mnt/Data_Storage /media/Data_Storage nfs rw,hard,intr,noauto,user 0 0
      my-NAS:/mnt/Data_Storage /media/Data_Storage nfs rw,hard,intr,auto 0 0


      results of ls -l on freenas with notes added (-->)



      drwxrwx--- 4 username username 4 Sep 29 22:11 a_private 
      --> cannot access/edit
      --> mapall user = username, mapall group = username
      drwxr-xrwx 11 root wheel 11 Oct 1 21:12 shared
      --> can access/edit
      --> mapall user = nobody, mapall group = nogroup






      linux ubuntu nfs fstab






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 hours ago









      Rui F Ribeiro

      36.3k1271116




      36.3k1271116










      asked Oct 4 '17 at 3:51







      Bulsatar











      migrated from stackoverflow.com Oct 4 '17 at 9:10


      This question came from our site for professional and enthusiast programmers.






      migrated from stackoverflow.com Oct 4 '17 at 9:10


      This question came from our site for professional and enthusiast programmers.



























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396006%2fcant-access-freenas-nfs-share-from-linux-mint%23new-answer', 'question_page');

          );

          Post as a guest


































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396006%2fcant-access-freenas-nfs-share-from-linux-mint%23new-answer', 'question_page');

          );

          Post as a guest