Quantcast
Viewing all articles
Browse latest Browse all 1518

How to mount external NAS drive at right point during boot (Raspbian)

Today, having finally decided to sort out our media server since Spotify was discontinued on QNAP NAS, I installed Raspbian Stretch, then logitechmediaserver_7.9.2~1539967036_all.deb, on a spare Raspberry Pi 2.

The music files are on the QNAP NAS still. I was able to mount this, scan and play the music library using

Code:

sudo mount  "//192.168.0.4/Steve/My Music" /mnt/Music -o username=steve,password=xyzzy
I tried to do the mount automatically on boot, using /etc/fstab and all hell broke loose, the Pi would no longer boot. Had to recover it using cmdline.txt shown here: https://www.raspberrypi.org/forums/v...c.php?t=172814

I was able to recover it .. I think the problem with /etc/fstab, watching the boot sequence, is that the IP stack is not fully up at that point (i.e. it's too early).

What's the right time/place to mount an external NAS filesystem for LMS?

Viewing all articles
Browse latest Browse all 1518

Trending Articles