NAS network mount

Raspberry Pi related support

Re: NAS network mount

Postby janui » 18 Apr 2019, 12:48

Hi fuddyduddy,
You seem to have gone back several steps and you have not explained what you have done. What is described below in this post has been previously described in this thread. Just to manage your expectations, I will not explain it a third time.

Log in via SSH, and run the following command (the command is one line):
Code: Select all
echo '//192.168.1.102/My\040Music /mnt/MPD/NAS cifs ro,vers=3.0,cache=none,username=rober,password=secret 0 0' >> /etc/fstab
Modify your username and password before executing the command!

To check that is has worked run this command:
Code: Select all
grep -i cifs /etc/fstab
The output should be one line and look like this:
Code: Select all
//192.168.1.102/My\040Music /mnt/MPD/NAS cifs ro,vers=3.0,cache=none,username=rober,password=secret 0 0
Then reboot and check that the mount is listed with this command:
Code: Select all
grep -i cifs /proc/mounts
The output should look like this:
Code: Select all
//192.168.1.102/My\040Music /mnt/MPD/NAS cifs ro,vers=3.0,cache=none,username=rober,password=secret 0 0
If it is there, then go to the Sources UI and click on ‘Rebuild MPD Library’ to load your music.

If you screw up, please restore the /etc/fstab from the copy which you made. Use this command:
Code: Select all
cp /home/fstab /etc/fstab
Then start again.

If you get stuck, post the output of this command (first remove your password from the output):
Code: Select all
cat /etc/fstab
janui
User avatar
janui
 
Posts: 588
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: NAS network mount

Postby fuddyduddy » 19 Apr 2019, 18:38

Hi janui
Then reboot and check that the mount is listed with this command:

Code: Select all
grep -i cifs /proc/mounts

The output should look like this:

Code: Select all
//192.168.1.102/My\040Music /mnt/MPD/NAS cifs ro,vers=3.0,cache=none,username=rober,password=secret 0 0

If it is there, then go to the Sources UI and click on ‘Rebuild MPD Library’ to load your music.
In fact this is how it looked
Code: Select all
[root@runeaudio ~]# grep -i cifs /proc/mounts
//192.168.1.102/My\040Music /mnt/MPD/NAS cifs ro,relatime,vers=3.0,sec=ntlmssp,cache=none,username=rober,domain=DESKTOP8,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.102,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=65536,wsize=65536,actimeo=1 0 0
Never mind, because after having clicked on 'Rebuild MPD Library' my 'My Music folders have all been loaded anyway.

Thanks a bundle :D
fuddyduddy
 
Posts: 38
Joined: 19 Feb 2016, 12:55
Location: Åland Islands

Re: NAS network mount

Postby janui » 20 Apr 2019, 17:35

Hi fuddyduddy,
That is good news. Enjoy the music.
janu
User avatar
janui
 
Posts: 588
Joined: 20 Dec 2014, 12:55
Location: Ollanda

support RuneAudio Donate with PayPal

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest