Hello friends
I need to access a hard drive which is connected to a router.
Follow this thread , I have created a folder called downloads
Using the command
nano /storage/.config/system.d/storage-downloads.mount
I Create the .mount file:
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=//192.168.1.1/volume(sda1)
Where=/storage/downloads
Options=username=user,password=password,rw,vers=2.1
Type=cifs
[Install]
WantedBy=multi-user.target
Display More
Next I enable the mount:
systemctl enable storage-downloads.mount
And I have received the message:
Created symlink /storage/.config/system.d/multi-user.target.wants/storage-downloads.mount → /storage/.config/system.d/storage-downloads.mount.
When I come back I go to the downloads folder but there is nothing inside... it is empty
When executing the command
systemctl status storage-recordings.mount
I receive the following message:
× storage-downloads.mount - cifs mount script
Loaded: loaded (/storage/.config/system.d/storage-downloads.mount; enabled; preset: disabled)
Active: failed (Result: exit-code) since Tue 2024-03-12 22:36:56 CET; 3min 21s ago
Where: /storage/downloads
What: //192.168.1.1/volume(sda1)
CPU: 7ms
Mar 12 22:36:56 LibreELEC systemd[1]: Mounting storage-downloads.mount...
Mar 12 22:36:56 LibreELEC mount[744]: mount: mounting //192.168.1.1/volume(sda1) on /storage/downloads failed: Invalid argument
Mar 12 22:36:56 LibreELEC systemd[1]: storage-downloads.mount: Mount process exited, code=exited, status=255/EXCEPTION
Mar 12 22:36:56 LibreELEC systemd[1]: storage-downloads.mount: Failed with result 'exit-code'.
Mar 12 22:36:56 LibreELEC systemd[1]: Failed to mount storage-downloads.mount.
Display More
Can someone explain to me what I'm doing wrong?
Thanks in advance
The hard drive is a 2 TB external digital western
The version of librelec that I use on a raspberry pi 3b+ is 11.0.6
The router model is Tp-Link EX230v
PS: Excuse my poor English.