Setting up a Drobo 5N

Vincent Danen

June 26, 2013

There's something about NAS units that makes me happy. Tiny little boxes full of storage and ripe for mucking with since for the most part they run Linux make me all warm and fuzzy and just generally put me in a good mood. Probably because I'm a bit of a digital packrat, so I like having gobs of storage space.

I've played with different NAS units over the years: the D-Link DNS-323 was a favourite for a while due to it's high hackability, and I've used the Iomega Storcenter ix2-200 (it's not awful, but not great). I did some consulting for a friend's company earlier this year and setup a QNAP for them for off-site backups, and when the backup box at my mom's died I picked up a QNAP for myself (I like these QNAPs; very familiar md-based RAID and really quite feature-rich, easier to muck about it in than the DNS-323 I found). The same friend also had two Drobo units at his office, connected via FW800 to a Mac Mini (so two big storage volumes). When I first popped in, one of the units had a failed drive that needed replacing, and within the following 2-3mos, another drive in each unit had died. Zero-dataloss in both cases, which impressed me.

After taking the backup box from my mom's that I replaced with the QNAP, I played a bit with FreeNAS (I've never played with ZFS before so it seemed like a good excuse). I like FreeNAS -- those guys did some excellent work on it, but after doing a bunch of reading I'm glad I went with the QNAP at my mom's rather than building a new FreeNAS-based box to put there. And it didn't seem like the right fit for what I wanted at home (lots of storage with a small footprint, low power usage, and not necessarily having all the bells and whistles that I didn't need). As a result, I did some reading up on the Drobo 5N which sounded like a perfect fit, and having had played with those other two Drobo units, seemed like it could be exactly what I was looking for.

The Drobo 5N is a NAS unit (so only takes power and ethernet as far as "peripherals" go. It's a Linux-based system as well, which meant I could poke around and make it do interesting things. I also like that it can take an mSATA SSD for a caching accelerator, making writing to the device much faster. I also really like that I can hot-swap the drives easily. No downtime, no dataloss, what's not to like?

So yesterday I picked one up and loaded it with five drives and a 128GB SSD.

I'll dispense with the typical "unboxing" that you tend to find, and get right down to making it more usable. Out of the box, the Drobo does SMB/CIFS and AFP, so it works good for OS X and Windows. NFS is available through the DroboPorts site, but after fiddling with it for a bit (and it might just be a quirk of this version or I did something wrong), I wasn't able to write to the shares (only read), so I instead went with using CIFS to mount this thing from Linux instead. When a new version of NFS is available for it maybe I'll try it again. For now, CIFS works pretty nice.

My first steps to make this thing a bit more usable:

Install openssh. This will allow you to log remotely into the Drobo unit. A few things to note: 1) you will need to copy the openssh.tgz to the DroboApps share and then reboot, at which point openssh will get installed and will start, 2) any users defined will by default have access via ssh to the Drobo, 3) root has access with the default password "root" (please please please change this ASAP!), 4) the defined administrator user's username is Admin, not admin.

Once you have openssh installed and can ssh into the box, you can install sudo. You'll need to install it as root (or as Admin, and then login as root and chown everything to root). The app instructions indicate to setup a sudo group, etc. but unless you have more than one user it's probably unnecessary. You can simply edit the sudoers file to give your Admin user sudo access, or a chosen other user (say, joe or mary).

These two I find pretty much critical to install, but some other essential apps to add would be rsync, vim, curl, and nfs (assuming you can make the latter work better than I could). Other nice apps that are available include git and openvpn. You can even install apache and mysql on this thing if you were so inclined (as well as php, python, ruby, etc.).

Because none of these will be in your $PATH, you'll need to follow these instructions on how to get these things in your $PATH if you want to use them easily when you ssh in.

Once you've done all of this, the final steps would be to 1) change the root password if you have not already done so, 2) copy an ssh public key to the drobo and make sure it works for password-less authentication, 3) turn off password-based authentication to the Drobo via editing /mnt/DroboFS/Shares/DroboApps/openssh/etc/sshd_config.

All in all, I'm pleased with this unit. I loaded it with 2x4TB, 2x3TB, and 1x1.5TB (the latter simply because I pulled it from a de-commissioned box and didn't want to waste the drive), and it gave me 10TB of usable space, which is pretty good. In this configuration it will tolerate one dead drive. The data on here isn't critical enough for me to enable the dual-drive-fail mode (which would drop the usable space to just upwards of 6TB; I care more about the space than the redundancy for what's going to be stored on it).

Out of all the various consumer NAS boxes I've used, the Drobo is by far the most simplistic. But what it does, it does extremely well. The QNAP is my second choice. But since my Linux boxen take care of all the other extras that these things provide, the Drobo 5N and its more simplistic interface/feature-set really met my needs.

Leave a Comment

Comments use MarkDown. Need help? MarkDown Cheatsheet