Sorry if it sounds obvious – but make sure /mnt/Freebox_Media exists
I.e. mkdir -p /mnt/Freebox_Media
Sam
Perfect now we found the misunderstanding.
media
was just an example of a share.
You actually have individual shares for Films, Series and Music
Let us start simple with just trying the Films
Change the fstab entry to
//192.168.0.254/Films /mnt/FREEBOX_Films cifs x-systemd.automount,noauto,iocharset=utf8,user,username=danielbachelay,password=19431945dbbb,uid=osmc,gid=osmc,iocharset=utf8,file_mode=0770,dir_mode=0770 0 0
Than mount -a
and check if it works.
If all ok you can add the others.
Music will be tricky as it has a space
Great, tanks
I can modify the name of the hard drives.
Let me know when you have success or need more help
Of course.
I might forgot something but with “mount -a”, i have : only root can use “–all” option
sudo mount -a
Now ls -lah /mnt/FREEBOX_Films
ls: cannot access /mnt/FREEBOX_Films: No such file or directory
Well I was hoping for better news but we will get this mystery solved.
cat /etc/fstab | paste-log
- Try to reboot and after reboot
grab-logs -A
Sure
https://paste.osmc.tv/muhovubufu
I’m rebooting
Edit : my bad, i forgot to reboot after modifying FSTAB
It becoming quite strange
Aug 15 14:45:36 osmc systemd[1]: Got automount request for /mnt/FREEBOX_Films, triggered by 924 (ls)
Aug 15 14:45:36 osmc systemd[1]: Mounting /mnt/FREEBOX_Films…
Aug 15 14:45:36 osmc mount[925]: Retrying with upper case share name
Aug 15 14:45:36 osmc mount[925]: mount error(6): No such device or address
Aug 15 14:45:36 osmc mount[925]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Aug 15 14:45:36 osmc systemd[1]: mnt-FREEBOX_Films.mount mount process exited, code=exited status=32
Aug 15 14:45:36 osmc systemd[1]: Failed to mount /mnt/FREEBOX_Films.
Lets try a manual mount, run these commands
sudo mkdir /mnt/FREEBOX_Films
sudo mount -t cifs //192.168.0.254/Films /mnt/FREEBOX_Films -o username=danielbachelay,password=19431945dbbb
ls -lah /mnt/FREEBOX_Films
mkdir: cannot create directory ‘/mnt/FREEBOX_Films’: File exists
Ok, than the automount created it.
Just continue with the mount command.
sudo mount -t cifs //192.168.0.254/Films /mnt/FREEBOX_Films -o username=danielbachelay,password=19431945dbbb
Couldn’t chdir to /mnt/FREEBOX_Films: No such device
Was that the reply from the mount command?
Ok I am a bit at the end of my ideas
Lets try one last thing
sudo mkdir /mnt/test
sudo mount -t cifs //192.168.0.254/Films /mnt/test -o username=danielbachelay,password=19431945dbbb