Package Details: greyhole 0.10.15-1

Git Clone URL: https://aur.archlinux.org/greyhole.git (read-only, click to copy)
Package Base: greyhole
Description: Application that 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, in order to prevent data loss when part of your hardware fails.
Upstream URL: https://www.greyhole.net/
Keywords: samba
Licenses: GPL3
Submitter: Sparticuz
Maintainer: Sparticuz (cerberusec)
Last Packager: Sparticuz
Votes: 2
Popularity: 0.064744
First Submitted: 2016-03-29 17:16
Last Updated: 2018-04-20 16:21

Latest Comments

cerberusec commented on 2020-06-12 22:26

Finally got this up and running. There are a few caveats to be aware of:

  1. Obviously, change the pkgbuild version to the latest. You'll need to comment out line 31 (greyhole-custom-cp.sh) and the service unit needs to be edited to require smb.service, not smbd.service

  2. php needs the mysqli, intl, and pdo_mysql modules enabled/uncommented in php.ini

  3. For samba 4.13+, you'll need to compile vfs_greyhole.c using the build_vfs.sh script, which requires the base-devel and rpcsvc-proto packages. Also, be sure to enable the php modules first, as the build script needs to actually run greyhole to pull it's version.

  4. mysql/mariadb needs to be initialized along with importing the greyhole database. Read the USAGE file for details on this.

  5. read both the INSTALL and USAGE files thoroughly (https://github.com/gboudreau/Greyhole/wiki/Installing)

  6. Don't bother with the mount_shares_locally script. We can achieve the same results using fstab. For example:

    # mount the greyhole drives
    /dev/hdd0 /mnt/hdd0 ntfs-3g defaults 0 0
    /dev/hdd1 /mnt/hdd1 ntfs-3g defaults 0 0
    # note TestShare is the landing zone on /mnt/hdd0/shares/TestShare in this case, as defined in smb.conf
    
    # mount locally
    //127.0.0.1/TestShare /mnt/samba/TestShare cifs x-systemd.automount,x-systemd.requires=greyhole.service,credentials=/home/<user>/.smb_credentials,file_mode=0777,dir_mode=0777 0 0