NFS client side empty

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











up vote
0
down vote

favorite












Trying to set up a shared folder between an embeded linux device and my development box. Short version is that the client side folder remains empty even when I create a file on the client side. Below is setup and some testing. I have included some output that I have seen asked for in other similar questsion, (none of which helped me ovbiously) but if there is something else that would be helpful, let me know.



Server Side setup:



 $/mnt/nvme0n1p2$ uname -r
4.13.0-45-generic


/etc/exports has this line at the end. Have tried with/without no_root_squash,crossmnt,nohide



/mnt/nvme0n1p2/ <CLIENT_IP>(rw,sync,no_subtree_check,no_root_squash,crossmnt,nohide)


Shared Folder (permissions were lower, but wanted to rule that out as a problem)



$/mnt$ ls -la
total 16K
drwxr-xr-x 4 root root 4.0K Oct 17 15:01 .
drwxr-xr-x 28 root root 4.0K Jun 26 11:05 ..
drwxrwxrwx 2 root root 4.0K Oct 23 16:39 nvme0n1p2
$cd nvm20n1p2/
$/mnt/nvme0n1p2$ ls
total 4.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile


restart server



/etc/init.d/nfs-kernel-server restart


Client Side setup:



$ uname -r
2.4.26-ts11

$ cd /mnt/host/
$ ls -la
drwxr-xr-x 1 root root 2048 Jan 1 00:41 .
drwxr-xr-x 1 root root 2048 Jan 1 1970 ..

$ mount
...others
$ mount -t nfs <SERVER_IP>:/mnt/nvme0n1p2 /mnt/host
$ mount
...others
<SERVER_IP>:/mnt/nvme0n1p2 on /mnt/host type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=10.0.209.101)

$ cd /mnt/host/
$ ls -la
...Nothing


$ echo "hello" > testfile2
$ ls
...still nothing


But back on the server



$/mnt/nvme0n1p2$ ls
total 8.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
-rw-r--r-- 1 root root 6 Oct 23 16:39 testfile2
$/mnt/nvme0n1p2$ cat testfile2
hello








