The Synology DS1511+ RAID NAS & Time Machine on Mac OS X Lion

I recently suffered one of those storage network failures that you have nightmares about.  After spending more than $1000 on a NetGear ReadyNAS NV+, I had a catastrophic failure that cost me all of the data on the system.  Believe it or not, it was a single drive failure – exactly the type of problem you spend money on a RAID system to survive.  Unfortunately, in my case, it didn’t.

On the bright side, I had the opportunity to rethink and rebuilt my storage and backup solutions from scratch.  In a recent blog post, I described my new network and storage topology.

Synology DS1511+ to the Rescue

The Synology DS1511+ is a great device.  It sits on your Gigabit network, handles up to five SATA hard drives, and can act as a wide variety of servers for your network.  I configured my with five 3TB Western Digital Caviar Green drives, for 15TB of notional storage, 8.3TB of usable storage.

The Synology supports “dual drive redundancy”, so for the price of 2 drives worth of storage, you end up with protection for your data even if two drives fail simultaneously.  Needless to say, I went for that option.

The industrial design of the box is well done.  You do have to break out the screwdriver to install the drives into trays (not quite as nice as the Drobo FS plug-and-play SATA drives), but the case itself is small, quiet and black.  It also has nice locks on each drive bay, which has made it “child proof” for my 2 year old who is unfortunately fascinated with the blinking lights.

The Synology box is incredibly fast.  First, it supports two Gigabit Ethernet ports, to establish connections from multiple clients independently.  But even from one machine, it’s wicked fast.  Simple Finder copy of a 500MB file to the drive takes under 6 seconds.  I was able to back up 2.7M files totally 4.05TB in size using Time Machine (usually dog slow) in about 26 hours.

The Synology management software is Windows 2000 like in terms of its user interface and incredible breadth of options.  Needless to say, I only use about 1% of them.  I did run into one issue, and hence the title of this blog post.  Configuring the box for Time Machine on Mac OS X 10.7 Lion was non-trivial.

Time Machine on Mac OS X 10.7 Lion & Synology DSM 3.2

Time Machine, unfortunately, is the most consumer friendly solution for incremental backup on the Mac.  Unfortunately, if you have multiple machines, you run into a small issue: Apple designed the software as if it “owns” the entire drive you point it at.  As a result, you can’t just point all your machines at a single network drive without a number of bad things happening.

Instead, you have to somehow convince Time Machine to only use part of the drive.  This turned out to be quite an issue for me, since I wanted to be able to backup my machine (~4TB) as well as my wife’s MacBook Pro (~500GB).

Synology has published documents on how to configure the box for Time Machine, and has designed it’s software around a very clever option.  The basic idea is that you create a different “user” for each machine you want to back up with Time Machine.  For each user, you assign a limited quota, and then you tell Time Machine to use that user for the Synology volume.  It actually works quite well, although it feels a little strange to create separate user accounts for each machine, on top of accounts for each user.

The Undocumented 4TB Limit

Unfortunately, I ran into an undocumented issue.  When I tried to set the quota for my machine to 6000 GB (in general, you want to give 50% extra room for incremental changes / backups), Time Machine would only see about 1.8 TB.  When I checked the DSM 3.2 interface, I found indeed that it had reset 6000 GB to 1804 GB.  After trying to set it several times with the same issue, I deduced that the maximum limit was 4096 GB, and that it was “wrapping” around that number.  Sure enough, entering 4100 -> 4, and entering 4096 actually turned to 0, shutting off the quota entirely!

After some back and forth with Synology customer service, they finally admitted this was true.  (The first two times, they claimed that the issue was with Mac OS X 10.7 Time Machine not respecting quotas.)  I hope they fix the software to at least tell the user when they type a number over 4095 that they’ve exceeded the limit.

The Solution: Disk Groups, Volumes & Shares

To solve the problem, I reverted to a more old-fashioned solution: partitions.  Of course, with a sophisticated, modern RAID box, this was a bit more complex.  The Synology DSM 3.2 software supports three relevant concepts:

  • Disk Groups:  You can take any number of the drives and “bind” them together as a disk group.
  • Volumes:  You can allocate an independent “volume” of any size over a disk group.
  • Shares:  You can specify a share on a given volume which is available to only certain users.

