dss.ggo: Disable inode monitoring by default.
authorAndre Noll <maan@congo.fml.local>
Thu, 27 Mar 2008 16:59:22 +0000 (17:59 +0100)
committerAndre Noll <maan@congo.fml.local>
Thu, 27 Mar 2008 16:59:22 +0000 (17:59 +0100)
Not all file systems support inodes. For example reiserfs reports zero
for all inode-related fields in the statvfs structure. Even worse, on
windows file systems, the field contains some more or less arbitrary
large number.

dss.ggo

diff --git a/dss.ggo b/dss.ggo
index 849b40d102aa08ec31e2853dcd10b2330bb12839..5c3783774420c9297e3d970a3f61adf434ddd791 100644 (file)
--- a/dss.ggo
+++ b/dss.ggo
@@ -304,7 +304,7 @@ option "min-free-percent-inodes" i
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 "Minimal percent of free inodes"
 int typestr="percent"
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 "Minimal percent of free inodes"
 int typestr="percent"
-default="2"
+default="0"
 optional
 details="
        Specify the minimum amount of free inodes on the file system
 optional
 details="
        Specify the minimum amount of free inodes on the file system
@@ -312,5 +312,10 @@ details="
        are free, snatshot removal kicks in just as in case of low
        disk space.
 
        are free, snatshot removal kicks in just as in case of low
        disk space.
 
-       A value of zero deactivates this check.
+       Note that not every file system supports the concept of inodes.
+       Moreover it is not possible to reliably detect whether this is
+       the case. Therefore this feature is disabled by default. It's
+       safe to enable it for ext3 file systems on linux though.
+
+       A value of zero (the default) deactivates this check.
 "
 "