December 1, 20241 yr I made a 2 disk array using ZFS. A disk in parity and a disk in slot 1. But this makes it seem like it is a single disk array, not raidz: zpool status -v pool: disk1 state: ONLINE config: NAME STATE READ WRITE CKSUM disk1 ONLINE 0 0 0 md1p1 ONLINE 0 0 0 errors: No known data errors Am I correct? This is not raidz and my data is not protected from disk failure?
December 1, 20241 yr Community Expert In the main array all drives are self-contained file systems and are protected against a drive failure by the Unraid parity drive regardless of the file system used. Note, however, that ZFS drives in the main array are known to perform much worse than when they are in a pool. if you want 2 drives to be a raidz array then they need to be in a pool.
December 1, 20241 yr Author 2 hours ago, itimpi said: In the main array all drives are self-contained file systems and are protected against a drive failure by the Unraid parity drive regardless of the file system used. Note, however, that ZFS drives in the main array are known to perform much worse than when they are in a pool. if you want 2 drives to be a raidz array then they need to be in a pool. Darn, well those 28 hours backing up data to it was a waste. What about btrfs? Is that okay in the array with 2 disks, 1 as parity?
December 1, 20241 yr Community Expert The comment I made about each disk in the main array being a self-contained file system always applies regardless of whether the format is xfs, btrfs or ZFS and/or encrypted or anymix of these. Parity works at the raw sector level so had no idea of what file system is being used on the individual disks - just that it knows how to restore the bit pattern on a failed drive. Multi-drive pools can support raid levels if they are in btrfs or ZFS formats.
December 2, 20241 yr A 2 disk array is a special case though, since parity will be a mirror with a complete filesystem and everything. It would be cool if unraid could recognize this to make things like scrub/repair possible. Maybe a 2 disk array is too much of a limited corner case.
December 2, 20241 yr Community Expert beta 7 ditch the array and use pool devcie. if you want a true zfs mirro it need to be a pool disk setup...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.