Am Tue, Apr 12, 2022 at 12:08:24PM -0500 schrieb Dale:
> Rich Freeman wrote:
> > On Mon, Apr 11, 2022 at 9:27 PM Dale <rdalek1...@gmail.com> wrote:
> >> Thoughts.  Replace as soon as drive arrives or wait and see?
> >>
> > So, first of all just about all my hard drives are in a RAID at this
> > point, so I have a higher tolerance for issues.

> Sadly, I don't have RAID here but to be honest, I really need to have it
> given the data and my recent luck with hard drives. 

Plus, if you do a Raid 5 or Raid-Z1, you use your capacity more efficiently
with just three drives. However, when I was building my NAS 5½ years ago,
there was already an article about Raid-5 becoming obsolete due to the ever
rising drive capacity. Because if you have a failed drive and need to
replace and rebuild, the chances that another drive fails during rebuild
rises with the drive capacity.

> Drives used to get dumped because they were just to small to use anymore. 
> Nowadays, they seem to break in some fashion long before their usefulness
> ends their lives. 

I recently bought a passive mini-pc (zotac zbox) and just for the fun of it
installed a 160 GB HDD that maxes out at aronud 40 MiB/s. You do NOT want to
run a modern Linux desktop on such a drive. :D

> I remounted the drives and did a backup.  For anyone running up on this,
> just in case one of the files got corrupted, I used a little trick to
> see if I can figure out which one may be bad if any.  I took my rsync
> commands from my little script and ran them one at a time with --dry-run
> added.

I actually developed a tool for that. It creates and checks md5 checksums
recursively and *per directory*. Whenever I copy stuff from somewhere, like
a music album, I do an immediate md5 run on that directory. And when I later
copy that stuff around, I simply run the tool again on the copy (after the
FS cache was flushed, for example by unmounting and remounting) to see
whether the checksums are still valid.

You can find it on github: https://github.com/felf/dh
It’s a single-file python application, because I couldn’t be bothered with
the myriad ways of creating a python package. ;-)

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

A horse comes into a bar.
Barkeep: “Hey!”
Horse:   “Sure.”

Attachment: signature.asc
Description: PGP signature

Reply via email to