Announcement

Collapse
No announcement yet.

how do i get my NAS to mount at startup?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how do i get my NAS to mount at startup?

    freshly installed bionic, and i can't get my NAS to mount at startup, which means that amarok doesn't treat it as a local drive. i'm really hoping there is another alternative than moving all of my music files to a local drive.
    ⇑ Hybrid Elephant
    http://www.hybridelephant.com/
    ⇓ The world's finest exotic incense

    #2
    https://linuxconfig.org/how-to-confi...-bionic-beaver

    or

    https://]https://www.digitalocean.co...n-ubuntu-18-04
    Last edited by GreyGeek; Sep 21, 2018, 05:43 PM.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      i should probably have mentioned that it is formatted smb -- it's a western digital mycloud... i'm not sure NFS will work. 8/
      ⇑ Hybrid Elephant
      http://www.hybridelephant.com/
      ⇓ The world's finest exotic incense

      Comment


        #4
        Did you install samba, smbclient, cifs-utils and their dependencies?
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          yes, i did.
          ⇑ Hybrid Elephant
          http://www.hybridelephant.com/
          ⇓ The world's finest exotic incense

          Comment


            #6
            Originally posted by przxqgl View Post
            i should probably have mentioned that it is formatted smb -- it's a western digital mycloud... i'm not sure NFS will work. 8/
            You're a bit confused here. "SMB" is not a format, it's a network file system. A drive is "formatted" with a file system but the format of the hard drive is irrelevant to any network file system. The native drive format on the server is not exposed to the client.

            What is relevant is NFS won't mount SMB, but according to this: http://wdmc99.blogspot.com you should be able to set up NFS if you prefer it over SAMBA. Short version is if you need Windows to share the drive, use SAMBA (aka SMB or CIFS for Linux). If you don't need windows, use NFS.

            Please Read Me

            Comment


              #7
              okay, i definitely DO NOT need windoesn't, and i've worked with, and rather liked nfs in the past, although i didn't set them up myself.

              i followed the directions given here -- https://linuxconfig.org/how-to-confi...-bionic-beaver -- and got to the step labeled "Mount The Share", gave the command sudo mount 192.168.1.110:/home/salamandir/share /mnt/nfs and was informed that /mnt/nfs doesn't exist. so i sudo mkdir /mnt/nfs and tried it again, and... nothing. i hit the enter key, and nothing happened. no text came up, as far as i can tell, nothing to indicate that it had, or had not been successful. i checked /mnt/nfs and it didn't contain anything new...

              so, what did i do wrong?
              ⇑ Hybrid Elephant
              http://www.hybridelephant.com/
              ⇓ The world's finest exotic incense

              Comment


                #8
                Do you have a permission problem?
                "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                – John F. Kennedy, February 26, 1962.

                Comment


                  #9
                  when i gave the command sudo mount 192.168.1.110:/home/salamandir/share /mnt/nfs it didn't ask me for my password, it just stopped responding. i had just done two or three sudo commands immediately prior, and my experience is that, in such instances, i only get asked for my password the first time, so it didn't surprise me that i had not been asked for my password, but it did surprise me that nothing happened... i had to ^C to get my command prompt back, which also surprised me.
                  Last edited by przxqgl; Sep 28, 2018, 01:40 PM.
                  ⇑ Hybrid Elephant
                  http://www.hybridelephant.com/
                  ⇓ The world's finest exotic incense

                  Comment


                    #10
                    Sounds like it was stuck waiting for something. First step is to verify the export on the server, then make sure it's available to the client, then try mounting.

                    Don't forget we're in NFS version-limbo land were we can use either NFS version 3 or 4. It's best to explicitly specify which because the exporting settings are different. I'd offer specific examples but my house was flooded during Florence so my server is not connected at the moment.

                    Main difference is NFS V3 you export each directory individually but with NFS V4 you can export a single directory and bind mount other directories to the exported directory. I use both versions simultaneously for different needs.

                    Anyway, the point is you may need an option specifying which version to get the thing to mount.

                    Please Read Me

                    Comment


                      #11
                      Originally posted by oshunluvr View Post
                      Sounds like it was stuck waiting for something. First step is to verify the export on the server, then make sure it's available to the client, then try mounting.
                      which would be a lot easier if i actually knew what i was doing. i have worked with NFS drives that had already been set up, in the past, but i didn't do any of the setting-up, and this was in the distant past.

                      Originally posted by oshunluvr View Post
                      Don't forget we're in NFS version-limbo land were we can use either NFS version 3 or 4. It's best to explicitly specify which because the exporting settings are different. I'd offer specific examples but my house was flooded during Florence so my server is not connected at the moment.
                      no hurry, i understand.

                      Originally posted by oshunluvr View Post
                      Anyway, the point is you may need an option specifying which version to get the thing to mount.
                      which is beyond what https://linuxconfig.org/how-to-confi...-bionic-beaver has to tell me. :-/
                      ⇑ Hybrid Elephant
                      http://www.hybridelephant.com/
                      ⇓ The world's finest exotic incense

                      Comment

                      Working...
                      X