Common Problems with Time Machine and the ReadyNAS

One of the great features of the ReadyNAS line which helps set it apart from its competition its excellent Mac support. All ReadyNAS support AFP (Apple Filing Protocol) and Time Machine. The ReadyNAS uses heavily customised Debian Linux optimised both for the ReadyNAS hardware and NAS use. NetGear is a customer of NetAFP (the company which develops the Netatalk project which provides AFP and Time Machine support to Linux devices).

As of 4.1.8+ (Sparc) and 4.2.18+ (x86) there is now support for Mac OS X 10.7 Lion on all ReadyNAS units.

Following NetGear’s guide, setting up Time Machine on the ReadyNAS is easy. However some of the information mentioned there is out of date (the 2TB limit no longer applies to x86 ReadyNAS which now support Time Machine quotas >4TB if running RAIDiator x86 4.2.16 or later; also the sparsebundle images can be expanded subject to the condition specified in problem #2 below). There are a few problems you may encounter which you should be aware of:

1. Have free space but cannot increase Time Machine quota

This is best explained using an example: Let’s say you have 2x1TB disks using RAID-1 or X-RAID/X-RAID2. Let’s say you have 500GB allocated to Time machine and have you used 450GB on Time Machine and 200GB for other data. You want to increase the Time Machine limit to 600GB. However as you have less than 600GB of free space on your volume you cannot change the quota to 600GB under Backup > Time Machine. There are multiple solutions:

i.) Disable Time Machine on your Macs, delete Time Machine backups, increase TM quota, then re-enable Time Machine and do fresh TM backups. PROBLEM: You lose your backup history. Not very satisfactory

ii.) Disable Time Machine on your Macs, you backup your Time Machine backups (e.g. to a USB disk or another NAS), delete them, increase the TM quota, then copy your TM backups back onto the NAS and re-enable Time Machine on your Macs. PROBLEM: Very time consuming

iii.) If you are comfortable with the command line you can SSH in and fix the problem. PROBLEM: This does require SSH access and you do need to know what you are doing.

a.) First disable Time Machine on your Macs (we don’t want any Mac to backup to the NAS while we are doing this process).

b.) Check how much space you have free on your volume and ensure that the amount you intend to allocate to Time Machine is less than current space used by Time Machine + free space on your volume. You may find my TimeMachineLog add-on useful for this.

c.) Login to the NAS via SSH (help can be provided on the ReadyNAS Forums on how to do this if you don’t know how).

d.) Decide how much space you wish to allocate to Time Machine. In this case let’s say 600GB and set the quota.

To change the quota e.g. to 600GB (629145600KB) type

MDGM-NAS:~# setquota -u ReadyNAS 629145600 629145600 0 0 /dev/c/c

e.) Check to make sure you did your maths correctly (note that the command below requires quotes as shown on x86 and no quotes on Sparc)

MDGM-NAS:~# repquota -as | grep "limits\|User\|ReadyNAS"

f.) Re-enable Time Machine on your Macs

iv.) You could expand an X-RAID/X-RAID2 volume by adding extra disks (if empty drive bays) or replacing existing disks to expand your volume. PROBLEM: This costs money and you may not wish to do this if you still have plenty of free space.

2. Expanded the quota allocated to Time Machine but backups are still limited to what they were before.

Please note that if backing up from a Mac OS X 10.5 Leopard machine the space allocated to the backups cannot be expanded. You could possibly copy the backup sparsebundle to your Mac, expand the sparsebundle, then copy it back to the NAS, but this is quite time consuming.

On Mac OS X Snow Leopard, I believe this limitation has been lifted in one of the Mac OS X Snow Leopard point releases. Consequently it’s recommended you run the latest version of Mac OS X 10.6 Snow Leopard unless you cannot do so (e.g. if you have a PowerPC Mac).

3. Backing up to ordinary ReadyNAS shares, not following “Easy Time Machine Setup with the ReadyNAS” and backups fail after upgrading to Mac OS X 10.7 Lion

This issue will probably require a separate article. For now please see A Note Regarding Time Machine Support and Mac OS X Lion

Category: Uncategorized Comment »


Leave a Reply



Back to top