Up

Raspberry Pi NAS

MyBook Duo and Raspberry Pi

Network Attached Storage (NAS) made from a MyBook Duo RAID drive and a Raspberry Pi.

Features:

Setup requires first connecting the MyBook Duo to a Mac (a PC running Windows should work too, I guess) where you configure it to use RAID-1 using the Western Digital software. Then connect it to the Raspberry Pi or another Linux computer and partition it using gdisk. The RAID volume will show up as a single USB drive. Then create a file system (or several) on the partition(s).

The Raspberry Pi boots from a microSD card. This makes it very convenient to upgrade the OS, since I can easily clone the card and upgrade and test the clone on a different Raspberry Pi before switching. My initial OS is Raspbian "stretch" from 2018-11-13.

The beauty of this approach compared to buying a proprietary NAS is that you can use any file system supported by Linux, and you can tweak the configurations for NFS, Samba, FTP, etc to your heart's delight. And it's easy to also run a DNS resolver on it, a local mail relay, a WWW server, an IRC server, or whatever you like.

Note: this replaces an older much more heavy-weight custom NAS server from 2010.