Skip to content

Releases: gboudreau/Greyhole

0.9.21

03 Jul 00:45
Compare
Choose a tag to compare
  • New feature: --remove-share option that will unwind the files from the storage pool and put them back into the shared folder (landing zone).
  • New feature: new drive selection algorithm: least_used_space. Will balance used space instead of free space (most_available_space).
  • New feature: greyhole.conf can now include other files, or include the output of an executable. 'man greyhole.conf' for details (first contribution from vena; Thanks!)
  • Improvement: Support > 255 characters file paths
  • Improvement: better --debug
  • Improvement: removed balance_modified_files config option; this is now always enabled, since there's no advantage to have this off.
  • Improvement: support remote mounts as storage_pool_drives again.
  • Improvement: fsck should check that file copies are NOT symlinks
  • Bugfix: Duplicate out of space email notification could be sent
  • Bugfix: Empty first drive_selection_group stopped Greyhole from working on any new file.
  • Bugfix: protection against files re-appearing when deleted during a fsck
  • Bugfix: --find-orphaned-files now work when --dir is a path in the LZ
  • Bugfix: extra file copies would sometimes appear, only to be removed during the next fsck
  • Bugfix: md5-worker threads were not receiving their drive parameters as expected
  • Bugfix: drive_selection_groups for specific shares didn't work. Closes GH-55
  • Bugfix: Updated greyhole.conf man page for recent changes

0.9.20

03 Jul 00:45
Compare
Choose a tag to compare
  • Fixed typo that prevented 0.9.19 from working!

0.9.19

03 Jul 00:45
Compare
Choose a tag to compare
  • Bugfix: trying to use drive_selection_algorithm[ShareName] would just fail, and log a lot of warnings
  • Bugfix: postrm script for .deb didn't work for uninstalls
  • Improvement: compile smb.conf through testparm
  • Improvement: append includes in greyhole.conf

0.9.18

03 Jul 00:46
Compare
Choose a tag to compare
  • Improvement: performance improvement on fsck & when working on large number of small files
  • Improvement: Allow MB & KB in storage_pool_drive lines, for the min_free value. Only GB was allowed before.
  • Bugfix: symlinks were mixed up when /usr/lib64 is a symlink pointing to /usr/lib
  • Bugfix: Quiet warning on first start (when metadata store backups is undefined)
  • Bugfix: delete symlink(s) created on post-install on update/remove.
  • Bugfix: quiet warning on fsck_file when no metadata files exists anymore (file was deleted)
  • Documentation: Missing required package (php-intl) in INSTALL file
  • Documentation: More detailed instructions on how to choose the LZ

0.9.17

03 Jul 00:46
Compare
Choose a tag to compare
  • Improvement: .greyhole_uses_this files are not needed anymore
  • Improvement: new man pages for greyhole, greyhole-dfree and greyhole.conf
  • Improvement: more directory > drive refactoring; dir_selection_* config options are now drive_selection_*
  • Improvement: a single fsck for all shares will now be split in a fsck for each share
  • Improvement: added necessary PID file to use monit (or similar) when using Upstart (Ubuntu 10+)
  • Improvement: now using scheduled fsck for missing or re-appearing drives
  • New feature: greyhole.conf controls daemon niceness (default to 1)
  • New feature: --fix-symlinks will try to fix all broken symlinks in your Landing Zone
  • New feature: --delete-metadata; used when you want to delete all metadata about a specific file
  • New feature: Support for Samba 3.6
  • Bugfix: New Ubuntu 11.10 64-bit installs wouldn't allow clients to connect to Greyhole shares
  • Bugfix: prevent a --going drive from being used for new files copies
  • Bugfix: correctly handle duplicate files that have the same name, but use different UTF-8 characters
  • Bugfix: adding sysstat dependency, to install the necessary iostat binary used by --iostat
  • Bugfix: When displaying the backtrace, PHP objects in arguments would cause a PHP warning, thus hiding the real cause of the warning/error
  • Bugfix: stop mv tasks from creating empty directories where unmounted (missing) storage pool drives were
  • Bugfix: preserve modification time (etc.) when using cp instead of rsync to create file copies
  • Bugfix: don't use (valid or not) file copies that are on storage pool drives that are not part of the pool anymore when trying to create extra copies, during --fsck
  • Bugfix: Quiet warning for missing drives on --stats
  • Bugfix: some minor fixes (warnings, backtrace, etc.)

