Hi. On Fri, Jan 20, 2012 at 06:25:44PM +0100, Olivier Berger wrote: > On Fri, Jan 20, 2012 at 05:00:41PM +0100, Olivier Berger wrote: > > > > It would be great to have a script such as the one proposed by Adam Cécile > > in its variant of the package. > > > > See : http://hwraid.le-vert.net/debian/sources/cciss-vol-status_1.03-1.dsc > > for sources of its package. > > > > I've slightly adapted the script to adjust it to the current path. Here's the > result, which depends on the 'daemon' package. >
After putting it in production and testing a bit more, I checked that there's a problem with cciss_vol_status returning non-zero exit code in case of RAID problem (extraction of a disk for instance). At least in squeeze's version. So I'd suggest the following change too. $ diff cciss-vol-statusd.old cciss-vol-statusd 62c62 < (cciss_vol_status $ID) > $STATUSFILE.new --- > (cciss_vol_status $ID) > $STATUSFILE.new || true Hope this helps. Best regards, -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

