Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Trying to setup a synology NAS but struggle to get it mounted

  1. #1

    Default Trying to setup a synology NAS but struggle to get it mounted

    Having used OpenSuse for well over a decade, but never did any network management and now have to admit defeat, I am completely stuck... I am by no means familiar with things like Samba, NFS and so on, it becomes a bit daunting at the moment.

    After a major harddrive failure I decided to buy an NAS (Synology DS218+) and run it in raid 1 mode. I got it running practically out of the box in Windows, but have failed so far to access it in Leap 15.1 (have not tried other versions or distro's). I can access it via a webbrowser, but obviously I want to have it mounted and directly accessible.

    I tried mounting it using the following command:
    sudo mount -t cifs -o vers=2.0,user=<myname>,password=<*******> //<IP ADDRESS>/volume1/homes/<myname> /home/NAS/

    Which returns the following error:
    mount error(2): No such file or directory
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)


    I found several reports online of people with the same type of errors returned, where they were able to solve it by changing the version number to "one". Unfortunately, that did not solve the problem for me, it returns the exact same error.

    Just to be sure, I checked whether I could find the NAS using:
    sudo arp-scan <IP ADDRESS>
    which returned a message that the Synology NAS is found on the specified IP address.

    This morning I tried to edit my fstab file, adding the NAS adress and mount point manually, but it resulted in my system being unbootable. I managed to reset the fstab file to the original settings using a Leap live stick, so it booted again. But I became a little hesitant to interfere with stuff that I am not familiar with...


    Anyone that can explain this noob how to get this working?

    Thanks,
    Rogier

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,158

    Default Re: Trying to setup a synology NAS but struggle to get it mounted

    As it says "No such file or directory" the question is of course:does /home/NAS exist or not?
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,299
    Blog Entries
    2

    Default Re: Trying to setup a synology NAS but struggle to get it mounted

    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4

    Default Re: Trying to setup a synology NAS but struggle to get it mounted

    Quote Originally Posted by hcvv View Post
    As it says "No such file or directory" the question is of course:does /home/NAS exist or not?

    rogier@linux-85ac:/home> ls
    rogierZhegedongxi_NAS

    The folder to where I want to mount the NAS does exist.

  5. #5
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,982

    Default AW: Trying to setup a synology NAS but struggle to get it mounted

    Please use Code-Tags (the small #) for any output from an terminal.
    And please post all from terminal incl. the complete input-command.
    Use copy paste.

    PS:
    Code:
    ls -al /home
    is better to show more parameter....
    Last edited by Sauerland; 24-Sep-2019 at 09:21.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,158

    Default Re: Trying to setup a synology NAS but struggle to get it mounted

    Quote Originally Posted by Rogier View Post
    rogier@linux-85ac:/home> ls
    rogierZhegedongxi_NAS

    The folder to where I want to mount the NAS does exist.
    That is NOT what I see in your post. According to your mount statment in post #1
    Code:
    mount -t  cifs -o vers=2.0,user=<myname>,password=<*******> //<IP  ADDRESS>/volume1/homes/<myname> /home/NAS/
    there should exist
    Code:
    /home/NAS
    and it should be a directory.
    Henk van Velden

  7. #7

    Default Re: Trying to setup a synology NAS but struggle to get it mounted

    Quote Originally Posted by hcvv View Post
    That is NOT what I see in your post. According to your mount statment in post #1
    Code:
    mount -t  cifs -o vers=2.0,user=<myname>,password=<*******> //<IP  ADDRESS>/volume1/homes/<myname> /home/NAS/
    there should exist
    Code:
    /home/NAS
    and it should be a directory.
    You are right, unfortunately it did not resolve the issue...

    Full output of the home folder:
    Code:
    rogier@linux-85ac:/home> ls -al
    total 4
    drwxr-xr-x  4 root   root    43 Sep 24 20:28 .
    drwxr-xr-x  1 root   root   182 Sep 24 20:07 ..
    drwxr-xr-x 21 rogier users 4096 Sep 24 20:06 rogier
    drwxr-xr-x  2 rogier root     6 Sep 24 20:28 Zhegedongxi_NAS
    
    With the updated mount command using the corrected mounting point
    Code:
    rogier@linux-85ac:/home> sudo mount -t cifs -o user=Rogier,password=<******> //<IP ADDRESS>/volume1/homes/Rogier /home/Zhegedongxi_NAS/
    [sudo] password for root:  
    mount error(2): No such file or directory
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
    

  8. #8
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    445

    Default Re: Trying to setup a synology NAS but struggle to get it mounted

    Quote Originally Posted by Rogier View Post
    rogier@linux-85ac:/home> ls
    rogierZhegedongxi_NAS

    The folder to where I want to mount the NAS does exist.
    In that case, shouldn't it be written /home/rogierZhegedonxi_NAS​and not /home/NAS?


    NOTE: Just realized someone else caught that.
    "Making rich people richer doesn't make the rest of us richer." Ha-Joon Chang
    openSUSE 15.1 4.12.14-lp151.28.16-default x64

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,158

    Default Re: Trying to setup a synology NAS but struggle to get it mounted

    I am not sure about this, but I would never use a / as the last character of the mount point. Thus I would perefer /home/
    Zhegedongxi_NAS.
    ==============
    Off topic.
    Are you sure you want root as the owning group for this directory/mount point where rogier is the owner?
    It could be you have a particular reason for it, but when not, I would prefer users (like rogier's home directory).
    Last edited by hcvv; 24-Sep-2019 at 10:20.
    Henk van Velden

  10. #10

    Default Re: Trying to setup a synology NAS but struggle to get it mounted

    Quote Originally Posted by kerijan2003 View Post
    In that case, shouldn't it be written /home/rogierZhegedonxi_NAS​and not /home/NAS?
    There indeed was a mistake spotted by HCVV in the initial mount command, where I used just "NAS" instead of the Zhegedongxi_NAS, which was the folder name. Unfortunately, that resulted in the same error.

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •