Mac OSX – OpenFiler vs FreeNAS for Network Attached Storage

filesystemsmac-osxnetwork-attached-storageopenfilertruenas

I'm a photographer and I have a requirement find a better method of storing my photo library.

Currently I use a Macbook Pro and 6 external drives connected via USB2 or FW800. They are divided up in pairs, one is a copy of the other synced manually with rsync. It's slow.

I am considering building a NAS box and using two 2TB drives with software RAID to mirror the drives, and consolidating my library to one central location that I can access via 1gb lan, or Wireless network when convenient.

I would like to employ FreeNAS as I understand it supports AFP.

I don't know how software RAID works, hoping that at any time I can pull the master drive off and plug it into the macbook via eSATA so I can work with much faster speed… plug it back into the NAS box and have it sync the drives if necessary.

So, I'm seeking the best method and advise on my project. Should I consider FreeNAS or OpenFiler, and what file system should I choose for the drive so it plays nice with OSX when plugged in locally via USB, eSATA or FW800.

Many thanks

Best Answer

I know you're looking for software raid, but I do highly recommend Adaptec SAS HBAs like the SAS-2405. Adaptec works with the FreeBSD community to support their drivers too (FreeNAS is based on FreeBSD). And you can usually pick them up at a reasonable price on eBay. Good hardware RAID will usually beat the pants off software RAID, and may add hot-swap or other features.

That said, there are several ways to mirror a drive in the software. If I remember correctly the web interface only provides one method, the most commonly used, and simplest. For wireless connections it's plenty fast enough. It will not keep up with gigabit ethernet, but may be fast enough for you regardless.

FreeNAS does support AFP; and both FreeNAS and OSX support CIFS (aka SMB) which makes them interoperable with Windows systems. You could also use iSCSI, but I wouldn't recommend doing so.

Pulling drives out of the array constantly is asking for trouble. First off, if you pull the drive and make changes then plug it back in, the array is going to assume those changes are corruptions and overwrite them. You may also introduce stability issues, but data loss from the previous problem is highly probable.

I use FreeBSD daily, so I'm biased to FreeNAS; OpenFiler would works as well though (it's based on Linux). OSX's Darwin base is also based on FreeBSD.