PDA

View Full Version : Dumb newbie question: networked music folder



Mark Lanctot
2007-09-26, 13:03
My goodness, this is embarrassing. I've answered this question myself more than a few times on this forum but now I'm faced with this problem!

I installed 7.0a1 to play around with the Jive hardware, and I've put it on my secondary machine running Ubuntu 7.04. After following Ben's instructions here: http://forums.slimdevices.com/showpost.php?p=225603&postcount=9 it runs fine, but I can't get it to read my music share off my primary SlimServer (Ubuntu 7.04 as well).

This machine does have access to it, but no matter what I try, the value is rejected.

//192.168.1.3/Music/"Music Library"

//192.168.1.3/Music/Music%20Library

//SAURON/Music/Music%20Library

etc.

That last one is the exact path Samba uses on the secondary machine when I point a file browser to the share.

Off the top of my head, I'm thinking permissions. But Ben's method is running SlimServer as local user "mark" (me), right? Not user "slimserver"? If it were user "slimserver", how do I give that user access to the share? User "mark" does have access to the share but I sometimes have to give a "keyring" password.

snarlydwarf
2007-09-26, 13:06
Both machines are running Linux... why not use NFS instead of double-SMB?

Mark Lanctot
2007-09-26, 13:08
I'd love to, I really would. (In some tests I did, NFS saturated my 100 Mbps connection at ~88 Mbps while Samba was about half that.) But I have a Windows laptop that mucks up this arrangement, and the secondary machine really doesn't like running both NFS and Samba simultaneously (big slowdowns).

I know there's an NFS client for Windows, but I couldn't get it working.

P.S. Is it the space in the share name?

snarlydwarf
2007-09-26, 13:15
It may be the space, but that should be legal. Convince the shell and other programs not to parse it can be tricky.

Try preceding it with a backslash (\)

mherger
2007-09-26, 13:18
> //SAURON/Music/Music%20Library
>
> That last one is the exact path Samba uses on the secondary machine
> when I point a file browser to the share.

You'll have to mount that folder to your local filesystem. Your browser
might be able to talk SMB, SlimServer isn't.

--

Michael

-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

SlowBart
2007-09-27, 01:41
My goodness, this is embarrassing. I've answered this question myself more than a few times on this forum but now I'm faced with this problem!

I installed 7.0a1 to play around with the Jive hardware, and I've put it on my secondary machine running Ubuntu 7.04. After following Ben's instructions here: http://forums.slimdevices.com/showpost.php?p=225603&postcount=9 it runs fine, but I can't get it to read my music share off my primary SlimServer (Ubuntu 7.04 as well).

This machine does have access to it, but no matter what I try, the value is rejected.

//192.168.1.3/Music/"Music Library"

//192.168.1.3/Music/Music%20Library

//SAURON/Music/Music%20Library

etc.

That last one is the exact path Samba uses on the secondary machine when I point a file browser to the share.

Off the top of my head, I'm thinking permissions. But Ben's method is running SlimServer as local user "mark" (me), right? Not user "slimserver"? If it were user "slimserver", how do I give that user access to the share? User "mark" does have access to the share but I sometimes have to give a "keyring" password.

Sounds like you are trying to reference the remote filesystem from within the slimserver web GUI?

Try mounting the remote share on the local machine. That way slimserver will just think it is a local filesystem.

mount -t nfs sauron:/path/to/music /mnt/local/dir
or
mount -t smbfs sauron:/path/to/music /mnt/local/dir

And tell slimserver to use "/mnt/local/dir"

I'd say NFS is saturating your ethernet because it's more efficient (i.e. transfers faster) than SMB.

Hope that helps.

Cheers,
Matt.

Mark Lanctot
2007-09-29, 16:42
I solved this by mounting on bootup as many here were suggesting.

I did try it earlier but the instructions I was using didn't work. These did:

http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_mount_network_folders_on_boot-up.2C_and_allow_all_users_to_read

I'm impressed, my "550 albums with 4560 songs by 574 artists" was scanned in about 10 minutes. I also love the 7.0a1 scanning progress bars.