[debian-edu-commits] r80010 - in branches/wheezy/debian-edu-config: debian testsuite

pere at alioth.debian.org pere at alioth.debian.org
Tue May 7 10:32:37 UTC 2013


Author: pere
Date: 2013-05-07 10:32:37 +0000 (Tue, 07 May 2013)
New Revision: 80010

Modified:
   branches/wheezy/debian-edu-config/debian/changelog
   branches/wheezy/debian-edu-config/testsuite/filesystems
Log:
Add new filesystem testsuite check to report too full file
systems, meaning file systems with less than 10% left.

Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog	2013-05-07 07:24:11 UTC (rev 80009)
+++ branches/wheezy/debian-edu-config/debian/changelog	2013-05-07 10:32:37 UTC (rev 80010)
@@ -1,3 +1,11 @@
+debian-edu-config (1.704~svn80004) UNRELEASED; urgency=low
+
+  [ Petter Reinholdtsen ]
+  * Add new filesystem testsuite check to report too full file
+    systems, meaning file systems with less than 10% left.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Tue, 07 May 2013 12:31:29 +0200
+
 debian-edu-config (1.704~svn80003) wheezy-test; urgency=low
 
   [ Petter Reinholdtsen ]

Modified: branches/wheezy/debian-edu-config/testsuite/filesystems
===================================================================
--- branches/wheezy/debian-edu-config/testsuite/filesystems	2013-05-07 07:24:11 UTC (rev 80009)
+++ branches/wheezy/debian-edu-config/testsuite/filesystems	2013-05-07 10:32:37 UTC (rev 80010)
@@ -29,3 +29,8 @@
 	echo "error: $0: No lost+found in /skole/tjener/home0/.  Blocked by autofs?"
     fi
 fi
+
+# Report too full file systems.  Should have at least 10% free,
+# preferably between 10% and 20%.
+df -m -P -x tmpfs |
+  awk '/\/dev\// { if ($3/$2 >= 0.90) print "error: Too full file system", $1, "uses", $3, "of", $2, "MiB" }'




More information about the debian-edu-commits mailing list