A Look at FreeNAS Server 214
NewsForge (Also owned by VA) has a quick look at FreeNAS, an open source network attached storage server that can be deployed on pretty much any old PC you have sitting around the house. From the article: "The software, which is based on FreeBSD, Samba, and PHP, includes an operating system that supports various software RAID models and a Web user interface. The server supports access from Windows machines, Apple Macs, FTP, SSH, and Network File System (NFS), and it takes up less than 16MB of disk space on a hard drive or removable media."
NAS (Score:3, Insightful)
Re:NAS (Score:3, Informative)
Re:NAS (Score:2)
Re:NAS (Score:3, Funny)
That sure is a lot of p0rn. You might want to get some help.
Re:NAS (Score:3, Funny)
Re:NAS (Score:2)
I'm looking into building another box in a similar configuration using a SATA Raid controller that supports multiple cards and online expansion.....
Re:NAS (Score:3, Informative)
Firstly, make sure your rebuild isn't being throttled. cat /proc/sys/dev/raid/speed_limit_max will print out the maximum speed (in kb/sec) the array will rebuild at. Use something like echo 100000 > /proc/sys/dev/raid/speed_limit_max to set it suitably high so that the throttling won't occur.
Secondly, the limiting factor in your rebuild speed w
Re:NAS (Score:3, Informative)
Re:NAS (Score:5, Informative)
A lot of the SOHO NAS boxes run off of ARM processors, which are both power efficient but also able to handle the basic I/O needs of a NAS box. Granted, SOHO NAS boxes aren't meant for large companies or large workgroups, but would fit in as a departmental file server for testing or near-distance storage.
Higher end NAS boxes due use more powerful servers to handle 1+ Gigabit Ethernet connections, iSCSI or Fibre Channel, multiple PCI-X busses or multiple 4-8x PCI Express drops, and large amounts of RAM for caching and such. For instance, the latest corporate NAS boxes fron Snap/Adaptec use Opteron processors.
I've ran a small workgroup file server off of a Pentium Pro 200/256K with 256MB of RAM and several 9GB SCSI drives in RAID-5 and the bottleneck was definitely the two 100Mbps Ethernet connections. Of course, YMMV.
Not necessarily.... (Score:4, Informative)
Re:Not necessarily.... (Score:2)
::shakes head:: (Score:2)
Re:::shakes head:: (Score:2)
Re:::shakes head:: (Score:2)
But Promise, HighPoint, LSI, Adaptec, etc. and the others could care less. They'll setup something that works on your disks and store some configuration on the drives, and the rest in NVRAM, but good luck moving th
Re:::shakes head:: (Score:3, Informative)
I haven't dealt with software RAID enough to know how accurate that statement is.
Speaking as someone who has moved a single array between about 5 machines over its lifetime, including from kernel 2.4 machines to kernel 2.6 machines, I'd say that if you've got a Linux software RAID array, it'll probably work on any Linux machine you can find to plug it into (assuming
Re:NAS (Score:3, Interesting)
Gigabit ethernet is pretty rare on the type of old hardware that typically gets pressed into NAS usage. It would not take too much processing horsepower to saturate a 100 Mb/s link. If, on the other hand, you system has gigabit built-in, I suspect that it has a processor attached that can handle it.
But, if you are the type of guy to attach a PCI gigabit ethernet port to an old P-3, then the processor might not be able to keep up.
And now for something completely differ
Re:NAS (Score:2)
a P3 is ludicrously underpowered? since fucking when, if i may be so inquisitive?
Re:NAS (Score:2)
But we
Re:NAS (Score:2)
But if youinstall a large scale RAID array and four gigabit eethernet interfaces and hook it up to all 250 PCs in an office where all therusers keep their data on the server then yes you might want a modern server class computer.
Software (Score:2)
Ooh (Score:4, Interesting)
Re:Ooh (Score:2)
I know it costs money.... (Score:5, Informative)
Re:I know it costs money.... (Score:4, Informative)
It runs linux out of the box, but I've flashed mine to run a full debian system, only 32MB of RAM is the main draw back. But its attached to 3 USB drives in a software RAID, and a CD storage device, and a thumb drive (for the main system - so the disks don't get hit by every cron job). Plus plugging my digital camera into it downloads all the photos into dated directories on the 'photos' share. It also serves some web pages, mainly a cgi interface to eject disks from the CD storage device.
Works well for me, and it's a reasonably cheap and pysically small (and very underpowered CPU/memory wise) linux machine with 2 USB ports and a network port.
Re:I know it costs money.... (Score:2)
*nods enthusiastically*
I've got one of these too --- it's awesome. It's my house server; it's got 250GB of disk, and it does firewall and routing services with two ethernet interfaces, it's my internal file server via NFS, my ou
Re:I know it costs money.... (Score:2)
Re:I know it costs money.... (Score:2)
Yup --- an RTL8150 widget. It Just Worked, too.
Cron jobs? (Score:2)
You don't need to run slocate on a system you never use for interactive processing.
Hell, don't run anything not directly related to moving data in and out of the system. Demand-based load is easy to model and there's less chance it'll fail unexpectedly (like when you're on vacation or something).
Re:I know it costs money.... (Score:2)
I don't understand why there aren't any products like this. I can buy an adapter that goes into 3 5.25" drive bays and
Dedicated solutions are often better. (Score:5, Informative)
Dedicated storage systems are often designed in such a way so as to minimize the amount of power they consume. Some use several ARM or MIPS CPUs, which can offer suitable processing capabilities without the immense energy consumption of even a single x86 chip. The dedicated hardware itself is designed so as to eliminate unnecessary circuitry.
When it comes to users who have hundreds of these machines, the energy savings of a dedicated system often far outweigh the initial savings of going with a PC/FreeNAS-style combination. Even smaller-scale users, who may only have a single machine, will notice the savings if they choose to use their system for several years.
Re:Dedicated solutions are often better. (Score:2, Insightful)
Re:Dedicated solutions are often better. (Score:2)
It's sad they're not being used. But I wouldn't just plug the whole bunch either, the electricity bill would be ridiculous.
Does anyone know of an easy way to reduce CPU/disks power consumption? These machines could definately serve some purpose, but they shouldn't end up costing more than a new
Re:Dedicated solutions are often better. (Score:3, Informative)
If you have a "overclocking" mobo, you can probably quite easily underclock it as well. If, on the other hand, your mobo says "Dell" on it, then you probably don't have access to the BIOS screens necessary to do that. You can find Windows software that might be able to do the job (depending upon chipset), but who runs Windows for a NAS server?
But, with that being said, modern hardware is better. Taking an Athlon 64 and cranking the clock speed down by a factor of 10 and dro
Re:Dedicated solutions are often better. (Score:2)
Re:Dedicated solutions are often better. (Score:2)
Re:Dedicated solutions are often better. (Score:2)
Re:Dedicated solutions are often better. (Score:2)
I was under the impression that on everything newer than a 486 (or original Pentium or something) the PCI bus was clocked independently of the FSB. At least, I'm fairly certain it is on my motherboard, since it's designed to be able to overclock the FSB without screwing up the bus (and, IIRC, I could independently overclock the AGP bus, if I were so inclined).
Really? I could have sworn that my Ath
Re:Dedicated solutions are often better. (Score:2)
Re:Dedicated solutions are often better. (Score:2)
Re:Dedicated solutions are often better. (Score:2)
A regular Pentium 4 draws on the order of 65 watts [intel.com]. At $0.12/kWh, that's .065kW*24h/d*.12$/kWh*365d/y = $68 dollars per year. Even if the custom NAS's CPU runs on air, you'd have to run the Pentium system for a long time to make up the difference in cost.
Re:Dedicated solutions are often better. (Score:2)
With my earlier estimate, (150-20)/1000*24*365*.12 = $137 dollars per year. Where are you finding these dirt-cheap NASes?
Re:Dedicated solutions are often better. (Score:3, Informative)
Who told you that? Maybe for the little tiny junior-grade ones that you can buy from linksys and whatnot..
Re:That's not the case at all. (Score:2)
Because nothing says Return On Investment like spending $1,000 over the cost of a standard PC for small-office file and print sharing in order to save $10 per month.
Hope you plan on using the same storage appliance for 8 years; I personally don't have much use for the 18GB drives I had in 1998.
User Security Gives MS A Run For Its Money (Score:5, Insightful)
Re:User Security Gives MS A Run For Its Money (Score:2)
A cheap box like this can actually help, by providing good guides on how to properly authenticate the server, and not forcing users to home-brew their SSH or Kerberos or NFSv4 or Samba or Netatalk setups from scratch, on OS's that do some of them well but not others.
OpenFiler? (Score:4, Insightful)
Re:OpenFiler? (Score:2)
o Linux based
o iSCSI target and initiator (SAN) support
I've been using the "Enterprise iSCSI Target" [slashdot.org] for Linux for a while now and it works pretty good. I serve up LVM slices to a Windows 2000 Server without trouble. The combination of EIT and LVM provide a lot of high end SAN features.
With redards to SAN features, I'm really looking forward to a unification of SCSI target drivers on Linux (http [berlios.de]
Re:OpenFiler? (Score:2)
Re:OpenFiler? (Score:3, Informative)
Re:OpenFiler? (Score:2)
Re:OpenFiler? (Score:2)
Openfiler is a pre-configured copy of CentOS. I assume that how they do this is with a series of packages in the base distribution. It has a lot of features, because it is a full Linux distro.
In FreeNAS, the OS is a kernel and a compressed (RO) ramdisk that is normally stored on a CF/SD card. The whole OS takes up less than 16mb of space. The kernel boots and loads the OS into RAM. It then loads the config
Re:OpenFiler? (Score:2)
Re:OpenFiler? (Score:2)
How a real network file system? (Score:5, Interesting)
Re:How a real network file system? (Score:2)
jh
Google is your friend (Score:4, Informative)
Knoppix and OpenAFS [kom.aau.dk].
Tell me how well it works.
[OT] Re:How a real network file system? (Score:2)
A question for anyone who feels that they have a decent idea of what's going on these days when it comes to network filesystems... what do you think is the best candidate for the network filesystem of the future, particularly from a UNIX point of view? NFSv4? Some AFS descendant? I watched Coda for a while during its active development but it seems to have grinded to a near-halt and has always seemed fragile.
Great, but typically UNIX (Score:3, Insightful)
I was amused that he could screw up the installation so easily by just creating a local user and it lacked auto-configuration. Imagine that in a review of a commercial product. "Easy to use and install, but it locked me out of my system and required a re-install and it couldn't find my network card".
Fact is, folks just expect open source to be a pain in the ass to work with and require tweaking or extreme attention to detail. It's almost a right of passage. And users accept and embrace it on a scale they would NEVER accept from a commercial product - particularly 'evil' Microsoft.
Anyway, nice open source addition, but it definitely belongs in the open source group (as in not-ready-for-normal-people group).
Humm... (Score:3, Insightful)
I would think that a home NAS is a case where I can toss in any spare harddrive i find, plug it to the network and that's it. Not a whooooole PC.
Cheap hardware anyone? (Score:3)
Re:Cheap hardware anyone? (Score:2)
I'm running exactly what you're describing on old p3-500's without a hitch... they're free to the office they went in because they were decommisioned from service, and rather than donating aw
Re:Cheap hardware anyone? (Score:2)
1. they are rather large.
2. they are noisy.
3. they consume too much power. I want to run a NAS 24-7.
Someone mention the KuroBox a few posts up from me. The KuroBox looks like what I am looking for but I am reading threads for other options.
Re:Cheap hardware anyone? (Score:2)
bullshit. i've got an old sff [ramel.free.fr] as a server and ipaq [winsupersite.com] as a workstation -- very small, can't hear them, draw ~30W each.
Re:Cheap hardware anyone? (Score:2)
My most recent "standard setup" includes EPIA M1s in Aspire cube cases - http://atic.ca/index.php?page=LongDesc&sku=27476 [atic.ca]. Use a LianLI EX-23B for the RAID drives and the space inside the case for the system HD, and you're ready to fly.
YMMV, and all that.
Re:Cheap hardware anyone? (Score:2)
Re:Cheap hardware anyone? (Score:2)
Otherwise, I'd say build a system around a Via Epia, but those are about $100+ just for the mobo/CPU, and might not be able to beat the Geode in terms of power consumption.
Re:Cheap hardware anyone? (Score:2)
OK, a serious question (Score:5, Insightful)
I see the "cheap" drive sharing boxes and the "cheap" printer sharing boxes but, given how easy it is to set up SAMBA on a VERY low end device, why don't we see any that do both?
And while I'm on the subject, why don't we see cheap server appliances for other services? Is it lack of market demand that keeps me from being about the buy a low power, cheap apache server in a box the size of a cable modem? Same for proftpd and squirrelmail/postfix/mailman? Seriously, I know the market is limited, but it's hardly non-existent! Especially if they made it easy to set up and use, then ANYONE could be an end point. That is the real promise fo the Internet to me.
And before I get those "just do it yourself on old hardware" replies, I have already done so and posted the how-to's for others [digitalelite.com]. What I'm asking for is not an easy way to set up apache. Apache is pretty easy out of the box. I'm asking for an easy, low-power apache appliance that EVEN a relatively non-technical person can set up and use. Seems cool to me. Especially coupled with a cheap DNS appliance box.
These services beg for hardware modularization.
Tom Caudron
http://tom.digitalelite.com/ [digitalelite.com]
Re:OK, a serious question (Score:3, Insightful)
Because if they put them in one box, you'd only have to buy one box. And then you'd only have to upgrade one box in a few years. The way it works right now, they can sell you two boxen (and if you'
Re:OK, a serious question (Score:4, Informative)
This one [buffalotech.com] for an example. I should know, I've written reviews for a dozen or so of these things...
Re:OK, a serious question (Score:2)
Re:OK, a serious question (Score:2)
It's probably firstly because Unix printing support is still a HUGE fucking pain in the ass, and secondly because the average consumer has no need whatsoever for something like that.
See, most people only have one PC in their house. If they have more than one, they can handle having them both on if they are even using filesharing.
The printing thing would be a giga
Re:OK, a serious question (Score:3, Interesting)
I don't think that there is
Re:OK, a serious question (Score:3, Informative)
You missed that one. I have a foster home. I load the MP3's, drivers, and photos on a NAS instead of on some local drive. I also put the My Documents on the NAS. The shares are password protected and I can use any machine handy to access it. Sometimes I use a laptop. So
Arrrg! Samba is not acceptable for macs! (Score:5, Informative)
Look. Just because MacOS X supports SMB, does not mean that SMB is an acceptable solution for file-serving to MacOS X clients.
Netatalk has some of its own crankyness (and if you run Debian/Ubuntu, you need to rebuild the debian package with SSL support or passwords are transmitted in the clear, thanks to the OpenSSL/GNU idiocy), but it doesn't have nearly the basic functionality problems Samba does for Macs.
Sidenote: looks like they "borrowed" the complete user interface from m0n0wall...and it looks like they MIGHT use netatalk...googling turned up some hints that netatalk might be built-in.
Use a spareimage (Score:3, Insightful)
I'm also working on some docs on how to do this with rsync, which actually works much faster if you don't need to use it interactively (big if).
samba doesn't do +2GB (Score:2, Informative)
...and useless because Samba has a maximum filesize of just 2GB, whereas Appleshare 3.1 supports a maximum [volume and file] size of 8 TB.
Re:samba doesn't do +2GB (Score:2)
Baloney - I back up to an 80GB sparseimage on a samba share every night. You may be thinking of FAT16.
Re:samba doesn't do +2GB (Score:5, Informative)
Re:samba doesn't do +2GB (Score:2)
Re:Arrrg! Samba is not acceptable for macs! (Score:2)
"The minimal FreeBSD distribution, Web interface, PHP scripts and documentation are based on M0n0wall."
It's not like they don't give credit...
Re:Arrrg! Samba is not acceptable for macs! (Score:2)
SMB has issues. You're right about that. Netatalk has issues. Whether netatalk is a step above SMB is probably a matter of taste. I've used netatalk with about 100 macs for 7 years or so, and it worked just well enough to convince me not to buy an xserve until this past year. Much better, though netatalk was a huge step above the Apple not-even-remotely-servers you could buy when I started.
That said, the naming issues that SMB exposes aren't really a problem if you're storing audio, video
Re:Arrrg! Samba is not acceptable for macs! (Score:2)
Re:Arrrg! Samba is not acceptable for macs! (Score:2)
Hardware for 8-10 drives? (Score:4, Interesting)
I've been building linux boxes for this and have used Antec cases in the past with 120mm fans. Proper drive cooling and monitoring are very important. Anything beyond 5 or 6 drives means using the 5 1/4 drive bays and that gets old fast.
What controllers? Cheap SATA controllers are a must. I couldn't care less about the $200-$400 controllers. Some controllers don't do dma correctly when you have more than one in a machine. I have played with the Syba SD-SATA-4p under Linux and it works okay (though it does not work with one amd64 machine that has a Promise ATA controller).. Price is right at about $15-$25 for four ports ($4-8/port!). I haven't tried two or more in the same machine. There does not seem to be any SMART support in the current linux driver.
10 320 gb drives = $1150 = 36 cents/GB.
$500 machine + $1150 = 51.5 cents/GB.
Re:Hardware for 8-10 drives? (Score:4, Interesting)
Dual-P3 1Ghz
1GB of RAM
4x250GB SATA - Linux Software RAID5 - New array
2x160 SATA - Linux Software RAID1 - Old Array
The neat part is the external SATA. I planned this for about a year and waited till all the parts came to the right price point:
The 4-250GB drives are in one of these:
http://www.cooldrives.com/icqudrmusaen.html [cooldrives.com]
Connected to my 4-port SATA adapter using one of these:
http://www.cooldrives.com/seatamcasaii1.html [cooldrives.com]
and one of these
http://www.cooldrives.com/sata-multilane-pci-adap
The raid card is a cheap rocketraid 1640. I'm not a fan of the halfass raid that is thrown on the low-end SATA cards but I needed the ports.
My next step is to add another configuration similar to this one in the same server.
Re:Hardware for 8-10 drives? (Score:2)
From the changelog for Smartmontools 5.36:
Re:Hardware for 8-10 drives? (Score:2)
Areca RAID6 controllers.
Or the latest 3Ware SX series.
But I'd choose Areca today. RAID6 is a huge improvement over RAID5 - in everyday use and even more so when you're actually running with a degraded drive or rebuilding it online.
The 12-port PCIe version is just 799$.
naslite (Score:2, Informative)
Yes, but can you? (Score:2)
Um, in THIS story. Nobody has asked it in THIS story yet.
SMB,NFS,AFP-Mmmmm (Score:5, Interesting)
Netatalk works surprisingly well with modern Samba versions (post 3.0) that support UTF-8 (and now even includes a netatalk module to ease compatibility), and both samba and netatalk hide one another's specific data from the other so that resource forks are kept and if the mswindows option is enabled in netatalk, the worst character problems (?\ etc in filenames) are safe.
What I would really love to see is a system that reliably combines these, PLUS NFS for Linux shares. The FreeNAS looks good, but seesm to be a bit on the young side without decent Mac support, and god knows there are enough Mac using companies that don't want to have to fork over money for XServes.
Re:SMB,NFS,AFP-Mmmmm (Score:2)
Recovery (Score:4, Interesting)
Is it safe? What can you do with it? (Score:2)
If I understand this correctly, this woul
Re:Neat but.. (Score:4, Interesting)
IOW, this is a good time for Linux to create small appliances like this targeting a xen base.
Re:Neat but.. (Score:2)
yeah and you know whats even funnier (in a sad clown way)? that this FreeNAS thing is built around FreeBSD [freenas.org]. now wheres my LART...
Re:Neat but.. (Score:2)
Just for the record, I have coded in the linux Kernel (side work and have submitted patches for Linux), I have done work on KDE and perl. Yet, I do not find it really all that necessary to be derogitory towards others that do not say thi
Re:Neat but.. (Score:5, Insightful)
This is just a specifically-configured FreeBSD-based distrobution. It makes one moderately complicated setup easy enough for a causal computer dabbler. (Not quite a novice, but not an expert either.) It's useful if it can do a good job, because it makes it easier for people to set this up, with less time, effort, and knowledge on their part.
Which means they can focus their time, effort, and knowledge on something else.
Re:Neat but.. (Score:4, Insightful)
Several years ago I tried to set up my Linux box as an internet router/gateway, using IPTABLES and what-not. I failed just through sheer lack of time to commit to learning all the stuff I'd need to know to do it properly. About that time, the first "Cable/DSL routers" came on the market, and made moot my need.
Now, however, it is very easy to configure the various widgets that you'd need for this task because tools exist on (e.g.) Fedora [redhat.com] to make it so.
For myself, I'm glad I can put the effort into learning more in-depth some of the things I can do with Linux, and yet those things I find tedious, or don't have the time to do, have "easy-to-use" tools handy.
Re:Or the much better NASLite (Score:2, Informative)