[drbd-mc] Cleanup Resource

Michael Schwartzkopff misch at multinet.de
Mon Mar 15 13:16:22 CET 2010


Am Montag, 15. März 2010 13:06:01 schrieb Rasto Levrinc:
> On Mon, March 15, 2010 12:45 pm, Michael Schwartzkopff wrote:
> > I just tested the 0.61 of DMC.
> >
> >
> > At the moment I cannot cleanup y resource. Perhaps this is due to the
> > fact that it has no failures. The description of the button says: "Reset
> > Fail-Count
> > (Cleanup)".
> >
> >
> > This is not completely correct. a cleanup does much more than just
> > resetting the failure counter. So the correct descrption should be just
> > "Cleanup" and it
> > should be enabled anytime.
>
> Good point, thanks. Although I will keep the "Reset Fail-Count" option I
> will add a "cleanup" option to the expert submenu, that is available, if
> there is something in the LRM section.

I'd prefer a simple "Cleanup" if the first menu since "Reset Failcounter" might 
be the result of a cleanup but basically it is wrong to call it this way. The 
man page says:

--cleanup, -C
    Delete a resource from the LRM. 

There definitely will be entries in the LRM for any resource. Always.

Perhaps you should add an additional point "Reset Failcounter", which is 
enabled if a faulcounter for this resource exists on ANY node.

Greetings,

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42


More information about the drbd-mc mailing list