From 501d5786a970ba4d9a7e1a8b7c510dc44a37fec4 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Fri, 15 Oct 2010 16:24:00 +0000 Subject: [PATCH] Fixes for the devices/disable_after_error_count documentation. --- doc/example.conf.in | 2 +- man/lvm.conf.5.in | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/example.conf.in b/doc/example.conf.in index 4f2810e16..4b461684f 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -139,7 +139,7 @@ devices { # During each LVM operation errors received from each device are counted. # If the counter of a particular device exceeds the limit set here, no # further I/O is sent to that device for the remainder of the respective - # operation. + # operation. Setting the parameter to 0 disables the counters altogether. disable_after_error_count = 0 # Allow use of pvcreate --uuid without requiring --restorefile. diff --git a/man/lvm.conf.5.in b/man/lvm.conf.5.in index 35595baee..44529bf61 100644 --- a/man/lvm.conf.5.in +++ b/man/lvm.conf.5.in @@ -166,10 +166,11 @@ use \fBpvs -o +pe_start\fP . It will be a multiple of the requested \fBdata_alignment_offset_detection\fP (if enabled) or the pvcreate commandline. .IP -\fBdev_max_error_count\fP \(em Maximum number of error counts per device -before disabling devices. This option prevents a broken device from -being accessed repeatedly. If set to 0, no access control to devices is -done. +\fBdisable_after_error_count\fP \(em During each LVM operation errors received +from each device are counted. If the counter of a particular device exceeds +the limit set here, no further I/O is sent to that device for the remainder of +the respective operation. Setting the parameter to 0 disables the counters +altogether. .TP \fBlog\fP \(em Default log settings .IP