From: Andre Noll <maan@congo.fml.local>
Date: Thu, 27 Mar 2008 16:59:22 +0000 (+0100)
Subject: dss.ggo: Disable inode monitoring by default.
X-Git-Tag: v0.0.5~6^2~1
X-Git-Url: https://git.tue.mpg.de/?a=commitdiff_plain;h=5c454a6e407f1cdcb4f479a7364802a6735f28cc;p=dss.git

dss.ggo: Disable inode monitoring by default.

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.
---

diff --git a/dss.ggo b/dss.ggo
index 849b40d..5c37837 100644
--- a/dss.ggo
+++ b/dss.ggo
@@ -304,7 +304,7 @@ option "min-free-percent-inodes" i
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 "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
@@ -312,5 +312,10 @@ details="
 	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.
 "