Updating from Amahi 5 to Amahi6

Untested: the DVD-based method, as outlined in the Upgrade your Distro page is not well tested as far as we know.

Greyhole-related Improvements

The Greyhole package that is now part of Amahi has been upgraded from version 0.7.5 to 0.9.1 (the latest). Here's what 0.9.1 has to offer, versus 0.7.5 and earlier.

Amahi-Greyhole changes:

Amahi-Greyhole now defaults to using MySQL as a back-end, instead of SQLite. This comes with a 10x performance improvement while processing file operations, which will in turn transform into a substantial speed improvement when Greyhole is moving new files into the storage pool, especially for small files.

Sync Greyhole configuration with the shares configuration when shares are deleted (bug 610)

Fix to make Greyhole handle millions of files in the spool directory. It could lead to hitting memory limits (bug 769)

Double check that shares added to the pool are actual mountpoints (bug 611)

Greyhole changes:

Small performance improvements here and there.

--fsck can now find files that are in the storage pool, but for which there is no symlink on the share, and no metadata (tombstone) files.

The daily --fsck will now only run when the configuration files changed since the last --fsck. A weekly unconditional --fsck is still scheduled.

Keep files last modified and created dates.

New --status command-line option, to display what Greyhole is currently doing.

Use a spool directory to log pending file operations, instead of using syslog.

Fix multiple issues that would cause files to be sent to the attic (Recycle Bin), or end up with the wrong filename or path, when renaming files or directories.

Fix to allow space characters in paths to drives included in the storage pool.

Fix for non-english systems, that confused Greyhole when looking for free space stats.

Fix to ignore comments in smb.conf

Fix an issue where having an iTunes library on a Greyhole share could cause problems. In particular, importing a video, and changing it's type to TV Shows would make the file disappear from the iTunes library.

--balance could misbehave when the drive with the most free space had 1+ twin (other drives with the same amount of free space)

Fix an issue that would make Greyhole take a long time to process directory renames, especially if the renamed directory has many files & subdirectories in it.

Greyhole would sometimes use the wrong drive, if a drive included in the pool would be a subdirectory of another. For example, having /var/hda/files and /var/hda/files/drives/drive1 in the storage pool.

Fix an issue where Greyhole would crash when there was too many pending file operations (in the spool directory).

Fix an infinite loop in --fsck when it would take more than 8 hours to run.