NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
markdf001
Jul 11, 2020Aspirant
Mount shared ReadyNAS folder on Ubuntu
Hi! I am having a problem trying to mount an NFS shared folder on Ubuntu 20.04. I have followed the instructions here, as well as several other sites with similiar instructions. The readyNAS 104 ...
StephenB
Jul 12, 2020Guru - Experienced User
markdf001 wrote:
I have also added the following to /etc/samba/smb.conf
[share1]
comment = A Shared Directory
guest ok = Yes
path = /share
read only = No
valid users = mark
linus user is mark, password is mark
Not a good idea, as the ReadyNAS will overwrite those changes. Always configure shares using the NAS admin web ui. And they aren't not needed anyway. Your problem isn't on the NAS, it's the commands you are using on the ubuntu system.
One problem is that you are putting a space between the IP address and the /share. You don't do that.
Did you create the mark account on the NAS (using the NAS web ui)?
schumaku
Jul 12, 2020Guru - Experienced User
All you need is a mount point folder on your Linux instance, a shared folder configured on the NAS, the user account on the NAS, and the access granted.
# sudo mkdir /mnt/Plex
# sudo mount -v -t cifs -o username=demo,vers=3.0 //rn516/Video /mnt/Plex
Password for demo//rn516/Video: *****
mount.cifs kernel mount options: ip=[whatever],unc=\\rn516\Video,vers=3.0,pass=********
#
Note:
- mount point must exist (mkdir ...)
- only a shared folder can be mounted, not the share root, thus //rn516/Video here
- specify the highest SMB version supported
As the cifs mounter is dumb (sorry Linux friends - Windows is decades ahead in many aspects) you might have to tell the SMB protocol version because your NAS might have been stripped to allow SMB 1.0 .. and just -t cifs would try SMB 1.0 only.
- markdf001Jul 12, 2020Aspirant
I appreciate the help but still struggling with it
I removed the Share entry I created in /etc/samba/smb.conf
user 'mark' created on ReadyNAS 104
user 'mark' created on linux
mount folder on linux called 'share'
ReadyNAS 104 supports SMB v3
sudo mount -v -t cifs -o username=mark,vers=3.0 //192.168.20.251/Video /sharePassword for mark@//192.168.20.251/Video: (press TAB for no echo)
I enter the password and getmount error(1): Operation not permitted
- schumakuJul 12, 2020Guru - Experienced UserLooks to me as there is an issue will the the configuration of your container. With plain Linux on common distros on bare metal or VMs this does work flawless.
- StephenBJul 13, 2020Guru - Experienced User
markdf001 wrote:
sudo mount -v -t cifs -o username=mark,vers=3.0 //192.168.20.251/Video /share
I agree that this should work if mark has network access to the NAS Video share.
Perhaps try again with username=admin and use the admin password for the NAS - just to rule out a network access problem.
Have you looked in the ubuntu logs? There likely is more information there.
You could also try downloading the full NAS log zip file (from the admin logs page) and see if there are any errors in there. Not sure exactly where to look, but I'd take a look at dmesg.log, system.log, and kernel.log
- markdf001Jul 13, 2020Aspirant
Thanks to everyone for the help, but due to work I havent been able to get back to this. Hopefully in the next day or two after work I'll have the time.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!