Hey everyone, I apologize if this is a bit long, I'm just trying to be thorough.
I've been running a Synology for a few years and I've had no issues connecting my kde desktop - Fedora 43 - to my smb shares. Works quite well, and I have been running a few docker services like jellyfin on the synology without issue.
Lately I've been wanting to dig a little deeper and try tinkering with a spare mini PC using Proxmox to host docker services and leave the Synology to strictly to data and backup jobs.
I'm running a Debian 13 VM and I've been having a very difficult time getting either NFS or SMB shares to work correctly.
I've had some success with NFS, but could never get jellyfin to actually see the content of my test share folder. I'm guessing there's something with permissions that I'm missing, but I want to focus on smb for now.
cifs-utils is installed
I created an smbcredentials file at: /root/.smbcredentials_nfs_share (I haven't bothered to rename the share, as I'm just experimenting and testing at this point)
username=<synology-user-with-permission-to-access-the-share-folder>
password=password
domain=WORKGROUP
sudo chmod 600 /root/.smbcredentials_nfs_share
created mount points on the debian vm:
sudo mkdir /media/synology
I also tried at /mnt
sudo mkdir /mnt/synology
Test mount, I get two different errors with either mount point
sudo mount -t cifs -o credentials=/root/.smbcredentials_nfs_share //<synology-ip>/volume1/nfs_share /media/synology
Couldn't chdir to /media/synology: No such device
sudo mount -t cifs -o credentials=/root/.smbcredentials_nfs_share //<synology-ip>/volume1/nfs_share /mnt/synology
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)
various dmesg errors:
7683.406033] CIFS: Attempting to mount //192.168.1.25/volume1/nfs_share
[ 7683.455661] CIFS: VFS: cifs_mount failed w/return code = -2
I'm clearly missing something here, and I'm a bit at a loss. Any pointers where I might have gone wrong here?
Thanks!
Edit: fixed a typo, and incorrect code block