Package Details: snapraid 11.1-1

Git Clone URL: https://aur.archlinux.org/snapraid.git (read-only)
Package Base: snapraid
Description: tool for Snapshot RAID: generate parity files, maintain checksums on data, restore lost data
Upstream URL: http://www.snapraid.it/
Licenses: GPL3
Conflicts: snapraid-git
Submitter: ice9
Maintainer: ice9
Last Packager: ice9
Votes: 16
Popularity: 0.495051
First Submitted: 2012-01-02 06:42
Last Updated: 2017-05-13 14:29

Latest Comments

mbroemme commented on 2017-08-02 15:40

@ice9: Could you probably extend PKGBUILD? Please include the following two simple systemd files, install the in /usr/lib/systemd/system and leave the timer disabled by default.

/usr/lib/systemd/system/snapraid-sync.timer
[Unit]
Description=Daily parity update of SnapRAID protected volumes

[Timer]
OnCalendar=*-*-* 04:00:00
RandomizedDelaySec=1800
Persistent=true

[Install]
WantedBy=timers.target

/usr/lib/systemd/system/snapraid-sync.service
[Unit]
Description=Execute parity update of SnapRAID protected volumes

[Service]
Type=oneshot
ExecStart=/usr/bin/snapraid -q -c /etc/snapraid.conf sync

ice9 commented on 2016-11-21 19:55

v11.0

ice9 commented on 2016-09-25 14:16

Did you have libblkid installed when you built SnapRAID? The configure script should have found it. Try rebuilding SnapRAID now that you verified that libblkid is installed.

How did you verify that libblkid is installed? What is the full path to the library?

Do you have BOTH util-linux and libutil-linux packages installed? You should have both of those installed when you build SnapRAID.

What version of SnapRAID are you running?

lockheed commented on 2016-09-25 10:10

@ice9, turns out I already had it installed, yet SnapRAID behaves like it ignores it. I had to change all my filesystems to XFS because SnapRAID would fail whenever I needed to do scrub script or snapraid-check SMART data on BTRFS disks. Can you look into it a bit more?

ice9 commented on 2016-09-24 15:52

I think SnapRAID will automatically check if the libblkid library is present when it builds. So you should just need to make sure that the library is present on your system, and then rebuild SnapRAID.

On Archlinux, libblkid is part of the core libutil-linux package. Try installing that package and then rebuilding SnapRAID. If it solves your problem, please leave feedback, and I will add libutil-linux to the dependencies list for this package.

lockheed commented on 2016-09-11 07:20

Quoting SnapRAID FAQ about BTRFS:
"Btrfs OK. But ensure to build SnapRAID with the libblkid library to get UUID support. You will be warned at every run if this doesn't happen."

I am using BTRFS and every time I do sync, I get this error. Does this package build with libblkid?

alfalco commented on 2016-03-30 01:16

Thanks for your work!

ice9 commented on 2016-02-29 02:25

v10.0

ice9 commented on 2016-01-18 23:08

v9.3

"Fixes an invalid assumption in the copy detection mechanism that
could result in an internal inconsistency, and with the impossibility
to run the 'sync' and 'diff' commands.
This was triggered by a very specific pattern of identical files.
At least three of them, with one already in the parity, and at a
higher disk number than the others that should be instead new ones.
This had no bad effect, if not preventing the 'sync' command to run.
A workaround was to just run 'sync' one time with the -N, --force-nocopy
option to disable the copy detection."

ice9 commented on 2016-01-09 16:23

v9.2

All comments