ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Shares Not Mounting on Reboot

    Scheduled Pinned Locked Moved IT Discussion
    cronlinuxcron job
    20 Posts 4 Posters 3.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thanksajdotcomT
      thanksajdotcom
      last edited by

      Plex and the mounting of the file shares are totally separate. Plex accesses the shares but has nothing to do with the mounting process.

      1 Reply Last reply Reply Quote 0
      • thanksajdotcomT
        thanksajdotcom
        last edited by

        Ok, so a new issue I'm having on another server...

        I think it has something to do with the escape character...

        //172.16.255.6/GoFlex\ Home\ Personal   /media/goflex_dallas    auto    defaults,credentials=/home/aj/.smbcredentials   0       0
        //172.16.255.5/GoFlex\ Home\ Personal   /media/goflex_landcare  auto    defaults,credentials=/home/aj/.smbcredentials   0       0
        //172.16.255.6/GoFlex\ Home\ Personal   /srv/samba/share/goflex_dallas  auto    defaults,credentials=/home/aj/.smbcredentials   0       0
        //172.16.255.5/GoFlex\ Home\ Personal   /srv/samba/share/goflex_landcare        auto    defaults,credentials=/home/aj/.smbcredentials   0       0
        

        However, this is how it looks...

        upload-03bef81b-2cea-42f0-a75c-1b815ac85d80

        It's saying there is a syntax error at auto, but I know that's right. The whole command is right. The only difference between this and my other Plex server is the escape character for the space in the share name, which I can't change...

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          You are definitely missing the the quotes on some of those.

          thanksajdotcomT 1 Reply Last reply Reply Quote 0
          • thanksajdotcomT
            thanksajdotcom @scottalanmiller
            last edited by

            @scottalanmiller said:

            You are definitely missing the the quotes on some of those.

            Where? and what kind of quotes?

            coliverC 1 Reply Last reply Reply Quote 0
            • coliverC
              coliver @thanksajdotcom
              last edited by

              @thanksajdotcom said:

              @scottalanmiller said:

              You are definitely missing the the quotes on some of those.

              Where? and what kind of quotes?

              Shouldn't it look something like this?

              //172.16.255.6/"GoFlex Home Personal"
              
              thanksajdotcomT 1 Reply Last reply Reply Quote 1
              • thanksajdotcomT
                thanksajdotcom @coliver
                last edited by

                @coliver said:

                @thanksajdotcom said:

                @scottalanmiller said:

                You are definitely missing the the quotes on some of those.

                Where? and what kind of quotes?

                Shouldn't it look something like this?

                //172.16.255.6/"GoFlex Home Personal"
                

                That's still saying it's wrong too.

                scottalanmillerS coliverC 2 Replies Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @thanksajdotcom
                  last edited by

                  @thanksajdotcom said:

                  That's still saying it's wrong too.

                  Good start, at least.

                  1 Reply Last reply Reply Quote 0
                  • coliverC
                    coliver @thanksajdotcom
                    last edited by

                    @thanksajdotcom said:

                    @coliver said:

                    @thanksajdotcom said:

                    @scottalanmiller said:

                    You are definitely missing the the quotes on some of those.

                    Where? and what kind of quotes?

                    Shouldn't it look something like this?

                    //172.16.255.6/"GoFlex Home Personal"
                    

                    That's still saying it's wrong too.

                    The other thing you can do is this:

                    "//172.16.255.6/GoFlex Home Personal"
                    

                    But you shouldn't need to. Is there any other in-depth logs for this? Or does it just not work?

                    thanksajdotcomT 1 Reply Last reply Reply Quote 0
                    • thanksajdotcomT
                      thanksajdotcom @coliver
                      last edited by

                      @coliver said:

                      @thanksajdotcom said:

                      @coliver said:

                      @thanksajdotcom said:

                      @scottalanmiller said:

                      You are definitely missing the the quotes on some of those.

                      Where? and what kind of quotes?

                      Shouldn't it look something like this?

                      //172.16.255.6/"GoFlex Home Personal"
                      

                      That's still saying it's wrong too.

                      The other thing you can do is this:

                      "//172.16.255.6/GoFlex Home Personal"
                      

                      But you shouldn't need to. Is there any other in-depth logs for this? Or does it just not work?

                      Tried that too. That is not working either, and it's showing as a syntax error. It just doesn't work.

                      1 Reply Last reply Reply Quote 0
                      • thanksajdotcomT
                        thanksajdotcom
                        last edited by

                        This did it.
                        http://www.simpit.com/wordpress/?p=626

                        The syntax is:

                        //172.16.255.6/GoFlex\040Home\040Personal
                        
                        1 Reply Last reply Reply Quote 1
                        • thanksajdotcomT
                          thanksajdotcom
                          last edited by

                          Beautiful! Everything works as it should now!

                          1 Reply Last reply Reply Quote 1
                          • thanksajdotcomT
                            thanksajdotcom
                            last edited by

                            The issue was the spaces. Even with the escape character, it was not liking the space. Thus you use the escape character backslash and then 040 to symbolize a space.

                            1 Reply Last reply Reply Quote 0
                            • Reid CooperR
                              Reid Cooper
                              last edited by

                              That's interesting. Quotes without the escapes should make that unnecessary. Interesting way to fix it, though.

                              thanksajdotcomT 1 Reply Last reply Reply Quote 1
                              • thanksajdotcomT
                                thanksajdotcom @Reid Cooper
                                last edited by

                                @Reid-Cooper said:

                                That's interesting. Quotes without the escapes should make that unnecessary. Interesting way to fix it, though.

                                Yeah, the quotes was still showing it as a syntax error.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post