The key here is that normally you use quotas to limit storage on shares for specific users.  But since I was looking for a “6 TB” share, there was no way to do this.  By default, shares get access to the entire volume they are on, so the key was to repartition the box into separate volumes.

As a result, I configured my box as follows:

  • One disk group across all 5 disks, configured for dual drive redundancy using Synology Hybrid Raid (SHR)
  • Three volumes: one for my iMac’s time machine (6000 GB), one for my wife’s Macbook Pro (1000 GB), and one remainder for network storage (1.3 TB)
  • For each volume, I configured a single share, without quota limits.  I gave my account access to my backup share, my wife her backup share, and gave everyone access to the general media share

Works like a charm.  My iMac sees the 6TB volume for Time Machine, mounts it as needed, and backs up every hour.  Thanks to the incredible Synology speed, most incremental backups happen in the background in seconds without any noticeable performance lag.  In fact, the original backup of 4.05TB with Time Machine took about 26 hours.  On my NetGear ReadyNAS NV+, that same initial backup took almost a week.

Recommendation: Synology DS1511+

I have to just say that, despite some back and forth over the Time Machine issue, the Synology website, wiki and documentation are all well done.  They are clearly responsive, even responding to my issues over Twitter.  Given the industrial design, features, and performance of the box, I have no trouble recommending the DS1511+ to anyone who’s looking for a large (10TB+) network attached storage solution for backup of a mixed network.

Disclosure: Synology was kind enough to provide me the DS1511+ free of charge given my difficult situation.

9 thoughts on “The Synology DS1511+ RAID NAS & Time Machine on Mac OS X Lion

  1. Is this possible:

    You create 2 volumes. Later, you decide to delete one of them. Then, increase the size of the other volume while retaining its existing data. Will that work?

  2. BTW, great article!! I also have a need for a Time Machine allocation of about 6TB. I sent Synology a question on if and when this issue will be resolved. Thanks!

  3. I really wish Synology gave me with a 1511+ FOC for my troubles as I hit exactly the same problem with the 4TB disk quota & even posted about it on the Synology support forum back in October 2011. Evidently the version of disk quota in the Linux kernel that is the basis of DSM only works in 32-bit space hence the 4TB limit. I too spent time trying to figure it out before I got the definitive answer from Synology support. This really should be documented in the user guide. Better yet they should start working in 64-bit as file & disk sizes just continue to increase.

    I also seem to still have a problem even now that I disabled quota for my backup user that despite there being 1TB free that Time Machine tells me that there is only 171MB which is insufficient for the backup. When I view the disk usage of the backup user it is 3991.356GB which is suspiciously close to 4TB to lead me to believe that I have either hit another 4TB limit or that a 4TB disk quota is still active.

    Notwithstanding the above I think the DS1511+ is a great device & we now have two in the home office & even have a DX510 expansion unit on one of the them so we have 35TB of disks spinning (10x2TB & 5x3TB). The performance is exceptional with only the 10K Velociraptor in my Mac Pro actually being faster than the network volumes in a RAID-5 array on the DS1511+

  4. Because of this article I picked up a DS1511+ in order to set it up with multiple volumes one for each individual Mac.

    However, I don’t see how to accomplish this.
    The TM option on the DS1511+ only allows specifying a single share on a single volume.

    Would it be possible to get more step by step details on how you accomplished it?

    Thank you.

    • I tried to describe this accurately in the blog post:
      – I formatted the 5 drives to a single volume of 8.3TB
      – I created 3 shares, one for my Time Machine backup, one for my wife, one for shared file storage
      – I did *not* use any of the Synology Time Machine features or settings, at all. That’s the problem.
      – I just went into Time Machine and told it to use the shared 6 TB volume as the backup site

      That’s it.

      Adam

      • Thanks Adam,

        I had found it vague and I had thought that your wife was using Time Machine on the same NAS. Also wasn’t sure if you had used the Synology Time Machine features.

        Cheers,
        Erik

  5. Adam,

    I share your experience; I have exact configuration except that I have 4 x 3TB drives in SHR, and the other on its own for backup purposes.

    I am curious; did you disable the idle time on the WD Green drives using the WDIdle3?

    How are these drives doing so far?

    How is the noise level?

    Did you upgrade to DSM 4.0?

    Does your system Hibernate?

    Many thanks in advance

  6. Pingback: Home Media / AV Configuration (2013) | Psychohistory

Comments are closed.