Problem mounting network share
-
Hi all.
I'm using a raspberry pi 3 with 64gb SD Samsung Evo with official power supply.
I have it housed in a retroflag snespi case.
I have a 32gb SD for Kodi and a 64gb for my retropie which I just swap out for some gaming fun.My libreelec Kodi 32gb setup, is setup in a way that I mount my external HD that is connected to my internet router to the pi using cifs.
Following libreelec wiki for mounting network shares this works fine.Now my cd based rom collection is getting bigger now almost filling my 64gb retropie SD card.
So I've followed the wiki for mounting network shares but it doesn't seem to work (well it sort of does).
I've added the line to autostart.sh that matches the information for my network share rebooted and the share is not mounted, but if if I ssh into my retropie and enter that line, then hit enter on my keyboard it mounts just fine, but then on next reboot it's no longer mounted.
It appears it's not mounting the drive from the autostart.shI've tried wait for network at boot but that also doesn't help.
Anyone no what could be wrong here.
Thanks in advance
Rob -
@robmcc83 What's the line you're using in
autostart.sh
? If you exit ES, do you see any errors on the terminal related to themount
command ? -
@mitu
I am using this linesudo mount -t cifs -o username=USERNAME,password=PASSWD,nounix,noserverino,vers=1.0 //192.168.1.254/Share/roms /home/pi/RetroPie/roms
And no errors when exiting emulation station to terminal.
Thanks
-
@robmcc83 After you run the command manually, you say it works, but can the
pi
user access the folder ?
Can you reboot, exit ES, then runmount
and post the output ? -
@mitu
Yes I can access the share no problem if I mount it manually with the pi user. It's just not mounting at boot.
I'll have a check of mount later as I'm out all day.
Thanks
Rob
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.