Package Details: raid-check-systemd 4.2-6

Git Clone URL: https://aur.archlinux.org/raid-check-systemd.git (read-only, click to copy)
Package Base: raid-check-systemd
Description: Raid data scrubbing script with systemd timer to be used with mdadm.
Upstream URL: https://wiki.archlinux.org/index.php/RAID#Scrubbing
Keywords: mdadm raid scrub systemd
Licenses: GPL
Conflicts: raid-check
Submitter: TheChickenMan
Maintainer: GI_Jack
Last Packager: GI_Jack
Votes: 14
Popularity: 0.000016
First Submitted: 2016-06-07 08:44 (UTC)
Last Updated: 2024-09-27 16:18 (UTC)

Pinned Comments

TheChickenMan commented on 2017-04-30 19:00 (UTC)

You can view the status of the service while it is running in the kernel log with dmesg. You can also review status with the following: $ systemctl status raid-check.service $ systemctl status raid-check.timer $ systemctl list-timers --all

Latest Comments

1 2 3 Next › Last »

kyechou commented on 2024-11-07 06:05 (UTC) (edited on 2024-11-07 06:05 (UTC) by kyechou)

404 error.

New url: https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/mdadm-4.3-4.el9.x86_64.rpm

zork commented on 2024-09-13 14:53 (UTC)

curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/mdadm-4.2-9.el9.x86_64.rpm

Valid 4.2 url: https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/mdadm-4.2-10.el9.x86_64.rpm

atomicfs commented on 2022-12-02 13:41 (UTC)

-_centrel=2
+_centrel=7
-sha256sums=('97c360a0e0518ae7dff57f5515201229fa980a6632b0f8afa5d366944954792c'
+sha256sums=('7bac4fab8071be84c404da1acd199fa711007c2910371f43960ecd3c703ac68e'

baderas commented on 2022-12-02 08:50 (UTC)

The download of http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/mdadm-4.2-2.el9.x86_64.rpm fails, please update PKGBUILD.

GI_Jack commented on 2021-12-08 07:29 (UTC)

@kaymmm

The PKGBUILD is in fact for 4.2-rc2 as is. PKGBUILD unflagged. works as expected.

kaymmm commented on 2021-12-05 21:22 (UTC)

Here is a working PKGBUILD for 4.2-rc2:

# Maintainer:  GI Jack <GI_Jack@hackermail.com>
# Contributor:  M.Reynolds <blackboxnetworkproject@gmail.com>

pkgname=raid-check-systemd
pkgver=4.2
pkgrel=5
_centrel=rc2
pkgdesc="Raid data scrubbing script with systemd timer to be used with mdadm."
arch=('any')
url="https://wiki.archlinux.org/index.php/RAID#Scrubbing"
license=('GPL')
depends=('mdadm' 'systemd')
conflicts=('raid-check')
source=("http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/mdadm-${pkgver}-${_centrel}.el8.x86_64.rpm"
        'raid-check.service'
        'raid-check.timer')

sha256sums=('08ed63795716f7da0aabaa5c250d64d0ab86c1545553d2635094c8efb48c6be0'
            '90db8f53984df9d7ab32fde09a853632e9d76cbd91224c0efd760406118af84b'
            '2a7677fb83b67f71cb626169746ccaf39417f2b291b4cbc5a264706fdb8cc8b2')

backup=('etc/conf.d/raid-check')
install="$pkgname.install"

build() {
    cd $srcdir
    sed -i 's|sysconfig|conf.d|g' 'usr/sbin/raid-check'
}

package() {
    install -Dm 755 "$srcdir/usr/sbin/raid-check" "$pkgdir/usr/bin/raid-check"
    install -Dm 644 "$srcdir/etc/sysconfig/raid-check" "$pkgdir/etc/conf.d/raid-check"

    install -Dm 644 "$srcdir/raid-check.service" "$pkgdir/usr/lib/systemd/system/raid-check.service"
    install -Dm 644 "$srcdir/raid-check.timer" "$pkgdir/usr/lib/systemd/system/raid-check.timer"
}

marco44 commented on 2021-06-15 12:35 (UTC)

Hi, package as changed on the CentOs side: ==> Retrieving sources... -> Downloading mdadm-4.1-14.el8.x86_64.rpm... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 7815 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/mdadm-4.1-14.el8.x86_64.rpm

mach6 commented on 2020-12-23 09:19 (UTC) (edited on 2020-12-23 09:19 (UTC) by mach6)

To edit the timer setting, you can use

$systemctl edit raid-check.timer

Then add

[Timer]
OnCalender=
OnCalender=Mon *-*-1..7 1:00:00

Between the comment. Replace the content after the second OnCalender

Eeems commented on 2020-06-21 04:44 (UTC)

It looks like this is still out of date. You get the following when trying to build:

==> Making package: raid-check-systemd 4.1-2 (Sat 20 Jun 2020 10:42:37 PM)
==> Retrieving sources...
  -> Downloading mdadm-4.1-1.el7.x86_64.rpm...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading http://mirror.centos.org/centos/7/os/x86_64/Packages/mdadm-4.1-1.el7.x86_64.rpm
    Aborting...
Error downloading sources: raid-check-systemd

TheChickenMan commented on 2018-05-16 22:09 (UTC)

Thanks for the heads-up. You could use the "flag as out of date" button next time also. It's hard to notice when something goes out of date when I'm not looking to reinstall it regularly. It should be all set now.