All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Schniedermeyer <ms@citd.de>
To: Karol Babioch <karol@babioch.de>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] Memory errors and and 3TB RAID5 partition
Date: Wed, 16 Jan 2013 20:26:27 +0100	[thread overview]
Message-ID: <20130116192627.GA1680@citd.de> (raw)
In-Reply-To: <50F6D5BC.3040203@babioch.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

  reply	other threads:[~2013-01-16 19:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 11:08 [dm-crypt] Memory errors and and 3TB RAID5 partition Federico Foschini
2013-01-16 11:23 ` Arno Wagner
2013-01-16 12:00   ` Matthias Schniedermeyer
2013-01-16 12:06     ` Federico Foschini
2013-01-16 16:30     ` Karol Babioch
2013-01-16 19:26       ` Matthias Schniedermeyer [this message]
2013-01-16 11:24 ` Ralf Ramsauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130116192627.GA1680@citd.de \
    --to=ms@citd.de \
    --cc=dm-crypt@saout.de \
    --cc=karol@babioch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.