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?

6 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. 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.