categories

archives

nas-ing it up

Better Half and I have been searching for a NAS solution for a while – we both have maintained our own, separate “My Documents” over the years, and their us undoubtedly a considerable amount of unnecessary overlap. On top of that, backing things up is always a good idea (especially when your hard drive decides to go and turn into an oversize paperweight, like mine did), and a NAS seemed like a generally good solution on both counts.
Unfortunately, they are a little expensive – sure, $250 can get you a two-enclosure NAS with a single 1TB drive installed, but that is still a fair bit of ammunition (less, these days, but still).
Instead, we stumbled across an even better solution: FreeNAS. After I purchased my new, screaming XPS system, my old Sony COTS POS kind of lay by the wayside… After a while, the idea of using it as a printserver struck me, so I slicked its install of XP, reinstalled that, stuck a wireless dongle in it, and left it by its lonesome. I tried to share some of its 80GB drive for use as a network drive, but given that I was doing so over a network with Windows XP, I was pretty doomed to begin with – it was a lucky day when the printer operated without having to reboot or preform mystic incantations.
At any rate, dedicating a whole desktop to being a printserver is something of a… waste. However, if you take that 80GB drive, add a 160GB and a 300 GB, and throw in a specialized build of FreeBSD, you have yourself half a terabyte of networked storage, accessible by any computer on my home network.
I will confess – this was my first install of any operating system whose name did not start with “Windows”. However, that said, even an idiot like myself could muddle through this – if you are capable of burning an *.iso image to a CD-R, and then following relatively simple instructions, you should be capable of getting a FreeNAS server up and running within about an hour, tops. There are a few oddities in the installation – be sure to read the instructions through once, carefully, before you embark on the actual journey – but once you figure out the idiosyncracies of the software, it is quite easy to deal with.
As always, there are a few warnings – FreeBSD’s native (and really only-supported) drive format is something called “UFS” – whatever drive you install it on will need to be in that format, in its entirety (it will take out any partitions when it formats the drive). That said, you can in stall it on a flash drive or USB thumb drive, as long as the drive stays plugged into the computer. Apart from that drive, though, you can use either UFS or EXT2 (which has a little wider adoption rate) for your backup formats. Also, transfer speeds will not be exceptionally inspiring, even over a hardwired 10/100 network cable. Streaming, this system will not do, but it will perform backups just dandily. You need to understand how *nix systems identify, mount, and share drives – unlike Windows, none of that is automatic, and all of it is required for the system to use and share the drive. Also, as with all *nix systems, hardware can sometimes be… difficult. My old Linksys wireless dongle is not compatible with FreeBSD or FreeNAS because its chipset is one generation older than the available drivers on the ‘net at the moment… guess I will just have to make do with an ethernet cable. Oh, and that whole printserver thing? Yeah, FreeNAS cannot do that, and the development team has no inclination to add it in the future – they are content with simply providing a low-footprint NAS OS, no bells or whistles.
Once you get it all set up, though, you just map yourself a network drive, and off you go.
Is it as an ideal a solution as those available online? Not really, especially given the computer is 8 years old, still uses IDE drives, will probably kick the bucket in the near future, and hardware support is sketchy. But it is free, it is half a terabyte of networked storage, and it was easy enough I could manage it. I consider that a win.
Thanks to Eseell for reminding me to post about this.

7 comments to nas-ing it up

  • I found a set of instructions for installing a print server on FreeNAS. The nice thing about having a *nix server is that even if it doesn’t do what you want out of the box, it’s almost certain that you can make it do what you want with a little tweaking. The instructions are well-written and should be easy to follow even if you’ve never used a *nix shell before.

  • Awesome – thanks for the link!
    Think you could turn up instructions on how to make an old WUSB54AG wireless dongle work with FreeBSD? Everything we can turn up is only applicable to the newer WUSB54G, which apparently uses a very different chipset from its predecessor.
    The trick with any *nix system seems to be knowing which bit to tweak, and not all bits are very well documented…

  • On the wireless front, the only thing I found is that in recent Linux kernels, the same driver that supports the WUSB54G also supports the WUSB54AG. I don’t know if that’s useful information for FreeBSD, though.

  • Yeah, that is all we managed to dig up as well… Apparently FreeBSD is a little more picky aobut chipsets, and there is next to no backwards compatibility with the newer drivers (ural(4), to be specific). Ah well, running ethernet along the edges of walls is not that hard.

  • borepatch.myopenid.com

    Linoge, I’m late to the thread here, but we just got a 1 TB Western Digital NAS-in-a-box that was pretty cheap (~ $200). It was brain-dead simple to set up, although strangely Vista is a little finicky but Ubuntu is completely transparent.
    Your way is pretty interesting, but I didn’t want to assemble a FrankenNAS and had some coin.
    Not sure if mine would handle SCSI over Ethernet, which I bet yours would, though.

  • Hey Borepatch – no worries on being late :) . My Sony may yet kick the bucket, and we would be looking for a new solution. Good to hear that WD still makes relatively good stuff, and it goes without saying that Vista is “finicky”.
    No idea about the SCSI setup, though – FreeNAS uses something called “CIFS” to make EXT2-formatted drives look like NTFS drives to Vista, and I have not had a single hiccup in the past week. Unlike when I was trying to get XP to share a folder with Vista…

  • c’mon back

    So, over a month has passed since I started using FreeNAS – what do I have to say about it? To put it simply, it works. The networked drives are always on my network and accessible from any computer on…




View My Stats