fstab does not mount automatically a NFS remote folderHow to edit /etc/fstab properly for network...

Could a Weapon of Mass Destruction, targeting only humans, be developed?

Who gets an Apparition licence?

Averting Real Women Don’t Wear Dresses

One folder two different locations on ubuntu 18.04

Convergenge or divergence of series with e

Is there reliable evidence that depleted uranium from the 1999 NATO bombing is causing cancer in Serbia?

Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?

Can someone break into a Leomund's Tiny Hut via the Ethereal Plane?

cannot execute script while its permission is 'x'

How can I reduce the sound of rain on a range hood vent?

How exactly is a normal force exerted, at the molecular level?

What does Mildred mean by this line in Three Billboards Outside Ebbing, Missouri?

Details of video memory access arbitration in Space Invaders

Mean Value Theorem: Continuous or Defined?

Are these intended activities legal to do in the USA under the VWP?

Does Anosov geodesic flow imply asphericity?

Understanding Lasso Regression's sparsity geometrically

Why do I need two parameters in an HTTP parameter pollution attack?

Can the passive "être + verbe" sometimes mean the past?

Why don't all electrons contribute to total orbital angular momentum of an atom?

Why won't the ground take my seed?

Should I report a leak of confidential HR information?

Most elegant way to write a one shot IF

How would an order of Monks that renounce their names communicate effectively?



fstab does not mount automatically a NFS remote folder


How to edit /etc/fstab properly for network drive?mounting by default at startup with /etc/fstab doesn't workNFS File Sync on MountMount remote home directoriesUnstable mount with CIFS and NFSRPC Authentication Error when mounting NFSCopies to NFS server write to mount point, not to mounted drivenfs nested mounts fail on client sideNFS mount: can't find file in /etc/fstabCheck from Client if NFS is running on ServerMount nfs hangs clientNFS mount on client not matching what's exported on the server






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I do not manage to get a remote directory automatically mounted during bootstrap. I am using the NFS protocol under Ubuntu 14.04 LTS. The server is 192.168.1.1 and the client is 192.168.1.2



The setting in /etc/exports at the server side is



/home/export 192.168.1.2(ro,no_root_squash,sync)



Although the homeuser directory at the client side is, note that all directories mentioned in this post are not encrypted. The server computer is always on, and the two machines can ping each other. Also note that, in both machines, the home directory is mounted on an own partition.



The command line works well and I can see the remote content at the mount point after
sudo mount 192.168.1.1:/home/export /home/import/server1.





Like in How to edit /etc/fstab properly for network drive?
I want to mount a network drive by editing /etc/fstab. However, when I add any one of those lines to /etc/fstab



[1] 192.168.1.1:/home/export /home/import/server1 nfs rsize=8192,wsize=8192,timeo=14 0 0



[2] 192.168.1.1:/home/export /home/import/server1 nfs auto 0 0



[3] 192.168.1.1:/home/export /home/import/server1 nfs auto, rsize=8192,wsize=8192,timeo=14 0 0



[4] 192.168.1.1:/home/export /home/import/server1 nfs defaults 0 0



I need to launch a sudo mount -a manually to get the view on the server side. This defies my expectations and those from this U&L post as well.



How can I get the auto-mounting capability running on its own feet?





Inspirations/copy-catting disclosed:



[1] https://help.ubuntu.com/14.04/serverguide/network-file-system.html



[2] https://help.ubuntu.com/community/SettingUpNFSHowTo#Mounting_NFS_shares_in_encrypted_home_won.27t_work_on_boot



[3] = [1] + [2]



[4] mimicking the mount options of the local device partitions in etc/fstab










