Ubuntu Server 20.04 refuses to mount SMB share from Fstab or CMD

I have tried multiple times with multiple ways to mount my nas to my Ubuntu server LXC for plex usage. For backstory, I am running a LXC container on proxmox with ubuntu server 20.04, with all the packages up to date. As for my nas, I am running unraid that is also fully up to date as well. Whenever I try to mount my nas, I always get this error, no matter if I am trying from the CMD or /etc/fstab file.

mount error(1): Operation not permitted
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

This is the contents of the fstab:

//192.168.1.17/Plex /mnt/Plex cifs guest,uid=1000,iocharset=utf8,vers=1.0 0 0

I also have tried setting the version tag to 3.11 for smb.

I can see all of my folders and shares with smbclient however...

root@Plex:~# smbclient -L //192.168.1.17
Enter WORKGROUP\root's password:
Anonymous login successful Sharename Type Comment --------- ---- ------- Docker Disk Docker Images for Lancache and NextCloud NextCloud Disk Nextcloud Share Plex Disk Proxmox Disk Temp Proxmox Storage Disk Unraid Server IPC$ IPC IPC Service (Media server)
SMB1 disabled -- no workgroup available

Any help is apricated. Thank you!

UPDATE: I have updated my stab file to the following:

//192.168.1.17/Plex /mnt/Plex cifs vers=1.0,noauto,users,username=admin,password=1234,rw,iocharset=utf8

it now mounts with no errors, but plex does not detect any files in that directory, even after chmod the plex user to that directory. LS brings nothing up either. Any other ideas?

4 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like