Slashdot Mirror


Current Recommendations For a Home File Server?

j.sanchez1 writes "The recent coverage of Shuttle's new KPC has gotten me thinking (again) about a small, low-cost headless file server for home. In the past, I have looked at the iPaq and considered using older computers I have lying around, but for various reasons I have never jumped in to do it. Do you guys have any suggestions on what to use for a home file server (hardware and software)? The server would be feeding files to Windows PCs and connected to the network through a Linksys WRT54GL running DD-WRT firmware." There are a host of good options these days; what has the best bang for the home-user's buck?

13 of 170 comments (clear)

  1. Cheapest, best way is to build it by ajs · · Score: 4, Informative

    I went to newegg and just built the system from scratch. I got 5 SATAII 250GB disks (the sweet-spot at the time for price per MB) in a tower with a run-of-the-mill motherboard, CPU and RAM. I didn't go headless entirely from the gate, but once I installed Linux, I never connected the monitor again. Simple software raid is enough for my purposes, and I didn't bother mirroring the root disk (which I can always just replace and re-install).

    1. Re:Cheapest, best way is to build it by Yosho · · Score: 4, Informative

      Software RAID costs cycles.

      Only a very small amount -- if you're using this computer simply for file storage, especially with 100 Mbit ethernet as your primary means of connection, you will never even notice the tiny slowdown caused by software RAID. An old Athlon XP with 256 MB of RAM are just fine, although if you want to do something like turn that file server into a web & e-mail server, you might want to bump it up to 512 MB. None of those things are computationally intensive at all, unless your server gets a ton of traffic; even then, you'll probably be limited more by your I/O speed than your CPU. A 64-bit processor won't help you at all if you're not doing any sort of scientific computing and you don't need to use more than 4 GB of RAM.

      Heck, for years I ran a personal server on an old 450 MHz K6-III with 512 MB of RAM and three hard drives in a RAID 5. The only time I noticed any lag at all was when doing SSL negotation or when it was running a certain PHP-based webmail program on it. I upgraded it just this last year to an Athlon XP 2200+ with 1 GB of RAM, and I never even come close to making the CPU max out, and I'm also running a VPN server and spam filter on it.

      --
      Karma: Terrifying (mostly affected by atrocities you've committed)
  2. deja vu by CodeMunch · · Score: 5, Informative
    You could always refer to the recent Ask Slashdot on this very topic.

    The Linksys NSLU2 is a little slow & not very intuitive but I just replaced my home file server (Athlong 1.4Ghz, 512MB, yaddahaddah) with one of these. There is a big fanbase for this little device and 3rd party firmware.

    1. Re:deja vu by plover · · Score: 4, Interesting

      The last I heard, the NSLU2 will NEVER spin down the hard drives. This may accelerate the wear on the bearings, and cause premature failure. Drives also consume more power while spinning.

      Actually, what I learned a long time ago (in a technology-land far, far away) is "never shut down your equipment." The only times hard drives and other computer hardware experience physical wear is startup, shutdown, and under G force loads.

      A spinning platter running on new bearings essentially maintains bearing-on-lubricant-on-bushing contact the entire time it is on, and has zero wear. But when the platter is spun down, the bearings will of course stop. At that time the bearings "poke through" the lubrication layer, causing metal-on-metal contact. Over time the weight of the platters on the bearings will cause microscopic deformations to be created on the surfaces of the bearings. These no-longer-round bearings then have high spots that also poke through the lubrication layer, causing metal-on-metal contact while the drive is spinning. This becomes a source of vibration, which leads to more metal-on-metal contact, causing wear.

      There are other physical reasons to not shut down your computer, too.

      Surge currents are a problem. They occur in a hard drive because a stopped motor takes much more torque to spin up than a running motor. That means that a component which is spec'd to carry the running current of the motor, say 80ma, has to temporarily provide startup current of perhaps 200ma. Most components can handle that much extra current for a very small amount of time, but a marginal component may fail under the extra stress. Avoiding power surges maximizes the life of those components

      There is another source of wear that people often ignore, and that is thermal stress. Powering equipment up causes it to heat up, expanding the materials it's made of. And all materials have different coefficients of expansion -- aluminum expands quite a bit more per degree than steel, and both expand much more rapidly than ceramics and fiberglass. When a computer is powered off and cools down, everything shrinks at its own rate -- traces on the circuit boards, soldered joints, the case, the screws holding the heat sink to the motherboard, the gold wires connecting the chip package to the die, everything. That's the only mechanical wear these otherwise solid state components will ever have. The more heating/cooling cycles, the more often they will tug at each other, causing wear.

      However, many things have changed since I learned this stuff. The technology of hard drives is vastly different than it was when I learned this; especially the properties of the lubricants that are now used. Also, cheap hard drives may have poor bearings to start with, and may already be vibrating when you purchase them (sound is a good way to detect this -- a good drive is a silent drive.) Hardware designers who are building quality equipment specify components with the capacity to handle the thermal and electrical stresses. And energy efficiency is of concern to everyone. But unless it's really crap gear, I'd suggest that powering down to attempt to preserve the longevity of your equipment might not be the appropriate answer.

      --
      John
  3. You need a home server do you? by AP2k · · Score: 5, Funny

    Boy, do I have a site you need to check out! http://www.stayathomeserver.com/book.aspx

  4. Buffalo Linkstation by TeknoHog · · Score: 3, Interesting

    I've considered a Buffalo Linkstation with a custom Linux distro. http://buffalo.nas-central.org/index.php/Main_Page

    --
    Escher was the first MC and Giger invented the HR department.
  5. Windows Home Server by JCSoRocks · · Score: 3, Informative

    Say what you like about Microsoft, but they appear to have finally made a decent product here. You can buy an OEM copy through Newegg for $169. Then slap it on any machine you like. It's got built in support for automatically backing up all of your files. If you have multiple HDD's in your server you can specify at the folder level which folders should be copied onto multiple drives (for redundancy should one of your HD's fail). It's also got nifty support for managing it from outside your home and streaming music, videos and photos to other machines inside / outside of your home. Take a look at it - http://www.microsoft.com/windows/products/winfamily/windowshomeserver/default.mspx

    --
    You are using English. Please learn the difference between loose and lose; they're, there, and their; your and you're.
    1. Re:Windows Home Server by pogopogo · · Score: 3, Informative

      It's perfect if you don't mind a little data corruption in your backups.

  6. Depends but Software is better then Hardware Raids by angus_rg · · Score: 3, Informative

    Unless you are really hell bent on speed or aren't mirroring, avoid hardware raids. While hardware may be faster, if the raid controller blows up, you probably have to find the same one to replace it since there is no standard on how the data is written.

    If you rebuild your system, reloading the same software for the raid should be cake.

  7. Low Power by SlashdotOgre · · Score: 3, Informative

    I leave my "file server" always on at home, so I wanted to pick up something with low power. I went with the VIA CPU/Mobo/VGA combo from newegg for about $60 a couple years ago. The Via 2000+ C3 is basically like a P3 800MHz, but it's power consumption is ultra low (we're talking half the wattage of its celeron equivalent). I picked up a small form factor shuttle like case from Fry's with a built in PSU (200W I believe), 512MB of PC2100, and have two 250GB HDD's in there. The system is now running Fedora Core 7 (would have preferred Gentoo, but it's kinda pointless to use the binary version of that in my opinion).

    While it's fairly weak compared to modern systems, it has more then enough power for serving files, so I have it set up as my web & email server as well. I also have a UPnP server running to share music/video's to my Xbox 360 & SlimServer for listening to my music collection remotely.

    For a while I ran MythTV on it with a Hauppage 150 card, and it ran fine (could even transcode on the fly to watch live TV in horrible quality on my Motorola Q). I also picked up a battery backup from APC which I configured with nut for when we have rolling blackouts.

    One thing I'd recommend doing is sticking with NFS for file sharing if you have a choice. All major platforms now support it (well I can't speak for Vista, but XP works so I presume it would as well). If you need to share to Windows XP, you need to download the (now free) Services for Unix 3.5 from MS to get their NFS client. I'm not a Mac person, but I know you can mount NFS on those out of the box (at least from the CLI). I use amd (Auto Mount Daemon) for my other Linux systems to auto mount. The performance of NFS blows Samba out of the water, I can stream Xvid on 802.11B with NFS with virtually no issues (can't do that with Samba).

    I should probably note I'm a Unix sys admin at work, so I'm fairly competent in Linux, but with that said I think even a novice could set this all up (exceptions being the email server and MythTV) without too many headaches. I let yum take care of all my system updates and am quite happy with my investment in this system (under $350 total).

    --
    Sadly, PS/2 was yet another victim of USB, which doesn't care what you plug into it, the electrical slut.
  8. Sweet Setup by mathimus1863 · · Score: 3, Informative

    I've been doing this for quite a while. Put Ubuntu 6.06 and a 300GB HDD into a PII, 400 MHz desktop that's about 8 years old. It works beautifully!

    I use sshfs to mount the server's harddrives on my local computer with full access to samba directories. Then I configured samba to provide a "publicShare" directory, readable and writeable by any computer. Another directory called "fileServe" which is read-only from any computer. I even set up apache on a separate folder and port-forwarding so it doubles as webserver as well.

    Anytime I find anything interesting at all--videos, documents, images, software--I post them to my fileServe directory for everyone else to use. And they typically backup all their stuff and share things with each other on the publicShare since it's publicly-writable.

    I've been running this setup flawlessly for 1.5 years. It's a lot better than paying $15-$30 to have the hardware recycled.

  9. As a 'generosity-challenged individual'.. by zmollusc · · Score: 4, Informative

    .. or 'miser' as other people put it, I hate to throw away working computers. Instead, I use them as file servers in the cellar (where i can't hear the fans whirring).
    Even the humble PII has better performance and more simultaneous connections than a NAS enclosure ( or at least the cheap NAS enclosures I have bought ) and lasts a lot longer too.

    My formula for home fileserving : cram an old PC with whatever IDE drives you have to hand and run FreeNAS on it, it will be plenty fast enough for 100megabit lan (which is fast enough for me). Whenever a drive fails, throw it away and put in whatever other (usually much bigger) hard drive is kicking around. When the motherboard fails, rescue the disks and build them into another fileserver.

    RAID? why bother? Build another fileserver and keep your copies on that.

    But what about the noise? Mine are in the cellar, only the spiders and woodworm can hear them.

    Ah, but what about the power consumption? Pah! The heat slightly warms the house, reducing the energy used by the (admittedly more efficient) heating system, and is utterly dwarfed by the power consumption of other crap in the house. Also, a headless PII box uses much less power than you might think. Measure it.

    Anyhoo, _my_ fileservers cost nothing but electicity, hold over a Terabyte and have uptimes of several months, so there :P

    --
    They whose government reduces their essential liberties for temporary security, receive neither liberty nor security.
  10. Xbox by Monsuco · · Score: 3, Interesting
    Ever think of using an origional Xbox. It is fairly easy to hack an Xbox, and deep down an Xbox is just a regular PC with a 700-ish mhz cross between a P3 and Celeron, a hard disk that is either 8 or 10 GB, a Nvidia Graphics card (though 3-D isn't fully supported on Linux), and 64 MB of RAM. For a small file server it works well enough. Most hacked dashes have an FTP server, but you can install Linux (my fave is X-DSL) easily. Some of the distros are rather old though.

    If you don't mind the old hardware, you can usually find an old used Xbox for about $50 at a used game shop. Versions of 007, Mech Assault, or Splinter Cell are usually required to softmod the box, and you can pick those up on ebay for nearly nothing.