TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Build a Raspberry Pi File Server

69 pointsby celticbadboyover 12 years ago

12 comments

ChuckMcMover 12 years ago
Interesting, so there are like a billion blog entries "How to build a Raspberry Pi &#60;X&#62; Server" where X is "file", "print", "media", "security", "email", "web", "DNS", Etc.<p>They are really just how to configure a Linux box to serve that function, except the new hawtness is the Raspberry Pi. One would assume people would get it by now that its just another Linux server so anything you can do with a Linux server you can do with this.<p>What I like about this is that folks are willing to jump into these sorts of projects with a Pi. (go go DevOps!) When they wouldn't for some reason with an "expensive" computer. It is a lot of fun and there is lots of information out there to guide you.<p>As for this particular example the original LinkSys ARM based file server was way ahead of the game :-). It suffers from the same problems (there is a lot of unreliability built into the equation) but it spawned a lot of copy cats and its at least as useful as putting a disk on your wireless access point to serve up tunes.
评论 #5146061 未加载
评论 #5146682 未加载
评论 #5145831 未加载
secureover 12 years ago
I’d say: don’t. The performance you will be getting is horrible. Ethernet is connected via USB on the Raspberry Pi, so while via Ethernet, you can achieve about 90 Mbit/s, that speed drops to ≈ 40 Mbit/s once you access a USB hard disk drive. This is without any kind of encryption.
评论 #5144755 未加载
评论 #5144744 未加载
评论 #5145740 未加载
评论 #5144818 未加载
评论 #5145519 未加载
Nursieover 12 years ago
The Pi is great and all, but after running setups like these for many years (ARM server + USB enclosure), I came to the conclusion you're better off with some other solution if you're transferring even a few GB around the place.<p>Of course most of those solutions would be a lot more expensive. The HP Microserver is my current solution, with zfs. And even that could be a lot better as there's no hardware crypto support and scp is sloooooow as a result.<p>As a general point of cynicism (and that seems to be my mood today) - did nobody ever have a small, general purpose computer before the Raspberry Pi came along?
评论 #5145780 未加载
评论 #5145257 未加载
评论 #5145233 未加载
davidarkemp2over 12 years ago
This just basically tells you how to mount a disk and install samba. You could equally well apply these instructions to any debian-based system.
评论 #5144812 未加载
dobbsbobover 12 years ago
Why does anybody use Rasberry Pi. It is a black box tightly sealed with patents and protected by corporations. It isn't even remotely an open platform unless you think a few pages of documentation for the enormous amounts of blobs is 'open'. It's one big mess of Broadcom firmware.<p>Go buy a beagleboard instead, or any taiwanese hardware almost all of them release full docs
评论 #5146728 未加载
评论 #5146504 未加载
评论 #5146509 未加载
gbogover 12 years ago
To those always replying to raspberry articles that it can be done with other setups, and that it's nothing new, I think you're missing the point:<p>All those tutorials show that a single very cheap and well designed piece of open hardware can be very versatile and that everything we tend to see as magic is just a one page how-to long.<p>I'm in my forties, an since I have had my first walkman I wanted to get inside the machine, to drive it dwork my, from the bowels. I have seen iPods, but can you ssh in an iPod? I have seen media centers, but can you bulk rename files or script it?<p>Now with my raspberry I finally got my dream for real, and I can even ssh to it from my phone when I'm away.
评论 #5146186 未加载
评论 #5148641 未加载
mattbeeover 12 years ago
An excellent, cheap plan if you've never set up samba etc. before. To those rolling their eyes at a "toy" solution (and it's better than that), when you _do_ need a bit more performance and more discs I'd highly recommend one of these <a href="http://www.ebuyer.com/281915-hp-proliant-turion-ii-n40l-microserver-100-cashback-658553-421" rel="nofollow">http://www.ebuyer.com/281915-hp-proliant-turion-ii-n40l-micr...</a> which HP have been practically giving away for years (£89 after cashback!) - a bit larger &#38; faster than a Pi, 1GiB RAM, four hot-swap drive bays and gigabit ethernet.
bboxover 12 years ago
did that years ago ..with a NSLU2 :) <a href="http://www.cyrius.com/debian/nslu2/gallery.html" rel="nofollow">http://www.cyrius.com/debian/nslu2/gallery.html</a>
npsimonsover 12 years ago
1) Install Debian (<a href="http://www.raspbian.org/" rel="nofollow">http://www.raspbian.org/</a>)<p>2) Install and setup file servers ('apt-get install samba nfs-server')
mauricesvayover 12 years ago
I wish there was a tutorial that would make it easier. Why not automount disks and provide a web interface to configure the shares?
bdzover 12 years ago
I've done something similar with netatalk and avahi. Since I can use the drive with Time Machine on OSX. Like a cheap Time Capsule.
评论 #5145408 未加载
AcessoNegadoover 12 years ago
Would it be much different with other distributions folks are using on the Pi? I would think BSD/Unix variants would be different.<p>Also does Raspian support a lot of USB drives out of the box?
评论 #5144864 未加载