When we last left our hero, he was putting a new SSD into his box to make iSCSI work better when backing up Macs on the network.
The good news is that it worked terrifically well: the backups from the wife’s Mac to the iSCSI volume work very quickly now. You never even really notice that it’s happening, for the most part. The bad news is that it worked so well that she has now come to expect that backups will occur painlessly whenever she opens the lid on her laptop (i.e., no messing around with external USB drives), and so that volume needs to be there all the time.
This is a problem for me, as I often have very serious work to take care of on the machine that’s hosting those file systems. Somehow, I managed to convince her that it would be a good idea to let me buy even more hardware to put in the office so that we could have a dedicated file serving machine. The aim was to get something that would be relatively cheap, but still be able to handle duties as a file, print, and Web server for the family. I started out with the following components:
A dual core CPU seemed like plenty for what this box needs to run, and the new 45nm AMD CPUs run pretty cool, which means I can get away with a 400W power supply. The 160GB drive is for the root filesystem. It’s totally overkill for that, but the price differential between an 80GB drive and a 160GB drive was so small that it didn’t make any real difference, and I can keep a ton of boot environments around. I got 4GB of memory, but in the end I put 4GB from the other machine into this one, so that they both have 8GB. Caching is good. The motherboard that I selected didn’t have enough SATA ports for my taste, so I got the PCI card to add a few more. It’s a Silicon Image 3124, which is well supported by OpenSolaris.
I’ve been having good luck with Antec cases, although every now and then I think about switching this one and the Antec 900 that’s currently surrounding the other machine, just to get more slots for the disks.
I’ve not been having good luck with motherboards. The ASRock board was DOA from newegg. The definition of buzz kill: getting your new computer put together and when you push the switch nothing happens. I have friends who’ve had good experiences with ASRock, so this is probably just a fluke. Frankly, there’s so much junk on motherboards these days, I’m surprised they’re ever not DOA (that’s “AOA”, I guess.)
One quick RMA (this is why you use Newegg) and a purchase later, I got an ASUS M4A785TD-V, which worked right out of the box. Installed build 129 of OpenSolaris in no time flat (from a USB thumb drive — note that the system has no optical drive) and I was good to go. I moved the drives in my big pool over to the new machine, spent an hour messing with the cables to make them “neat” and I was done with the hardware.
Of course, the ZFS stuff was easy as pie: power up the machine, let it boot, do
zfs import tank and the pool was there. I took the time to switch from
iscsitgtd to the new COMSTAR code, but that was easy. Frankly, getting the printer to work (and sharing it with the other computers in the house) has been way harder than dealing with the 4TB storage pool.
The total cost ended up being less than $500 (and some components look like they’re even cheaper now!) The box has been sitting in the corner, quietly serving stuff for about a month now. The only down time was during Christmas day when I sshed in to do a
pkg image-update because build 130 was out. If you don’t think that’s nerdy enough, I was typing on at least two other computers, setting them up for family members at the same time.