share|improve this question

























  • Have you dug into boot / error logs? There might be useful messages there. Also what kind of network connectivity do you have? I suspect it does not work because your network is not online when the mount is attempted but that's just an educated guess.

    – Olivier
    Dec 20 '16 at 14:33











  • @Olivier Could you please give direction to which files I should look into? Also note that, in both machines, the home directory is mounted on an own partition, so perhaps mounting homeexports* afterwards from etcfstable suffers from this nesting... (new info added to the question)

    – XavierStuvw
    Dec 20 '16 at 14:45













  • should be something like /var/log/boot.log on ubuntu 14 but I think Sagar has the answer to your problem already. _netdev will let the boot system know to wait until the network is working to do the mount.

    – Olivier
    Dec 20 '16 at 14:58













  • @Olivier /var/log/boot.org shows only one suspicious fail at line 1 * Starting Read required files in advance[234G[[31mfail[39;49m], all the other operations featuring mounting and network are [ OK ]. One other fail deals with printers and a NSM status monitor. Sagar's solution to this moment is not effective either.

    – XavierStuvw
    Dec 20 '16 at 17:58













  • Try adding bg to your mount options in /etc/fstab.

    – Olivier
    Dec 20 '16 at 21:04


















1















I do not manage to get a remote directory automatically mounted during bootstrap. I am using the NFS protocol under Ubuntu 14.04 LTS. The server is 192.168.1.1 and the client is 192.168.1.2



The setting in /etc/exports at the server side is



/home/export 192.168.1.2(ro,no_root_squash,sync)



Although the homeuser directory at the client side is, note that all directories mentioned in this post are not encrypted. The server computer is always on, and the two machines can ping each other. Also note that, in both machines, the home directory is mounted on an own partition.



The command line works well and I can see the remote content at the mount point after
sudo mount 192.168.1.1:/home/export /home/import/server1.





Like in How to edit /etc/fstab properly for network drive?
I want to mount a network drive by editing /etc/fstab. However, when I add any one of those lines to /etc/fstab



[1] 192.168.1.1:/home/export /home/import/server1 nfs rsize=8192,wsize=8192,timeo=14 0 0



[2] 192.168.1.1:/home/export /home/import/server1 nfs auto 0 0



[3] 192.168.1.1:/home/export /home/import/server1 nfs auto, rsize=8192,wsize=8192,timeo=14 0 0



[4] 192.168.1.1:/home/export /home/import/server1 nfs defaults 0 0



I need to launch a sudo mount -a manually to get the view on the server side. This defies my expectations and those from this U&L post as well.



How can I get the auto-mounting capability running on its own feet?





Inspirations/copy-catting disclosed:



[1] https://help.ubuntu.com/14.04/serverguide/network-file-system.html



[2] https://help.ubuntu.com/community/SettingUpNFSHowTo#Mounting_NFS_shares_in_encrypted_home_won.27t_work_on_boot



[3] = [1] + [2]



[4] mimicking the mount options of the local device partitions in etc/fstab










share|improve this question

























  • Have you dug into boot / error logs? There might be useful messages there. Also what kind of network connectivity do you have? I suspect it does not work because your network is not online when the mount is attempted but that's just an educated guess.

    – Olivier
    Dec 20 '16 at 14:33











  • @Olivier Could you please give direction to which files I should look into? Also note that, in both machines, the home directory is mounted on an own partition, so perhaps mounting homeexports* afterwards from etcfstable suffers from this nesting... (new info added to the question)

    – XavierStuvw
    Dec 20 '16 at 14:45













  • should be something like /var/log/boot.log on ubuntu 14 but I think Sagar has the answer to your problem already. _netdev will let the boot system know to wait until the network is working to do the mount.

    – Olivier
    Dec 20 '16 at 14:58













  • @Olivier /var/log/boot.org shows only one suspicious fail at line 1 * Starting Read required files in advance[234G[[31mfail[39;49m], all the other operations featuring mounting and network are [ OK ]. One other fail deals with printers and a NSM status monitor. Sagar's solution to this moment is not effective either.

    – XavierStuvw
    Dec 20 '16 at 17:58













  • Try adding bg to your mount options in /etc/fstab.

    – Olivier
    Dec 20 '16 at 21:04














1












1








1








I do not manage to get a remote directory automatically mounted during bootstrap. I am using the NFS protocol under Ubuntu 14.04 LTS. The server is 192.168.1.1 and the client is 192.168.1.2



The setting in /etc/exports at the server side is



/home/export 192.168.1.2(ro,no_root_squash,sync)



Although the homeuser directory at the client side is, note that all directories mentioned in this post are not encrypted. The server computer is always on, and the two machines can ping each other. Also note that, in both machines, the home directory is mounted on an own partition.



The command line works well and I can see the remote content at the mount point after
sudo mount 192.168.1.1:/home/export /home/import/server1.





Like in How to edit /etc/fstab properly for network drive?
I want to mount a network drive by editing /etc/fstab. However, when I add any one of those lines to /etc/fstab



[1] 192.168.1.1:/home/export /home/import/server1 nfs rsize=8192,wsize=8192,timeo=14 0 0



[2] 192.168.1.1:/home/export /home/import/server1 nfs auto 0 0



[3] 192.168.1.1:/home/export /home/import/server1 nfs auto, rsize=8192,wsize=8192,timeo=14 0 0



[4] 192.168.1.1:/home/export /home/import/server1 nfs defaults 0 0



I need to launch a sudo mount -a manually to get the view on the server side. This defies my expectations and those from this U&L post as well.



How can I get the auto-mounting capability running on its own feet?





Inspirations/copy-catting disclosed:



[1] https://help.ubuntu.com/14.04/serverguide/network-file-system.html



[2] https://help.ubuntu.com/community/SettingUpNFSHowTo#Mounting_NFS_shares_in_encrypted_home_won.27t_work_on_boot



[3] = [1] + [2]



[4] mimicking the mount options of the local device partitions in etc/fstab










share|improve this question
















I do not manage to get a remote directory automatically mounted during bootstrap. I am using the NFS protocol under Ubuntu 14.04 LTS. The server is 192.168.1.1 and the client is 192.168.1.2



The setting in /etc/exports at the server side is



/home/export 192.168.1.2(ro,no_root_squash,sync)



Although the homeuser directory at the client side is, note that all directories mentioned in this post are not encrypted. The server computer is always on, and the two machines can ping each other. Also note that, in both machines, the home directory is mounted on an own partition.



The command line works well and I can see the remote content at the mount point after
sudo mount 192.168.1.1:/home/export /home/import/server1.





Like in How to edit /etc/fstab properly for network drive?
I want to mount a network drive by editing /etc/fstab. However, when I add any one of those lines to /etc/fstab



[1] 192.168.1.1:/home/export /home/import/server1 nfs rsize=8192,wsize=8192,timeo=14 0 0



[2] 192.168.1.1:/home/export /home/import/server1 nfs auto 0 0



[3] 192.168.1.1:/home/export /home/import/server1 nfs auto, rsize=8192,wsize=8192,timeo=14 0 0



[4] 192.168.1.1:/home/export /home/import/server1 nfs defaults 0 0



I need to launch a sudo mount -a manually to get the view on the server side. This defies my expectations and those from this U&L post as well.



How can I get the auto-mounting capability running on its own feet?





Inspirations/copy-catting disclosed:



[1] https://help.ubuntu.com/14.04/serverguide/network-file-system.html



[2] https://help.ubuntu.com/community/SettingUpNFSHowTo#Mounting_NFS_shares_in_encrypted_home_won.27t_work_on_boot



[3] = [1] + [2]



[4] mimicking the mount options of the local device partitions in etc/fstab







nfs fstab automounting






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:36









Community

1




1










asked Dec 20 '16 at 14:02









XavierStuvwXavierStuvw

4042 gold badges9 silver badges30 bronze badges




4042 gold badges9 silver badges30 bronze badges













  • Have you dug into boot / error logs? There might be useful messages there. Also what kind of network connectivity do you have? I suspect it does not work because your network is not online when the mount is attempted but that's just an educated guess.

    – Olivier
    Dec 20 '16 at 14:33











  • @Olivier Could you please give direction to which files I should look into? Also note that, in both machines, the home directory is mounted on an own partition, so perhaps mounting homeexports* afterwards from etcfstable suffers from this nesting... (new info added to the question)

    – XavierStuvw
    Dec 20 '16 at 14:45













  • should be something like /var/log/boot.log on ubuntu 14 but I think Sagar has the answer to your problem already. _netdev will let the boot system know to wait until the network is working to do the mount.

    – Olivier
    Dec 20 '16 at 14:58













  • @Olivier /var/log/boot.org shows only one suspicious fail at line 1 * Starting Read required files in advance[234G[[31mfail[39;49m], all the other operations featuring mounting and network are [ OK ]. One other fail deals with printers and a NSM status monitor. Sagar's solution to this moment is not effective either.

    – XavierStuvw
    Dec 20 '16 at 17:58













  • Try adding bg to your mount options in /etc/fstab.

    – Olivier
    Dec 20 '16 at 21:04



















  • Have you dug into boot / error logs? There might be useful messages there. Also what kind of network connectivity do you have? I suspect it does not work because your network is not online when the mount is attempted but that's just an educated guess.

    – Olivier
    Dec 20 '16 at 14:33











  • @Olivier Could you please give direction to which files I should look into? Also note that, in both machines, the home directory is mounted on an own partition, so perhaps mounting homeexports* afterwards from etcfstable suffers from this nesting... (new info added to the question)

    – XavierStuvw
    Dec 20 '16 at 14:45













  • should be something like /var/log/boot.log on ubuntu 14 but I think Sagar has the answer to your problem already. _netdev will let the boot system know to wait until the network is working to do the mount.

    – Olivier
    Dec 20 '16 at 14:58













  • @Olivier /var/log/boot.org shows only one suspicious fail at line 1 * Starting Read required files in advance[234G[[31mfail[39;49m], all the other operations featuring mounting and network are [ OK ]. One other fail deals with printers and a NSM status monitor. Sagar's solution to this moment is not effective either.

    – XavierStuvw
    Dec 20 '16 at 17:58













  • Try adding bg to your mount options in /etc/fstab.

    – Olivier
    Dec 20 '16 at 21:04

















Have you dug into boot / error logs? There might be useful messages there. Also what kind of network connectivity do you have? I suspect it does not work because your network is not online when the mount is attempted but that's just an educated guess.

– Olivier
Dec 20 '16 at 14:33





Have you dug into boot / error logs? There might be useful messages there. Also what kind of network connectivity do you have? I suspect it does not work because your network is not online when the mount is attempted but that's just an educated guess.

– Olivier
Dec 20 '16 at 14:33













@Olivier Could you please give direction to which files I should look into? Also note that, in both machines, the home directory is mounted on an own partition, so perhaps mounting homeexports* afterwards from etcfstable suffers from this nesting... (new info added to the question)

– XavierStuvw
Dec 20 '16 at 14:45







@Olivier Could you please give direction to which files I should look into? Also note that, in both machines, the home directory is mounted on an own partition, so perhaps mounting homeexports* afterwards from etcfstable suffers from this nesting... (new info added to the question)

– XavierStuvw
Dec 20 '16 at 14:45















should be something like /var/log/boot.log on ubuntu 14 but I think Sagar has the answer to your problem already. _netdev will let the boot system know to wait until the network is working to do the mount.

– Olivier
Dec 20 '16 at 14:58







should be something like /var/log/boot.log on ubuntu 14 but I think Sagar has the answer to your problem already. _netdev will let the boot system know to wait until the network is working to do the mount.

– Olivier
Dec 20 '16 at 14:58















@Olivier /var/log/boot.org shows only one suspicious fail at line 1 * Starting Read required files in advance[234G[[31mfail[39;49m], all the other operations featuring mounting and network are [ OK ]. One other fail deals with printers and a NSM status monitor. Sagar's solution to this moment is not effective either.

– XavierStuvw
Dec 20 '16 at 17:58







@Olivier /var/log/boot.org shows only one suspicious fail at line 1 * Starting Read required files in advance[234G[[31mfail[39;49m], all the other operations featuring mounting and network are [ OK ]. One other fail deals with printers and a NSM status monitor. Sagar's solution to this moment is not effective either.

– XavierStuvw
Dec 20 '16 at 17:58















Try adding bg to your mount options in /etc/fstab.

– Olivier
Dec 20 '16 at 21:04





Try adding bg to your mount options in /etc/fstab.

– Olivier
Dec 20 '16 at 21:04










2 Answers
2






active

oldest

votes


















3














If your mount -a option works then you should add _netdev in fstab.



192.168.1.1:/home/export /home/import/server1 nfs defaults,_netdev 0 0



Also make sure for "chkconfig netfs on"






share|improve this answer
























  • Nope, unfortunately. After your line I still need to launch sudo mount -a to get the mounting done. Also, chkconfig is no package supported by Ubuntu, if I am not wrong (I myself had launched a sudo service nfs-kernel-server start earlier -- but that's on the server's side anyhow, I believe, while I am struggling at the client's side)

    – XavierStuvw
    Dec 20 '16 at 17:40













  • Please share your boot logs. _netdev is for network device and mounts the device once network service is up.

    – Sagar
    Dec 22 '16 at 2:26











  • Also share output of "tail -1 /etc/mtab " after firing sudo mount -a.

    – Sagar
    Dec 22 '16 at 2:33





















0














[1] Create a file at:




/etc/network/if-up.d/fstab




[2] Add this to it:



#!/bin/sh
mount -a


[3] Make the file executable:



sudo chmod +x /etc/network/if-up.d/fstab


From this answer https://ubuntuforums.org/showthread.php?t=2392742






share|improve this answer








New contributor



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






















    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f331663%2ffstab-does-not-mount-automatically-a-nfs-remote-folder%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    If your mount -a option works then you should add _netdev in fstab.



    192.168.1.1:/home/export /home/import/server1 nfs defaults,_netdev 0 0



    Also make sure for "chkconfig netfs on"






    share|improve this answer
























    • Nope, unfortunately. After your line I still need to launch sudo mount -a to get the mounting done. Also, chkconfig is no package supported by Ubuntu, if I am not wrong (I myself had launched a sudo service nfs-kernel-server start earlier -- but that's on the server's side anyhow, I believe, while I am struggling at the client's side)

      – XavierStuvw
      Dec 20 '16 at 17:40













    • Please share your boot logs. _netdev is for network device and mounts the device once network service is up.

      – Sagar
      Dec 22 '16 at 2:26











    • Also share output of "tail -1 /etc/mtab " after firing sudo mount -a.

      – Sagar
      Dec 22 '16 at 2:33


















    3














    If your mount -a option works then you should add _netdev in fstab.



    192.168.1.1:/home/export /home/import/server1 nfs defaults,_netdev 0 0



    Also make sure for "chkconfig netfs on"






    share|improve this answer
























    • Nope, unfortunately. After your line I still need to launch sudo mount -a to get the mounting done. Also, chkconfig is no package supported by Ubuntu, if I am not wrong (I myself had launched a sudo service nfs-kernel-server start earlier -- but that's on the server's side anyhow, I believe, while I am struggling at the client's side)

      – XavierStuvw
      Dec 20 '16 at 17:40













    • Please share your boot logs. _netdev is for network device and mounts the device once network service is up.

      – Sagar
      Dec 22 '16 at 2:26











    • Also share output of "tail -1 /etc/mtab " after firing sudo mount -a.

      – Sagar
      Dec 22 '16 at 2:33
















    3












    3








    3







    If your mount -a option works then you should add _netdev in fstab.



    192.168.1.1:/home/export /home/import/server1 nfs defaults,_netdev 0 0



    Also make sure for "chkconfig netfs on"






    share|improve this answer













    If your mount -a option works then you should add _netdev in fstab.



    192.168.1.1:/home/export /home/import/server1 nfs defaults,_netdev 0 0



    Also make sure for "chkconfig netfs on"







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 20 '16 at 14:49









    SagarSagar

    1681 silver badge10 bronze badges




    1681 silver badge10 bronze badges













    • Nope, unfortunately. After your line I still need to launch sudo mount -a to get the mounting done. Also, chkconfig is no package supported by Ubuntu, if I am not wrong (I myself had launched a sudo service nfs-kernel-server start earlier -- but that's on the server's side anyhow, I believe, while I am struggling at the client's side)

      – XavierStuvw
      Dec 20 '16 at 17:40













    • Please share your boot logs. _netdev is for network device and mounts the device once network service is up.

      – Sagar
      Dec 22 '16 at 2:26











    • Also share output of "tail -1 /etc/mtab " after firing sudo mount -a.

      – Sagar
      Dec 22 '16 at 2:33





















    • Nope, unfortunately. After your line I still need to launch sudo mount -a to get the mounting done. Also, chkconfig is no package supported by Ubuntu, if I am not wrong (I myself had launched a sudo service nfs-kernel-server start earlier -- but that's on the server's side anyhow, I believe, while I am struggling at the client's side)

      – XavierStuvw
      Dec 20 '16 at 17:40













    • Please share your boot logs. _netdev is for network device and mounts the device once network service is up.

      – Sagar
      Dec 22 '16 at 2:26











    • Also share output of "tail -1 /etc/mtab " after firing sudo mount -a.

      – Sagar
      Dec 22 '16 at 2:33



















    Nope, unfortunately. After your line I still need to launch sudo mount -a to get the mounting done. Also, chkconfig is no package supported by Ubuntu, if I am not wrong (I myself had launched a sudo service nfs-kernel-server start earlier -- but that's on the server's side anyhow, I believe, while I am struggling at the client's side)

    – XavierStuvw
    Dec 20 '16 at 17:40







    Nope, unfortunately. After your line I still need to launch sudo mount -a to get the mounting done. Also, chkconfig is no package supported by Ubuntu, if I am not wrong (I myself had launched a sudo service nfs-kernel-server start earlier -- but that's on the server's side anyhow, I believe, while I am struggling at the client's side)

    – XavierStuvw
    Dec 20 '16 at 17:40















    Please share your boot logs. _netdev is for network device and mounts the device once network service is up.

    – Sagar
    Dec 22 '16 at 2:26





    Please share your boot logs. _netdev is for network device and mounts the device once network service is up.

    – Sagar
    Dec 22 '16 at 2:26













    Also share output of "tail -1 /etc/mtab " after firing sudo mount -a.

    – Sagar
    Dec 22 '16 at 2:33







    Also share output of "tail -1 /etc/mtab " after firing sudo mount -a.

    – Sagar
    Dec 22 '16 at 2:33















    0














    [1] Create a file at:




    /etc/network/if-up.d/fstab




    [2] Add this to it:



    #!/bin/sh
    mount -a


    [3] Make the file executable:



    sudo chmod +x /etc/network/if-up.d/fstab


    From this answer https://ubuntuforums.org/showthread.php?t=2392742






    share|improve this answer








    New contributor



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
























      0














      [1] Create a file at:




      /etc/network/if-up.d/fstab




      [2] Add this to it:



      #!/bin/sh
      mount -a


      [3] Make the file executable:



      sudo chmod +x /etc/network/if-up.d/fstab


      From this answer https://ubuntuforums.org/showthread.php?t=2392742






      share|improve this answer








      New contributor



      LiberiFatali 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







        [1] Create a file at:




        /etc/network/if-up.d/fstab




        [2] Add this to it:



        #!/bin/sh
        mount -a


        [3] Make the file executable:



        sudo chmod +x /etc/network/if-up.d/fstab


        From this answer https://ubuntuforums.org/showthread.php?t=2392742






        share|improve this answer








        New contributor



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









        [1] Create a file at:




        /etc/network/if-up.d/fstab




        [2] Add this to it:



        #!/bin/sh
        mount -a


        [3] Make the file executable:



        sudo chmod +x /etc/network/if-up.d/fstab


        From this answer https://ubuntuforums.org/showthread.php?t=2392742







        share|improve this answer








        New contributor



        LiberiFatali 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 answer



        share|improve this answer






        New contributor



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








        answered 1 hour ago









        LiberiFataliLiberiFatali

        11 bronze badge




        11 bronze badge




        New contributor



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




        New contributor




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
































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f331663%2ffstab-does-not-mount-automatically-a-nfs-remote-folder%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

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m