mount.nfs succeed only through /etc/fstab and not for /nfs/general between Ubuntu 18.04.01 Server and Ubuntu...

Paper published similar to PhD thesis

When to use the term transposed instead of modulation?

How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?

PTIJ: Aliyot for the deceased

Replacing tantalum capacitor with ceramic capacitor for Op Amps

ESPP--any reason not to go all in?

Remove object from array based on array of some property of that object

What is Tony Stark injecting into himself in Iron Man 3?

What does it mean when I add a new variable to my linear model and the R^2 stays the same?

A bug in Excel? Conditional formatting for marking duplicates also highlights unique value

Why is my explanation wrong?

Is there a math expression equivalent to the conditional ternary operator?

Computing the volume of a simplex-like object with constraints

I can't die. Who am I?

Did Amazon pay $0 in taxes last year?

Why do phishing e-mails use faked e-mail addresses instead of the real one?

What is better: yes / no radio, or simple checkbox?

Why is there an extra space when I type "ls" on the Desktop?

Should we avoid writing fiction about historical events without extensive research?

Is divide-by-zero a security vulnerability?

What can I do if someone tampers with my SSH public key?

If nine coins are tossed, what is the probability that the number of heads is even?

What does "rhumatis" mean?

School performs periodic password audits. Is my password compromised?



mount.nfs succeed only through /etc/fstab and not for /nfs/general between Ubuntu 18.04.01 Server and Ubuntu 18.04.02 Desktop


nfs /etc/fstab doesn't mount on startup: ubuntu / xbmcioctl LOOP_SET_FD failed: Device or resource busySetting up nfs between Fedora 21 server and Rasperry Pi running OpenELECError mounting NFS unit between synology server and Raspberry Pi clientBest NFS settings for media streaming between CentOS 7 and QNAP













0















I succeeded in sharing /home directory with NFS between my PC with Ubuntu 18.04.01 Server Edition and my laptop with Ubuntu 18.04.02 Desktop through /etc/fstab :



riccardo@riccardo-HP-Laptop-15-da0xxx:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7,8G 0 7,8G 0% /dev
tmpfs 1,6G 2,0M 1,6G 1% /run
/dev/nvme0n1p2 234G 28G 194G 13% /
tmpfs 7,8G 33M 7,8G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
/dev/loop0 36M 36M 0 100% /snap/gtk-common-themes/1198
/dev/nvme0n1p1 511M 6,1M 505M 2% /boot/efi
tmpfs 1,6G 16K 1,6G 1% /run/user/121
192.168.1.7:/home 371G 22G 334G 7% /nfs/home
tmpfs 1,6G 24K 1,6G 1% /run/user/1000


This is the fstab in the laptop:



riccardo@riccardo-HP-Laptop-15-da0xxx:~$ nano /etc/fstab
192.168.1.7:/var/nfs/general /nfs/general nfs
auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
192.168.1.7:/home /nfs/home nfs
auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0/


And this is /etc/hosts in the laptop:



27.0.0.1       localhost
127.0.1.1 riccardo-HP-Laptop-15-da0xxx

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
192.168.1.7 pc0


while the /etc/hosts in the PC is:



127.0.0.1       localhost.localdomain   localhost
::1 localhost6.localdomain6 localhost6

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
192.168.1.5/24 riccardohp


I have 2 questions:




  1. Why, despite being in /etc/fstab , 192:168.1.7:/nfs/general doesn't appear in
    the laptop's resources with df -h ?



  2. Without adding the PC's directories within the laptop's /etc/fstab, if
    in PC:



    sudo ufw status
    Status: active

    To Action From
    -- ------ ----
    22/tcp ALLOW Anywhere
    Anywhere ALLOW 192.168.1.1/192.168.1.9
    2049 ALLOW 192.168.1.1/192.168.1.9


    and in /etc/exports :



    /var/nfs/general    192.168.1.5/24(rw,sync,no_subtree_check)
    /home 192.168.1.5/24(rw,sync,no_subtree_check)


    executing in the PC



    sudo systemctl restart nfs-kernel-server


    an then in the laptop



    sudo mount 192.168.1.7:/home/
    mount: 192.168.1.7:/home/: can't find in /etc/fstab.



Update:
after rebooting the laptop for the second time, now with df -h appears also this line:



192.168.1.7:/var/nfs/general


The first question has been"solved".
So waiting for your hints about my second question.
Marco










share|improve this question









New contributor




