sshfs with automount failing silently

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











up vote
1
down vote

favorite












I am attempting to "permanently" mount a network drive (CentOS 7.4) on my local machine (macOS 10.12 Sierra) using sshfs and automount



First off, is this actually the most appropriate tool to use for this? Essentially I want it such that it reconnects every time I open my computer. I've seen other solutions using /etc/fstab but I also could not get them to work.



I already have it working with the sshfs command from the terminal (so the sshfs and FUSE installations should probably be ok)



sshfs <user>@<address>:/ /Users/me/Desktop/netwk -o defer_permissions,transform_symlinks,volname=netwk 


Here's what I've done:
I've set up my /etc/auto_master with the following line:



/Users/me/Desktop/netwk auto_netwk


and created /etc/auto_netwk as follows: (are all the colons/slashes in the correct places? I've found a few different variations)



netwk -fstype=sshfs ://<user>@<address>:/


Now, when I run sudo automount -vc, it appears to successfully mount the folder and returns



automount: /net updated
automount: /home updated
automount: /Users/me/Desktop/netwk mounted
automount: no unmounts


and mount returns



/dev/disk1 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
map auto_netwk on /Users/me/Desktop/netwk (autofs, automounted, nobrowse)


However, the mounted volume does not appear to have any contents: opening ~/Desktop/netwk in shows an empty directory, the size reads zero, and ls ~/Desktop/netwk/netwk simply hangs.



Is there an obvious misconfiguration or a step I'm missing? (I've already looked through all the similar questions here, but they all seem to get a clear error, whereas mine appears to fail silently)










share|improve this question

























    up vote
    1
    down vote

    favorite












    I am attempting to "permanently" mount a network drive (CentOS 7.4) on my local machine (macOS 10.12 Sierra) using sshfs and automount



    First off, is this actually the most appropriate tool to use for this? Essentially I want it such that it reconnects every time I open my computer. I've seen other solutions using /etc/fstab but I also could not get them to work.



    I already have it working with the sshfs command from the terminal (so the sshfs and FUSE installations should probably be ok)



    sshfs <user>@<address>:/ /Users/me/Desktop/netwk -o defer_permissions,transform_symlinks,volname=netwk 


    Here's what I've done:
    I've set up my /etc/auto_master with the following line:



    /Users/me/Desktop/netwk auto_netwk


    and created /etc/auto_netwk as follows: (are all the colons/slashes in the correct places? I've found a few different variations)



    netwk -fstype=sshfs ://<user>@<address>:/


    Now, when I run sudo automount -vc, it appears to successfully mount the folder and returns



    automount: /net updated
    automount: /home updated
    automount: /Users/me/Desktop/netwk mounted
    automount: no unmounts


    and mount returns



    /dev/disk1 on / (hfs, local, journaled)
    devfs on /dev (devfs, local, nobrowse)
    map -hosts on /net (autofs, nosuid, automounted, nobrowse)
    map auto_home on /home (autofs, automounted, nobrowse)
    map auto_netwk on /Users/me/Desktop/netwk (autofs, automounted, nobrowse)


    However, the mounted volume does not appear to have any contents: opening ~/Desktop/netwk in shows an empty directory, the size reads zero, and ls ~/Desktop/netwk/netwk simply hangs.



    Is there an obvious misconfiguration or a step I'm missing? (I've already looked through all the similar questions here, but they all seem to get a clear error, whereas mine appears to fail silently)










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am attempting to "permanently" mount a network drive (CentOS 7.4) on my local machine (macOS 10.12 Sierra) using sshfs and automount



      First off, is this actually the most appropriate tool to use for this? Essentially I want it such that it reconnects every time I open my computer. I've seen other solutions using /etc/fstab but I also could not get them to work.



      I already have it working with the sshfs command from the terminal (so the sshfs and FUSE installations should probably be ok)



      sshfs <user>@<address>:/ /Users/me/Desktop/netwk -o defer_permissions,transform_symlinks,volname=netwk 


      Here's what I've done:
      I've set up my /etc/auto_master with the following line:



      /Users/me/Desktop/netwk auto_netwk


      and created /etc/auto_netwk as follows: (are all the colons/slashes in the correct places? I've found a few different variations)



      netwk -fstype=sshfs ://<user>@<address>:/


      Now, when I run sudo automount -vc, it appears to successfully mount the folder and returns



      automount: /net updated
      automount: /home updated
      automount: /Users/me/Desktop/netwk mounted
      automount: no unmounts


      and mount returns



      /dev/disk1 on / (hfs, local, journaled)
      devfs on /dev (devfs, local, nobrowse)
      map -hosts on /net (autofs, nosuid, automounted, nobrowse)
      map auto_home on /home (autofs, automounted, nobrowse)
      map auto_netwk on /Users/me/Desktop/netwk (autofs, automounted, nobrowse)


      However, the mounted volume does not appear to have any contents: opening ~/Desktop/netwk in shows an empty directory, the size reads zero, and ls ~/Desktop/netwk/netwk simply hangs.



      Is there an obvious misconfiguration or a step I'm missing? (I've already looked through all the similar questions here, but they all seem to get a clear error, whereas mine appears to fail silently)










      share|improve this question













      I am attempting to "permanently" mount a network drive (CentOS 7.4) on my local machine (macOS 10.12 Sierra) using sshfs and automount



      First off, is this actually the most appropriate tool to use for this? Essentially I want it such that it reconnects every time I open my computer. I've seen other solutions using /etc/fstab but I also could not get them to work.



      I already have it working with the sshfs command from the terminal (so the sshfs and FUSE installations should probably be ok)



      sshfs <user>@<address>:/ /Users/me/Desktop/netwk -o defer_permissions,transform_symlinks,volname=netwk 


      Here's what I've done:
      I've set up my /etc/auto_master with the following line:



      /Users/me/Desktop/netwk auto_netwk


      and created /etc/auto_netwk as follows: (are all the colons/slashes in the correct places? I've found a few different variations)



      netwk -fstype=sshfs ://<user>@<address>:/


      Now, when I run sudo automount -vc, it appears to successfully mount the folder and returns



      automount: /net updated
      automount: /home updated
      automount: /Users/me/Desktop/netwk mounted
      automount: no unmounts


      and mount returns



      /dev/disk1 on / (hfs, local, journaled)
      devfs on /dev (devfs, local, nobrowse)
      map -hosts on /net (autofs, nosuid, automounted, nobrowse)
      map auto_home on /home (autofs, automounted, nobrowse)
      map auto_netwk on /Users/me/Desktop/netwk (autofs, automounted, nobrowse)


      However, the mounted volume does not appear to have any contents: opening ~/Desktop/netwk in shows an empty directory, the size reads zero, and ls ~/Desktop/netwk/netwk simply hangs.



      Is there an obvious misconfiguration or a step I'm missing? (I've already looked through all the similar questions here, but they all seem to get a clear error, whereas mine appears to fail silently)







      mount automounting sshfs autofs






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 8 at 18:38









      dkv

      21217




      21217

























          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%2f461343%2fsshfs-with-automount-failing-silently%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%2f461343%2fsshfs-with-automount-failing-silently%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          The Forum (Inglewood, California)

          Palaiologos