share

























    up vote
    0
    down vote

    favorite












    Trying to set up a shared folder between an embeded linux device and my development box. Short version is that the client side folder remains empty even when I create a file on the client side. Below is setup and some testing. I have included some output that I have seen asked for in other similar questsion, (none of which helped me ovbiously) but if there is something else that would be helpful, let me know.



    Server Side setup:



     $/mnt/nvme0n1p2$ uname -r
    4.13.0-45-generic


    /etc/exports has this line at the end. Have tried with/without no_root_squash,crossmnt,nohide



    /mnt/nvme0n1p2/ <CLIENT_IP>(rw,sync,no_subtree_check,no_root_squash,crossmnt,nohide)


    Shared Folder (permissions were lower, but wanted to rule that out as a problem)



    $/mnt$ ls -la
    total 16K
    drwxr-xr-x 4 root root 4.0K Oct 17 15:01 .
    drwxr-xr-x 28 root root 4.0K Jun 26 11:05 ..
    drwxrwxrwx 2 root root 4.0K Oct 23 16:39 nvme0n1p2
    $cd nvm20n1p2/
    $/mnt/nvme0n1p2$ ls
    total 4.0K
    -rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile


    restart server



    /etc/init.d/nfs-kernel-server restart


    Client Side setup:



    $ uname -r
    2.4.26-ts11

    $ cd /mnt/host/
    $ ls -la
    drwxr-xr-x 1 root root 2048 Jan 1 00:41 .
    drwxr-xr-x 1 root root 2048 Jan 1 1970 ..

    $ mount
    ...others
    $ mount -t nfs <SERVER_IP>:/mnt/nvme0n1p2 /mnt/host
    $ mount
    ...others
    <SERVER_IP>:/mnt/nvme0n1p2 on /mnt/host type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=10.0.209.101)

    $ cd /mnt/host/
    $ ls -la
    ...Nothing


    $ echo "hello" > testfile2
    $ ls
    ...still nothing


    But back on the server



    $/mnt/nvme0n1p2$ ls
    total 8.0K
    -rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
    -rw-r--r-- 1 root root 6 Oct 23 16:39 testfile2
    $/mnt/nvme0n1p2$ cat testfile2
    hello








    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Trying to set up a shared folder between an embeded linux device and my development box. Short version is that the client side folder remains empty even when I create a file on the client side. Below is setup and some testing. I have included some output that I have seen asked for in other similar questsion, (none of which helped me ovbiously) but if there is something else that would be helpful, let me know.



      Server Side setup:



       $/mnt/nvme0n1p2$ uname -r
      4.13.0-45-generic


      /etc/exports has this line at the end. Have tried with/without no_root_squash,crossmnt,nohide



      /mnt/nvme0n1p2/ <CLIENT_IP>(rw,sync,no_subtree_check,no_root_squash,crossmnt,nohide)


      Shared Folder (permissions were lower, but wanted to rule that out as a problem)



      $/mnt$ ls -la
      total 16K
      drwxr-xr-x 4 root root 4.0K Oct 17 15:01 .
      drwxr-xr-x 28 root root 4.0K Jun 26 11:05 ..
      drwxrwxrwx 2 root root 4.0K Oct 23 16:39 nvme0n1p2
      $cd nvm20n1p2/
      $/mnt/nvme0n1p2$ ls
      total 4.0K
      -rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile


      restart server



      /etc/init.d/nfs-kernel-server restart


      Client Side setup:



      $ uname -r
      2.4.26-ts11

      $ cd /mnt/host/
      $ ls -la
      drwxr-xr-x 1 root root 2048 Jan 1 00:41 .
      drwxr-xr-x 1 root root 2048 Jan 1 1970 ..

      $ mount
      ...others
      $ mount -t nfs <SERVER_IP>:/mnt/nvme0n1p2 /mnt/host
      $ mount
      ...others
      <SERVER_IP>:/mnt/nvme0n1p2 on /mnt/host type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=10.0.209.101)

      $ cd /mnt/host/
      $ ls -la
      ...Nothing


      $ echo "hello" > testfile2
      $ ls
      ...still nothing


      But back on the server



      $/mnt/nvme0n1p2$ ls
      total 8.0K
      -rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
      -rw-r--r-- 1 root root 6 Oct 23 16:39 testfile2
      $/mnt/nvme0n1p2$ cat testfile2
      hello








      share













      Trying to set up a shared folder between an embeded linux device and my development box. Short version is that the client side folder remains empty even when I create a file on the client side. Below is setup and some testing. I have included some output that I have seen asked for in other similar questsion, (none of which helped me ovbiously) but if there is something else that would be helpful, let me know.



      Server Side setup:



       $/mnt/nvme0n1p2$ uname -r
      4.13.0-45-generic


      /etc/exports has this line at the end. Have tried with/without no_root_squash,crossmnt,nohide



      /mnt/nvme0n1p2/ <CLIENT_IP>(rw,sync,no_subtree_check,no_root_squash,crossmnt,nohide)


      Shared Folder (permissions were lower, but wanted to rule that out as a problem)



      $/mnt$ ls -la
      total 16K
      drwxr-xr-x 4 root root 4.0K Oct 17 15:01 .
      drwxr-xr-x 28 root root 4.0K Jun 26 11:05 ..
      drwxrwxrwx 2 root root 4.0K Oct 23 16:39 nvme0n1p2
      $cd nvm20n1p2/
      $/mnt/nvme0n1p2$ ls
      total 4.0K
      -rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile


      restart server



      /etc/init.d/nfs-kernel-server restart


      Client Side setup:



      $ uname -r
      2.4.26-ts11

      $ cd /mnt/host/
      $ ls -la
      drwxr-xr-x 1 root root 2048 Jan 1 00:41 .
      drwxr-xr-x 1 root root 2048 Jan 1 1970 ..

      $ mount
      ...others
      $ mount -t nfs <SERVER_IP>:/mnt/nvme0n1p2 /mnt/host
      $ mount
      ...others
      <SERVER_IP>:/mnt/nvme0n1p2 on /mnt/host type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=10.0.209.101)

      $ cd /mnt/host/
      $ ls -la
      ...Nothing


      $ echo "hello" > testfile2
      $ ls
      ...still nothing


      But back on the server



      $/mnt/nvme0n1p2$ ls
      total 8.0K
      -rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
      -rw-r--r-- 1 root root 6 Oct 23 16:39 testfile2
      $/mnt/nvme0n1p2$ cat testfile2
      hello






      linux nfs embedded





      share












      share










      share



      share










      asked 3 mins ago









      Chad G

      1114




      1114

























          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%2f477381%2fnfs-client-side-empty%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%2f477381%2fnfs-client-side-empty%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?