Sisyphus repository
Last update: 25 september 2023 | SRPMs: 18620 | Visits: 30265559
en ru br
ALT Linux repos
5.0: 0.4-alt1
4.1: 0.4-alt1
4.0: 0.4-alt1
3.0: 0.3-alt2

Group :: System/Configuration/Hardware
RPM: mdmpd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: mdmpd
Version: 0.4
Release: alt1

Summary: A daemon for monitor MD multipath devices
License: GPL
Group: System/Configuration/Hardware

Source0: %name-%version.tgz
Source1: %name.init
Patch: %name-0.4-alt-gcc4warnings.patch

Summary(ru_RU.KOI8-R): Монитор восстановления RAID-устройств

The Linux kernel portion of the md (Multiple Devices) multipath driver
used for software RAID does not try and find out if a path that has previously
failed might be working again. That's what this daemon does.
Then it reads the current state of the md raid arrays, saves that state,
and then waits for the kernel to tell it something interesting has happened.
It then wakes up, checks to see if any paths on a multipath device have failed,
and if they have then it starts to poll the failed path once every 15 seconds
until it starts working again. Once it starts working again, the daemon
will then add the path back into the multipath md device it was originally
part of as a new spare path.

%description -l ru_RU.KOI8-R
Драйвер md-устройств, используемый в Линуксе для работы с дисковыми массивами
(software RAID), в случае отказа одного из дисков не пытается определить,
что диск снова работоспособен. Фоновый монитор %name отслеживает такие сбои
и опрашивает отказавший диск на тот случай, если неполадка будет исправлена.
Обнаружив это, %name указывает ядру снова включить диск в состав массива.

%setup -q -n %name
%patch -p1

%make_build CCFLAGS="%optflags -I."

%make_install install DESTDIR=%buildroot MANDIR=%_mandir BINDIR=%_sbindir
install -pD -m744 %SOURCE1 %buildroot%_initdir/%name

%post_service %name

%preun_service %name



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin