Thank you very much milhouse! Problem wasn't probably in mount command but really in NAS settings. There was SMB 1-2 allowed. When I increased max supported version to SMB3 it all works. Thank you very much!
Posts by ScottyCZE
-
-
So cat wrote this (username and password I changed here but it's correct and I tried it from another device):
Code
Display More[Unit] Description=cifs mount script Requires=network-online.service After=network-online.service Before=kodi.service [Mount] What=//192.168.1.20/video Where=/storage/nasvideo Options=username=user,password=pass,rw Type=cifs [Install] WantedBy=multi-user.target
and there is a ls command
Code
Display Moretotal 28 drwxr-xr-x 17 root root 1024 Apr 11 2019 . drwxr-xr-x 13 root root 202 Mar 3 23:57 .. -rw------- 1 root root 53 Apr 26 11:42 .ash_history drwxr-xr-x 11 root root 1024 Apr 21 09:31 .cache drwxr-xr-x 18 root root 1024 Apr 11 2019 .config drwxr-xr-x 8 root root 1024 Apr 21 10:42 .kodi drwx------ 2 root root 1024 Apr 11 2019 .ssh drwxr-xr-x 2 root root 1024 Apr 11 2019 .update drwxr-xr-x 2 root root 1024 Apr 11 2019 backup drwx------ 2 root root 12288 Mar 3 23:58 lost+found drwxr-xr-x 2 root root 1024 Apr 11 2019 music drwxr-xr-x 2 root root 1024 Apr 11 2019 nasvideo drwxr-xr-x 4 root root 1024 Apr 21 09:34 picons drwxr-xr-x 2 root root 1024 Apr 11 2019 pictures drwxr-xr-x 3 root root 1024 Apr 22 20:20 recordings drwxr-xr-x 2 root root 1024 Apr 11 2019 screenshots drwxr-xr-x 2 root root 1024 Apr 11 2019 tvshows drwxr-xr-x 2 root root 1024 Apr 11 2019 videos
It shows nasvideo folder but there isn't anything mounted inside.
-
Not sure what does that mean. I can't use mount at any time. Not a simple mount via SSH, not via script described in links here. It looks to me like whole mount operation is not possible in LibreELEC. But I have fresh install and doesn't change anything there...
-
Hi Nicolas, well it's similiar to link which I posted but it is not working. So I wanted to know why it's not working and use just mount command which also wouldn't work.
In your link is a status command which I tried and it returns this:
Code
Display More● storage-nasvideo.mount - cifs mount script Loaded: loaded (/storage/.config/system.d/storage-nasvideo.mount; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2020-04-26 11:58:19 CEST; 20h ago Where: /storage/nasvideo What: //192.168.1.20/video Apr 26 11:58:19 LibreELEC systemd[1]: Mounting cifs mount script... Apr 26 11:58:19 LibreELEC mount[822]: mount: mounting //192.168.1.20/video on /storage/nasvideo failed: Operation not supported Apr 26 11:58:19 LibreELEC systemd[1]: storage-nasvideo.mount: Mount process exited, code=exited, status=255/EXCEPTION Apr 26 11:58:19 LibreELEC systemd[1]: storage-nasvideo.mount: Failed with result 'exit-code'. Apr 26 11:58:19 LibreELEC systemd[1]: Failed to mount cifs mount script.
So I'm reading that operation is not supported but I don't know why or what to change to make it work
-
Hi, I want to mount my NAS drive but I keep failing on so basic operation as a mount. When I use this:
Codemount -t cifs //192.168.1.20/video /storage/nasvideo -o vers=3.0,username=myUsername,password=myPass,rw
I get this this result:
So withount this working I can't make anything described in Mounting OS Level Network Shares | OpenELEC Mediacenter
Any idea what to do, please?