user2315094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I succeeded in sharing /home directory with NFS between my PC with Ubuntu 18.04.01 Server Edition and my laptop with Ubuntu 18.04.02 Desktop through /etc/fstab :



    riccardo@riccardo-HP-Laptop-15-da0xxx:~$ df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 7,8G 0 7,8G 0% /dev
    tmpfs 1,6G 2,0M 1,6G 1% /run
    /dev/nvme0n1p2 234G 28G 194G 13% /
    tmpfs 7,8G 33M 7,8G 1% /dev/shm
    tmpfs 5,0M 4,0K 5,0M 1% /run/lock
    tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
    /dev/loop0 36M 36M 0 100% /snap/gtk-common-themes/1198
    /dev/nvme0n1p1 511M 6,1M 505M 2% /boot/efi
    tmpfs 1,6G 16K 1,6G 1% /run/user/121
    192.168.1.7:/home 371G 22G 334G 7% /nfs/home
    tmpfs 1,6G 24K 1,6G 1% /run/user/1000


    This is the fstab in the laptop:



    riccardo@riccardo-HP-Laptop-15-da0xxx:~$ nano /etc/fstab
    192.168.1.7:/var/nfs/general /nfs/general nfs
    auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
    192.168.1.7:/home /nfs/home nfs
    auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0/


    And this is /etc/hosts in the laptop:



    27.0.0.1       localhost
    127.0.1.1 riccardo-HP-Laptop-15-da0xxx

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    192.168.1.7 pc0


    while the /etc/hosts in the PC is:



    127.0.0.1       localhost.localdomain   localhost
    ::1 localhost6.localdomain6 localhost6

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    192.168.1.5/24 riccardohp


    I have 2 questions:




    1. Why, despite being in /etc/fstab , 192:168.1.7:/nfs/general doesn't appear in
      the laptop's resources with df -h ?



    2. Without adding the PC's directories within the laptop's /etc/fstab, if
      in PC:



      sudo ufw status
      Status: active

      To Action From
      -- ------ ----
      22/tcp ALLOW Anywhere
      Anywhere ALLOW 192.168.1.1/192.168.1.9
      2049 ALLOW 192.168.1.1/192.168.1.9


      and in /etc/exports :



      /var/nfs/general    192.168.1.5/24(rw,sync,no_subtree_check)
      /home 192.168.1.5/24(rw,sync,no_subtree_check)


      executing in the PC



      sudo systemctl restart nfs-kernel-server


      an then in the laptop



      sudo mount 192.168.1.7:/home/
      mount: 192.168.1.7:/home/: can't find in /etc/fstab.



    Update:
    after rebooting the laptop for the second time, now with df -h appears also this line:



    192.168.1.7:/var/nfs/general


    The first question has been"solved".
    So waiting for your hints about my second question.
    Marco










    share|improve this question









    New contributor




    user2315094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I succeeded in sharing /home directory with NFS between my PC with Ubuntu 18.04.01 Server Edition and my laptop with Ubuntu 18.04.02 Desktop through /etc/fstab :



      riccardo@riccardo-HP-Laptop-15-da0xxx:~$ df -h
      Filesystem Size Used Avail Use% Mounted on
      udev 7,8G 0 7,8G 0% /dev
      tmpfs 1,6G 2,0M 1,6G 1% /run
      /dev/nvme0n1p2 234G 28G 194G 13% /
      tmpfs 7,8G 33M 7,8G 1% /dev/shm
      tmpfs 5,0M 4,0K 5,0M 1% /run/lock
      tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
      /dev/loop0 36M 36M 0 100% /snap/gtk-common-themes/1198
      /dev/nvme0n1p1 511M 6,1M 505M 2% /boot/efi
      tmpfs 1,6G 16K 1,6G 1% /run/user/121
      192.168.1.7:/home 371G 22G 334G 7% /nfs/home
      tmpfs 1,6G 24K 1,6G 1% /run/user/1000


      This is the fstab in the laptop:



      riccardo@riccardo-HP-Laptop-15-da0xxx:~$ nano /etc/fstab
      192.168.1.7:/var/nfs/general /nfs/general nfs
      auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
      192.168.1.7:/home /nfs/home nfs
      auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0/


      And this is /etc/hosts in the laptop:



      27.0.0.1       localhost
      127.0.1.1 riccardo-HP-Laptop-15-da0xxx

      # The following lines are desirable for IPv6 capable hosts
      ::1 ip6-localhost ip6-loopback
      192.168.1.7 pc0


      while the /etc/hosts in the PC is:



      127.0.0.1       localhost.localdomain   localhost
      ::1 localhost6.localdomain6 localhost6

      # The following lines are desirable for IPv6 capable hosts
      ::1 localhost ip6-localhost ip6-loopback
      192.168.1.5/24 riccardohp


      I have 2 questions:




      1. Why, despite being in /etc/fstab , 192:168.1.7:/nfs/general doesn't appear in
        the laptop's resources with df -h ?



      2. Without adding the PC's directories within the laptop's /etc/fstab, if
        in PC:



        sudo ufw status
        Status: active

        To Action From
        -- ------ ----
        22/tcp ALLOW Anywhere
        Anywhere ALLOW 192.168.1.1/192.168.1.9
        2049 ALLOW 192.168.1.1/192.168.1.9


        and in /etc/exports :



        /var/nfs/general    192.168.1.5/24(rw,sync,no_subtree_check)
        /home 192.168.1.5/24(rw,sync,no_subtree_check)


        executing in the PC



        sudo systemctl restart nfs-kernel-server


        an then in the laptop



        sudo mount 192.168.1.7:/home/
        mount: 192.168.1.7:/home/: can't find in /etc/fstab.



      Update:
      after rebooting the laptop for the second time, now with df -h appears also this line:



      192.168.1.7:/var/nfs/general


      The first question has been"solved".
      So waiting for your hints about my second question.
      Marco










      share|improve this question









      New contributor




      user2315094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I succeeded in sharing /home directory with NFS between my PC with Ubuntu 18.04.01 Server Edition and my laptop with Ubuntu 18.04.02 Desktop through /etc/fstab :



      riccardo@riccardo-HP-Laptop-15-da0xxx:~$ df -h
      Filesystem Size Used Avail Use% Mounted on
      udev 7,8G 0 7,8G 0% /dev
      tmpfs 1,6G 2,0M 1,6G 1% /run
      /dev/nvme0n1p2 234G 28G 194G 13% /
      tmpfs 7,8G 33M 7,8G 1% /dev/shm
      tmpfs 5,0M 4,0K 5,0M 1% /run/lock
      tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
      /dev/loop0 36M 36M 0 100% /snap/gtk-common-themes/1198
      /dev/nvme0n1p1 511M 6,1M 505M 2% /boot/efi
      tmpfs 1,6G 16K 1,6G 1% /run/user/121
      192.168.1.7:/home 371G 22G 334G 7% /nfs/home
      tmpfs 1,6G 24K 1,6G 1% /run/user/1000


      This is the fstab in the laptop:



      riccardo@riccardo-HP-Laptop-15-da0xxx:~$ nano /etc/fstab
      192.168.1.7:/var/nfs/general /nfs/general nfs
      auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
      192.168.1.7:/home /nfs/home nfs
      auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0/


      And this is /etc/hosts in the laptop:



      27.0.0.1       localhost
      127.0.1.1 riccardo-HP-Laptop-15-da0xxx

      # The following lines are desirable for IPv6 capable hosts
      ::1 ip6-localhost ip6-loopback
      192.168.1.7 pc0


      while the /etc/hosts in the PC is:



      127.0.0.1       localhost.localdomain   localhost
      ::1 localhost6.localdomain6 localhost6

      # The following lines are desirable for IPv6 capable hosts
      ::1 localhost ip6-localhost ip6-loopback
      192.168.1.5/24 riccardohp


      I have 2 questions:




      1. Why, despite being in /etc/fstab , 192:168.1.7:/nfs/general doesn't appear in
        the laptop's resources with df -h ?



      2. Without adding the PC's directories within the laptop's /etc/fstab, if
        in PC:



        sudo ufw status
        Status: active

        To Action From
        -- ------ ----
        22/tcp ALLOW Anywhere
        Anywhere ALLOW 192.168.1.1/192.168.1.9
        2049 ALLOW 192.168.1.1/192.168.1.9


        and in /etc/exports :



        /var/nfs/general    192.168.1.5/24(rw,sync,no_subtree_check)
        /home 192.168.1.5/24(rw,sync,no_subtree_check)


        executing in the PC



        sudo systemctl restart nfs-kernel-server


        an then in the laptop



        sudo mount 192.168.1.7:/home/
        mount: 192.168.1.7:/home/: can't find in /etc/fstab.



      Update:
      after rebooting the laptop for the second time, now with df -h appears also this line:



      192.168.1.7:/var/nfs/general


      The first question has been"solved".
      So waiting for your hints about my second question.
      Marco







      mount nfs export ubuntu-18.04 fstab






      share|improve this question









      New contributor




      user2315094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      user2315094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 19 hours ago







      user2315094













      New contributor




      user2315094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 20 hours ago









      user2315094user2315094

      12




      12




      New contributor




      user2315094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      user2315094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      user2315094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          user2315094 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1412049%2fmount-nfs-succeed-only-through-etc-fstab-and-not-for-nfs-general-between-ubunt%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          user2315094 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          user2315094 is a new contributor. Be nice, and check out our Code of Conduct.













          user2315094 is a new contributor. Be nice, and check out our Code of Conduct.












          user2315094 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1412049%2fmount-nfs-succeed-only-through-etc-fstab-and-not-for-nfs-general-between-ubunt%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...