From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tKk6Lv2_1Qyc for ; Wed, 16 Jan 2013 20:26:33 +0100 (CET) Received: from awesome.dsw2k3.info (awesome.dsw2k3.info [IPv6:2a01:198:661:1f::3]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Wed, 16 Jan 2013 20:26:33 +0100 (CET) Date: Wed, 16 Jan 2013 20:26:27 +0100 From: Matthias Schniedermeyer Message-ID: <20130116192627.GA1680@citd.de> References: <20130116112321.GA6637@tansi.org> <20130116120026.GA16868@citd.de> <50F6D5BC.3040203@babioch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50F6D5BC.3040203@babioch.de> Subject: Re: [dm-crypt] Memory errors and and 3TB RAID5 partition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Karol Babioch Cc: dm-crypt@saout.de On 16.01.2013 17:30, Karol Babioch wrote: > Hi, > > Am 16.01.2013 13:00, schrieb Matthias Schniedermeyer: > > My M.O. is to make MD5(*) sums of just about every file. > > What scripts and/or software do you use? I'm planning to do something > very similar, but wanted to make use of a file integrity checker. I > haven't looked too extensively, but the ones I came up with seemed to be > overkill. > > I'm looking for something very basic, just enough to detect file > corruption and notify me by email or something like that. The software is a perl-script that i developed myself. Md5sum wasn't "intelligent" enough for me(*) and i didn't really look if there was any existing software. So i began with a small script around "Digest::MD5" and it grew from there. The script (i call it "md5tool.pl") is mostly generic, altough there are a few things specific for my environment hardcoded into it. *: For e.g. the script also records mtime, size and filetype with x/y-sizes for a few image-types. With the mtime/size information the script can check if a file has been changed and update the stored MD5-sum. -- Matthias