auto mount by service + service not mount the folder automaticallyAutomount nfs on redhat 7.2 not worksMake...

Multi tool use
Multi tool use

What does the expression "right on the tip of my tongue" mean?

How does Howard Stark know this?

Was there ever any real use for a 6800-based Apple I?

How do I tell my supervisor that he is choosing poor replacements for me while I am on maternity leave?

On what legal basis did the UK remove the 'European Union' from its passport?

What food production methods would allow a metropolis like New York to become self sufficient

Light Switch Terminals

What to do if SUS scores contradict qualitative feedback?

What are the components of a legend (in the sense of a tale, not a figure legend)?

Why doesn't Rocket Lab use a solid stage?

Front derailleur hard to move due to gear cable angle

51% attack - apparently very easy? refering to CZ's "rollback btc chain" - How to make sure such corruptible scenario can never happen so easily?

Can I use my laptop, which says 100-240V, in the USA?

What happens if a creature that would fight isn't on the battlefield anymore?

Are there variations of the regular runtimes of the Big-O-Notation?

Does kinetic energy warp spacetime?

tikz: not so precise graphic

Extracting sublists that contain similar elements

Why is “Ich wusste, dass aus dir mal was wird” grammitally correct?

Does Lawful Interception of 4G / the proposed 5G provide a back door for hackers as well?

Two researchers want to work on the same extension to my paper. Who to help?

Is taking modulus on both sides of an equation valid?

Drawing lines to nearest point

Was this character’s old age look CGI or make-up?



auto mount by service + service not mount the folder automatically


Automount nfs on redhat 7.2 not worksMake systemd reload only single openvpn process and not the whole groupAdding a systemd .service (Debian)Mount NFS share on notebook (wlan)Systemd automount vs autofsInstruct to execute an unit after completing another unit successfullysystemd: finish the execution of custom shell script before starting nginxStopping systemd unit together with another. Starting worksIdle timeout for NFS share mounted with systemd automountWhy is one of my mount units missing `Before=local-fs.target`?Systemd Unit File - WantedBy and After






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







0















we create the following service on redhat version 7.2



more nfsshare.mount
[Unit]
Description=nfs mount script
Requires=network-online.target
After=network-online.service

[Mount]

What=master1:/nfs
Where=/nfsshare
Options=noauto,user,rw,group
Type=nfs
TimeoutIdleSec=10

[Install]
WantedBy=multi-user.target


after restart the service the mount point is mounted as should be



master1:/nfs             41932800 6559744  35373056  16% /nfsshare


now we umount the /nfsshare folder



umount /nfsshare


now we expecting /nfsshare folder will be mounted again
and service will automatically mout the folder



but nothing is happens and folder not mounted



where I am wrong here?



I also try



 more nfsshare.automount
[Unit]
Description=nfs mount script
Requires=network-online.target
After=network-online.service

[Automount]
What=master1:/nfs
Where=/nfsshare
Options=noauto,user,rw,group
Type=nfs
TimeoutIdleSec=10

[Install]
WantedBy=multi-user.target


but this service even not mount the folder after restart










share|improve this question





























    0















    we create the following service on redhat version 7.2



    more nfsshare.mount
    [Unit]
    Description=nfs mount script
    Requires=network-online.target
    After=network-online.service

    [Mount]

    What=master1:/nfs
    Where=/nfsshare
    Options=noauto,user,rw,group
    Type=nfs
    TimeoutIdleSec=10

    [Install]
    WantedBy=multi-user.target


    after restart the service the mount point is mounted as should be



    master1:/nfs             41932800 6559744  35373056  16% /nfsshare


    now we umount the /nfsshare folder



    umount /nfsshare


    now we expecting /nfsshare folder will be mounted again
    and service will automatically mout the folder



    but nothing is happens and folder not mounted



    where I am wrong here?



    I also try



     more nfsshare.automount
    [Unit]
    Description=nfs mount script
    Requires=network-online.target
    After=network-online.service

    [Automount]
    What=master1:/nfs
    Where=/nfsshare
    Options=noauto,user,rw,group
    Type=nfs
    TimeoutIdleSec=10

    [Install]
    WantedBy=multi-user.target


    but this service even not mount the folder after restart










    share|improve this question

























      0












      0








      0








      we create the following service on redhat version 7.2



      more nfsshare.mount
      [Unit]
      Description=nfs mount script
      Requires=network-online.target
      After=network-online.service

      [Mount]

      What=master1:/nfs
      Where=/nfsshare
      Options=noauto,user,rw,group
      Type=nfs
      TimeoutIdleSec=10

      [Install]
      WantedBy=multi-user.target


      after restart the service the mount point is mounted as should be



      master1:/nfs             41932800 6559744  35373056  16% /nfsshare


      now we umount the /nfsshare folder



      umount /nfsshare


      now we expecting /nfsshare folder will be mounted again
      and service will automatically mout the folder



      but nothing is happens and folder not mounted



      where I am wrong here?



      I also try



       more nfsshare.automount
      [Unit]
      Description=nfs mount script
      Requires=network-online.target
      After=network-online.service

      [Automount]
      What=master1:/nfs
      Where=/nfsshare
      Options=noauto,user,rw,group
      Type=nfs
      TimeoutIdleSec=10

      [Install]
      WantedBy=multi-user.target


      but this service even not mount the folder after restart










      share|improve this question














      we create the following service on redhat version 7.2



      more nfsshare.mount
      [Unit]
      Description=nfs mount script
      Requires=network-online.target
      After=network-online.service

      [Mount]

      What=master1:/nfs
      Where=/nfsshare
      Options=noauto,user,rw,group
      Type=nfs
      TimeoutIdleSec=10

      [Install]
      WantedBy=multi-user.target


      after restart the service the mount point is mounted as should be



      master1:/nfs             41932800 6559744  35373056  16% /nfsshare


      now we umount the /nfsshare folder



      umount /nfsshare


      now we expecting /nfsshare folder will be mounted again
      and service will automatically mout the folder



      but nothing is happens and folder not mounted



      where I am wrong here?



      I also try



       more nfsshare.automount
      [Unit]
      Description=nfs mount script
      Requires=network-online.target
      After=network-online.service

      [Automount]
      What=master1:/nfs
      Where=/nfsshare
      Options=noauto,user,rw,group
      Type=nfs
      TimeoutIdleSec=10

      [Install]
      WantedBy=multi-user.target


      but this service even not mount the folder after restart







      linux rhel systemd services systemctl






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 54 mins ago









      yaelyael

      2,84763381




      2,84763381






















          0






          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',
          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%2f518492%2fauto-mount-by-service-service-not-mount-the-folder-automatically%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
















          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%2f518492%2fauto-mount-by-service-service-not-mount-the-folder-automatically%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







          jiuBlQ75ojxb6,XG,JbZuP3nhrmMoZ,J7TEOB,2lzBlggID,Zw9IZppOWOgs1qXB2MyJ,rh4qzV,q31yugTQ ONB,GU
          AiJIxY u TjxC7k4JKngZJp7OvU

          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...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...