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 ...
schumaku
Jul 11, 2020Guru - Experienced User
Use SMB only. Combining things with NFS is a much to complex plan.
markdf001
Jul 11, 2020Aspirant
Thanks, I'm almost there!
sudo mount -t cifs -o username=plex //192.168.20.251 /mnt/local_share
I get 'Password for plex@//192.168.20.251: (press TAB for no echo)"
The user 'plex' has a password of 'plex' but it doesnt work, or the admin password. I must be be missing something basic and very obvious.
regards,
Mark...
- schumakuJul 11, 2020Guru - Experienced User
The shared folder on the NAS (configured for the access for the plex user [or a group including plex]) you want to access from the Ubuntu system isn't there.
The access management is based on shared folders, you can't mount the root.
- markdf001Jul 11, 2020Aspirant
I guess I need to setup a user on ubunto, I'll research that tomorrow as its to late now to concentrate on this :)
- SandsharkJul 11, 2020Sensei
If you are going to use SMB, you need a shared folder and user with access to it on the NAS. That user doesn't need to be the same user as on your Ubuntu system. You could use the NAS admin user, but that's not usually a good idea.
You mount an NFS share without a user name or password. But you do also need to mount a specific share. You had the command right in your orignal message, I just don't think you had NFS enabled on the NAS and/or share. If you expect to do it a lot, you may want to put something in fstab instead.
I'm not sure why schumaku says NFS is too complex. Certainly not as secure, but actually less difficult than SMB IMHO (at least with a Linux client). And I prefer to use a native Linux file system for sharing with a Linux system. The NAS does the "hard part" for you, exporting the NFS share when you set up NFS via the GUI.
- markdf001Jul 12, 2020Aspirant
I still cant get it working, I have created a user from https://www.techrepublic.com/article/how-to-add-and-enable-users-for-samba-share/
The password for the user is not being accepted, Ive attached a screen capture.
I appreciate the suggestions.
- markdf001Jul 12, 2020Aspirant
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- StephenBJul 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 markNot 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)?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!