Greyhole uses Samba to create a storage pool of all your available hard drives, and allows you to create redundant copies of the files you store.
greyhole --config
instead of grep-ing the greyhole.conf file manually, in init scripts--going
and --gone
to --remove
Will prompt the user to know if we should (or not) try to copy files from the specified drive. Fixes #88--replace
to --replaced
--remove
is now executed asynchronously (using the daemon) An email report is sent once it's done. Ref: #58--remove-share
is now executed asynchronously (using the daemon) An email report is sent once it's done. Fixes #581040a1041
New features
greyhole --mv
(beta; requires more testing) - Allows you to move data from one Greyhole share to another without copying the data through the Samba sharesgreyhole --print-fsck
: Print the fsck report for the last completed fsck task. This will print the same content that is sent by email when the --email-report
option is used.Improvements
greyhole-dfree
(used by Samba to calculate free space) should take into account the num_copies
option of the share; i.e. real free space = 1 GB, num_copies = 4
=> available free space on Samba share = 250 MB; also added -h
parameter to greyhole-dfree executable Fixes #156greyhole --status
Fixes #114; Fixes #102allow insecure wide links = yes
as an alternative to unix extensions = no
in USAGE file Ref: #192Bugfixes
--fsck --disk-usage-report
, correctly update 'parents' du_stats, when deleting the checked folder's du_stats--iostat
was missing storage pool drives on un-numbered partitions (eg. whole-drive XFS partition on /dev/sdb
); also added timestamps to output, updates are more frequent (5s instead of 10s), and sorted the storage pool drives in alphabetical orderdrive_selection_groups
are configured: will balance the drives in each group amongst themselves only, instead of trying to balance all the drives together. Fixes #198greyhole --process-spool
logged warnings because Metastore backups config was uninitializedgreyhole --logs
should not watch both .log and .err, as .log will always contains all the same logs as .errgnupg
package is installed; it is required for apt-get add
Fixes #227build_vfs
script: try to install the required dependencies, before trying to build Ref: #223lsof
file-locked check was not working in Docker (Alpine Linux), because -M
flag is not availableVarious code improvement & refactoring