0.9.16

03 Jul 01:07
Compare
Choose a tag to compare
  • New feature: --iostat; was undocumented feature; display I/O stats for the drives in your pool
  • New feature: --logs tails greyhole.log so you can see log entries as they appear
  • Bugfix: A re-appearing drive, or --wait-for command, would stop the Greyhole daemon
  • Bugfix: PHP Fatal errors weren't logged in greyhole.log
  • Bugfix: .deb files were not getting signed correctly by the build script
  • Bugfix: daemon could fall in an infinite loop if the file it's working on disappears during processing
  • Bugfix: stop fsck from trying to create more copies when one or more drives are unmounted
  • Improvement: storage pool directories are now called storage pool drives
  • Improvement: better handling of missing mount in --stats and settings backup
  • Improvement: adding default value for delete_moves_to_trash: yes
  • Improvement: You can now log to syslog instead of a standard file
  • Improvement: --going will fix all symlinks before telling you it's now safe to disconnect your drive

0.9.15

03 Jul 01:07
Compare
Choose a tag to compare
  • Bugfix: greyhole-dfree logged a warning each time it was called

0.9.14

03 Jul 01:11
Compare
Choose a tag to compare
  • New feature: --fsck --checksums
  • New feature: --fsck --delete-orphaned-metadata
  • Bugfix: prevent Greyhole from writing metadata files in directories where a mount disappeared after the current --fsck started
  • Bugfix: prevent an infinite loop that could occur when creating new directories
  • Bugfix: some fsck details were missing from emailed report
  • Bugfix: better balancing during a drive replacement fsck
  • Bugfix: during fsck, don't treat temporary files as real orphaned files, just delete them
  • Bugfix: quiet greyhole-dfree warnings when some storage pool directories became unavailable
  • Bugfix: USAGE file asked user to make a copy of greyhole.example.conf; this is already taken care of in INSTALL and in RPM/DEB packages
  • Improved logging when creating new file copies (during fsck and normally)
  • Improvement: Now using cp instead of rsync by default for file copies
  • Improvement: settings are now backed up to the data drives, and automatically restore when needed
  • Improvement: new recommendations on dir_selection_algorithm
  • Improvement: you can now use the keyword 'max' in greyhole.conf num_copies settings
  • Improvement: Outputting more details on RPM installs, to try to identify the problem with the missing symlinks on Amahi's hda-greyhole updates
  • Improvement: make sure all fsck_file tasks have been executed before running another fsck
  • Improvement: will read more spooled tasks at once, instead of wasting time listing again and again the spool directory
  • Improvement: Better --status report
  • Improvement: increased max queued tasks default for MySQL from 100K to 10M
  • Improvement: fixed double-/ typos in log
  • Improvement: various code refactoring, quiet warnings, etc.
  • Improvement: more verbose PHP warnings in log
  • Improvement: faster MySQL query to find the next tasks (added correct index)
  • Improvement: better looking --view-queue
  • Improvement: --status now detects when the daemon is stopped
  • Improvement: better looking logs when multiple threads are doing logging simultaneously
  • Improvement: simplified code that checks & mails fsck logs
  • New build scripts; cleaner and more automated than the previous uncommitted scripts I used to create new builds
  • Committing logo PSD
  • Clean up: remove --postrotate and --prerotate commands
  • Minor cosmetic changes in the code

0.9.13

03 Jul 01:11
Compare
Choose a tag to compare
  • Bugfix: deleting a file would sometimes make Greyhole fell in an infinite loop of doing nothing
  • Bugfix: /usr/share/greyhole/USAGE file was missing from RPM

0.9.12

03 Jul 01:11
Compare
Choose a tag to compare
  • Bugfix: config parser was confused when storage_pool_directory lines were after dir_selection_algorithm line(s); issue appeared in 0.9.10, and affect mostly Amahi users, since they have those lines in reverse of the example conf that other users used.