Results 1 to 5 of 5

Thread: Can't see all files/folders of a Freecom NAS - cifs problem?

  1. #1
    Join Date
    Sep 2009
    Location
    The Netherlands
    Beans
    Hidden!

    Can't see all files/folders of a Freecom NAS - cifs problem?

    I own a Freecom NAS which is attached to a SMC router (SMCWBR-14N).
    I can approach the drive just fine by opening Places > Network but I can't view all content, some files/folders just seem to hide themselves.
    When I approach the drive under XP there's no problem and I can see all content.
    The filesystem type of the drive is cifs and when I choose "properties" by right-clicking on a opened share I see this:






    I found this topic and followed the instructions: http://ubuntuforums.org/showthread.php?t=288534



    • I installed smbfs
    • I made a mount point
    • I tried to manually mount the shared folder (the samba share does not require a password)



    The results:


    Code:
    robert@PCRWUBUNTU:~$ sudo mount -t cifs //192.168.2.151/robert /home/robert/mount -o guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 
     mount error(5): Input/output error 
     Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
    Code:
    robert@PCRWUBUNTU:~$ sudo mount -t cifs //fnd/robert /home/robert/mount -o guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 
     mount error: could not resolve address for fnd: No address associated with hostname 
     No ip address specified and hostname not found
    Code:
    robert@PCRWUBUNTU:~$ sudo mount //192.168.2.151/robert /home/robert/mount 
     Password:  
     mount error(5): Input/output error 
     Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
    I Googled for possible solutions and searched in the man pages but I really don't know what's going wrong and how I should fix this.
    Could someone offer me some assistance? Thanks in advance.


    Robert

  2. #2
    Join Date
    Sep 2009
    Location
    The Netherlands
    Beans
    Hidden!

    Re: Can't see all files/folders of a Freecom NAS - cifs problem?

    I finally found the solution:

    I added my NAS to /etc/hosts, that way I can also mount the drive by it's name instead of only by IP adress.

    In 9.04 I had to add the option nounix.

    Code:
    sudo mount -t cifs //fnd/robert /media/fndrobert/ -o guest,nounix,rw,iocharset=utf8,file_mode=0777,dir_mode=0777
    This didn't work out for 9.10, I also had to add the option noserverino to successfully mount my folder on the NAS.

    Code:
    sudo mount -t cifs //fnd/robert /media/fndrobert/ -o guest,nounix,rw,noserverino,iocharset=utf8,file_mode=0777,dir_mode=0777
    Right now I can view all my folders/files so my problem is solved.
    Last edited by -Robert-; February 26th, 2010 at 05:18 PM.

  3. #3
    Join Date
    Feb 2007
    Location
    Manchester, UK
    Beans
    98
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Can't see all files/folders of a Freecom NAS - cifs problem?

    Thanks for this - I've just spent all day trying to get this to work and your solution was the only one that worked and it is so much simpler than the rest!
    Nomadic linux user.

  4. #4
    Join Date
    Sep 2009
    Location
    The Netherlands
    Beans
    Hidden!

    Re: Can't see all files/folders of a Freecom NAS - cifs problem?

    Glad to hear that it also worked out for you.

  5. #5
    Join Date
    Dec 2009
    Beans
    6

    Re: Can't see all files/folders of a Freecom NAS - cifs problem?

    I just wanted to add my thanks as I have been trying to get this to work on and off for a while.

    My problem was that my mount command was failing:
    Code:
    sudo mount -t cifs //fnd/Public /mnt/fndPublic -o user=jon,password=,noexec,rw,_netdev,noperm
    mount error(12): Cannot allocate memory
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    But your options work:
    Code:
    sudo mount -t cifs //fnd/Public /mnt/fndPublic/ -o guest,nounix,rw,noserverino,iocharset=utf8,file_mode=0777,dir_mode=0777
    Other threads suggest it is something to do with permissions which cannot be changed on this NAS.

    Now, will I be able to back up to that dir?...

    I hope others hitting my error will also find this solution.

Tags for this Thread

Bookmarks

Posting Permissions

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