| Newsgroups |
gmane.comp.audio.eac.user |
| Message-ID |
<[email protected]> |
> On Oct 1, 2020, at 6:32 PM, Jerry Baker jbaker6953-/[email protected] [EAC] <[email protected]> wrote:
>
> The ZFS file system makes file corruption almost impossible.
>
I am aware of the capabilities of ZFS; I’ve set up ZFS-based NASs such as FreeNAS.
> It's the primary advantage of ZFS over RAID.
A RAID 6 (striping with double parity) NAS can detect and correct errors, including individual bit-flips. And all mission-critical ZFS storage employs some form of RAID (e.g. RAIDZ2). There are some edge cases where ZFS has theoretical advantages over generic RAID-6, but on a RAID 6 NAS with ECC RAM and a high-quality UPS, undetected and uncorrected in situ file corruption is very, very unlikely.
What no filesystem can do is detect and correct file corruption that was caused elsewhere. You may have a flawless file containing a lossless audio track on your RAIDZ2 storage, but as soon as you pull it down to some PC to do tag editing, you run the risk of corruption from software bugs, cosmic ray bit flips in RAM (since most PCs don’t employ ECC RAM), temporary file storage on the PC’s local hard drive, and so on. When you write the corrupted file back, that’s where the CRCs embedded in FLAC files can be very helpful, detecting corruption of the audio data (arguably the most important data in the file).