Group :: Sistema/Configurações/Hadware
RPM: mdmpd
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: mdmpd
Version: 0.3
Release: alt2
Summary: A daemon for monitor MD multipath devices
License: GPL
Group: System/Configuration/Hardware
Source0: %name-%version.tar.gz
Source1: %name.init
Summary(ru_RU.KOI8-R): íÏÎÉÔÏÒ ×ÏÓÓÔÁÎÏ×ÌÅÎÉÑ RAID-ÕÓÔÒÏÊÓÔ×
%description
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 ÕËÁÚÙ×ÁÅÔ ÑÄÒÕ ÓÎÏ×Á ×ËÌÀÞÉÔØ ÄÉÓË × ÓÏÓÔÁ× ÍÁÓÓÉ×Á.
%prep
%setup -q
%build
%make_build CCFLAGS="%optflags -I."
%install
%make_install install DESTDIR=%buildroot MANDIR=%_mandir BINDIR=%_sbindir
install -pD -m744 %SOURCE1 %buildroot%_initdir/%name
%post
%post_service %name
%preun
%preun_service %name
%files
%_sbindir/%{name}*
%_mandir/man?/%{name}*
%_initdir/%name
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.3
Release: alt2
Summary: A daemon for monitor MD multipath devices
License: GPL
Group: System/Configuration/Hardware
Source0: %name-%version.tar.gz
Source1: %name.init
Summary(ru_RU.KOI8-R): íÏÎÉÔÏÒ ×ÏÓÓÔÁÎÏ×ÌÅÎÉÑ RAID-ÕÓÔÒÏÊÓÔ×
%description
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 ÕËÁÚÙ×ÁÅÔ ÑÄÒÕ ÓÎÏ×Á ×ËÌÀÞÉÔØ ÄÉÓË × ÓÏÓÔÁ× ÍÁÓÓÉ×Á.
%prep
%setup -q
%build
%make_build CCFLAGS="%optflags -I."
%install
%make_install install DESTDIR=%buildroot MANDIR=%_mandir BINDIR=%_sbindir
install -pD -m744 %SOURCE1 %buildroot%_initdir/%name
%post
%post_service %name
%preun
%preun_service %name
%files
%_sbindir/%{name}*
%_mandir/man?/%{name}*
%_initdir/%name
%changelog
…
Todas as alterações você pod ver aqui