Dietpi is running on a RPI-4. I connect a usb-stick to it to serve as a file dump for the whole network. It is simple and slow, i know, but i am just testing.
I go to the drive manager of dietpi, set /mnt/NAS (the usb stick) as the server address, i get the following error messages:
[FAILED] Samba mount failed with the following error output: β
β β
β 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) β
β 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) β
β 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) β
β 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) β
β 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) β
β mount error(95): Operation not supported β
β Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
Then i try to set a nfs share and it also gives me errors:
[FAILED] NFS mount failed with the following error output: β
β β
β mount.nfs: mount(2): No such file or directory β
β mount.nfs: trying 192.168.1.100 prog 100003 vers 3 prot TCP port 2049 β
β mount.nfs: trying 192.168.1.100 prog 100005 vers 3 prot UDP port 53844 β
β mount.nfs: mount(2): Permission denied β
β mount.nfs: access denied by server while mounting 192.168.1.100:/mnt/NAS β
β mount.nfs: timeout set for Sat May 4 11:52:56 2024 β
β mount.nfs: trying text-based options 'port=2049,vers=4.2,addr=192.168.1.100,clientaddr=192.168.1.100' β
β mount.nfs: trying text-based options 'port=2049,addr=192.168.1.100' β
β mount.nfs: prog 100003, trying vers=3, prot=6 β
β mount.nfs: prog 100005, trying vers=3, prot=17
Hereβs the dmesg output:
[ 851.404801] CIFS: Attempting to mount \\192.168.1.100\mnt
[ 851.510982] CIFS: VFS: BAD_NETWORK_NAME: \\192.168.1.100\mnt
[ 851.528723] CIFS: VFS: cifs_mount failed w/return code = -2
[ 851.550766] CIFS: Attempting to mount \\192.168.1.100\mnt
[ 851.575436] CIFS: VFS: BAD_NETWORK_NAME: \\192.168.1.100\mnt
[ 851.585045] CIFS: VFS: cifs_mount failed w/return code = -2
[ 851.600146] CIFS: Attempting to mount \\192.168.1.100\mnt
[ 851.622278] CIFS: VFS: BAD_NETWORK_NAME: \\192.168.1.100\mnt
[ 851.630371] CIFS: VFS: cifs_mount failed w/return code = -2
[ 851.644166] CIFS: Attempting to mount \\192.168.1.100\mnt
[ 851.665922] CIFS: VFS: BAD_NETWORK_NAME: \\192.168.1.100\mnt
[ 851.676391] CIFS: VFS: cifs_mount failed w/return code = -2
[ 851.691116] CIFS: Attempting to mount \\192.168.1.100\mnt
[ 851.712194] CIFS: VFS: BAD_NETWORK_NAME: \\192.168.1.100\mnt
[ 851.725561] CIFS: VFS: cifs_mount failed w/return code = -2
[ 851.743498] Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
[ 851.743535] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
[ 851.743567] CIFS: Attempting to mount \\192.168.1.100\mnt
[ 851.757222] CIFS: VFS: cifs_mount failed w/return code = -95
root@DietPi:~#