>-----Original Message----- >From: Wol <[email protected]> >Sent: Tuesday, April 12, 2022 2:51 PM >To: [email protected] >Subject: Re: [gentoo-user] Hard drive error from SMART > >On 12/04/2022 20:41, Laurence Perkins wrote: >> LVM is good for being able to swap out drives easily but with the modern, >> huge drives you really want data checksums if you can get them. Otherwise >> all it takes is a flipped bit somewhere to wreck your data and drive >> firmware doesn't always notice. I think you can do that with LVM, but I've >> never looked into it for certain. > >Look at that link for my system that I posted. I use dm-integrity, so a >flipped bit will trigger a failure at the raid-5 level and recover. > >For those people looking at btrfs - note that parity-raid (5 or 6) is not a >wise idea at the moment so you don't get two-failure protection ...
Specifically if the system crashes or has a power failure there may be some data left hanging until it can complete a scrub. Disk failures during that period may lose some of said data. How much of a risk that is depends on the stability of your power and kernel and how much data turnover you have. I only use it on systems with UPS power and additional backups. Needs careful monitoring of the drives too since system crashes due to drive failures can leave you in rather a sticky mess. > >Cheers, >Wol > >

