ironicbadger / pms-wiki

The aim is to share knowledge and information about building an open-source media server.
https://perfectmediaserver.com
Other
405 stars 55 forks source link

Where is snapraid parity data stored on a zfs with mergerfs configuration? #30

Closed tristan-k closed 3 years ago

tristan-k commented 3 years ago

I just finished reading the section ZFS with MergerFS and from my understanding it is not clear where the snapraid parity data for the mergerfs disks is actually stored. In the diagram for the snapraid configuration is a extra parity disk. This disk is missing in the diagram for the zfs mergerfs combined configuration. This is confusing.

Is it stored on the mirrored zfs pool or is stored on 1 of the 5 disks or is stored on a unmentioned disk 6?

MergerFS also does not provide mitigation for drive failure, this is where SnapRAID comes in. It is used to calculate a snapshot of parity across all data drives that are not using ZFS. The ZFS drives are configured in a mirror and take care of their own parity and data integrity checks.

Something like this:

zfs_snapraid_diagram

ironicbadger commented 3 years ago

Not sure I quite see the confusion tbh. Perhaps I'm too close to the forest to see the trees.