Looking for a fileserver

Forum: LinuxTotal Replies: 15
Author Content
Sander_Marechal

Mar 14, 2007
8:01 AM EDT
I just figured out why my shiny new server kept crashing. Uploading a couple of GB to an NFS fileserver that runs as a domU crashes the entire dom0 on Debian Etch. I've already filed a bug for it at Debian.

But now I'm in the market for a different fileserver. One that does play nicely as a domU guest. Any suggestions besides samba/cifs? I'm running an all-linux network here so I don't really see the need to run an MS fileserver protocol here.

Does any of you have experiences to share?
DarrenR114

Mar 14, 2007
8:42 AM EDT
You could set up a WebDAV - that's what I've got working at my job.
Sander_Marechal

Mar 16, 2007
1:39 AM EDT
How does WebDAV hold up as a file server? I plan to serve my mp3 collection around the house with my fileserver.

I might have stumbled on another posibility as well: unfs3. That's a userspace NFS server so it shouldn't meddle with my domU or dom0 kernels.
SFN

Mar 16, 2007
4:47 AM EDT
Quoting:I plan to serve my mp3 collection around the house with my fileserver.


If this is the only reason for the server, you might look at something that is less of an all-around fileserver. I'd recommend Jinzora.

http://www.jinzora.org/

DarrenR114

Mar 16, 2007
5:28 AM EDT
@sander,

I've found that the Tomcat implementation of WebDAV suffices quite well as a fileserver functioning as an MP3 repository for all the major PC architectures: Mac OS X, BSD, MS-Windows, Linux.

Sander_Marechal

Mar 16, 2007
6:17 AM EDT
Darren: Thanks. I'm testing unfs3 now. If that crashes as well I'll give webDAV a try.

SFN: jinoza is exactly what I don't need. I'm writing my own jukebox in Python so that (1) I can cut my PC out of the loop. I want music 24/7 directly from the server to the stereo. And (2) link various music repositories together (mine, my girlfriends, etcetera) in a transparent manner. Check out http://svn.jejik.com for some initial code.

Anyway, I need a fileserver to do it because I want direct access to the music from my server (so the jukebox can play them) and from my desktop and laptop (ripping new songs, reorganizing, etcetera while the jukebox plays). With an NFS or WebDAV mount on my desktop I can rip straight from CD to the server (ripping to remote locations over SSH or gnome_vfs is broken on Debian Etch - I filed a bugreport about it).
pat

Mar 16, 2007
1:36 PM EDT
How bout, http://www.openafs.org?
Sander_Marechal

Mar 16, 2007
2:45 PM EDT
I looked into OpenAFS, but it carries a lot of dependencies that I really don't need for a home fileserver such as Kerberos and ACL's. I'll probably try it if the userspace NFS daemon starts to fail and WebDAV proves insufficient. I still like it a lot better than Samba though :-)
Sander_Marechal

Mar 20, 2007
3:24 AM EDT
Haha! I got pretty much everything working now :-)

The fileserver domU with unfs3 is running great. When reading the Debian Times I came across MPD, a Music Player Daemon that does pretty much what I wanted to do with my home-grown daemon, except for remote library sharing (solvable by simply using remote filesystems). So, I created a new domU called music.jejik.com, mounted the NFS share under /var/music, installed mpd and the mpc client, installed icecast2, configured the lot to output a webradio stream and voilá, instant jukebox!

It's not totally flawless yet. Rythmbox dies with a "dataflow error" when the music daemon switches songs, but totem-gstreamer handles it fine. All that's left is getting myself a simple audiocard for the server (see http://lxer.com/module/forums/t/24857/) so I can output to my stereo and cut my PC out of the loop.

Oh, and I'll probably need to build some kind of mini-pc with an IR interface so I can control the whole lot with a remote, but that's for another day.
helios

Apr 02, 2007
6:17 PM EDT
I'm looking forward to the day when this issue gets the attention of the right developers. While I have had some initial luck with the built-in with Amarok, as a whole, this is way too complex for what it does...

"The fileserver domU with unfs3 is running great. When reading the Debian Times I came across MPD, a Music Player Daemon that does pretty much what I wanted to do with my home-grown daemon, except for remote library sharing (solvable by simply using remote filesystems). So, I created a new domU called music.jejik.com, mounted the NFS share under /var/music, installed mpd and the mpc client, installed icecast2, configured the lot to output a webradio stream and voilá, instant jukebox!"

Voila? That's not the word I heard come out of the mouth of a few who tried using Linux fileservers for remote MP3 listening, LOL

especially when a windows alternative exists for 12 bucks or so.
Sander_Marechal

Apr 02, 2007
9:50 PM EDT
Helios: If all you want is library sharing and not any of the customized jukebox functions I was after, you can simply set up Coherence (https://coherence.beebits.net/) or daapd (http://www.deleet.de/projekte/daap/daapd/) and make your server look like a plug-n-play music network device.

I'd love to be able to control library sharing at the jukebox level instead of the filesystem level, but that would mean reimplementing pretty much all of MPD. Hmm... maybe there's a plugin system for MPD.
devnet

Apr 03, 2007
5:49 AM EDT
Something I've found awesome is setting up ClarkConnect.

They have something called a FlexShare. It stands for flexible share (duh). Take a look at the wiki page here: http://www.clarkconnect.com/wiki/index.php?title=Modules_-_F...

I've found CC to be everything I need for a fileserver/home network gateway/router.
helios

Apr 03, 2007
1:12 PM EDT
Sander, thanks for those links...they now have a home at L4L.

Devnet. Duh...boy do I feel dumber than dirt...I didn't know CC had that capability. heading for the wiki now.

h
devnet

Apr 03, 2007
3:59 PM EDT
I think jinzora rules for music on your network. http://www.jinzora.org/
pat

Apr 03, 2007
6:50 PM EDT
I found this one interesting http://www.docmgr.net .
DarrenR114

Apr 04, 2007
5:19 AM EDT
@pat

Are you talking about using DocMgr for managing an MP3 collection?

Interesting idea.

You cannot post until you login.