Package Details: snapraid 12.3-1

Git Clone URL: https://aur.archlinux.org/snapraid.git (read-only, click to copy)
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
Submitter: ice9
Maintainer: Sparticuz
Last Packager: Sparticuz
Votes: 29
Popularity: 0.000581
First Submitted: 2012-01-02 06:42 (UTC)
Last Updated: 2024-01-30 17:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

mbroemme commented on 2017-08-02 15:40 (UTC) (edited on 2017-08-02 15:53 (UTC) by mbroemme)

@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 (UTC)

v11.0

ice9 commented on 2016-09-25 14:16 (UTC) (edited on 2016-09-25 14:23 (UTC) by ice9)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

Thanks for your work!

ice9 commented on 2016-02-29 02:25 (UTC)

v10.0

ice9 commented on 2016-01-18 23:08 (UTC)

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 (UTC)

v9.2