Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ZFS - did I do this wrong?

Featured Replies

I made a 2 disk array using ZFS. A disk in parity and a disk in slot 1.

 

Screenshot_20241201_132003.thumb.png.aead083d7ea883ab3fb413a80f954a68.png

 

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?

  • 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.

  • 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?

  • Community Expert

array disk 1 praity xfs

 

pool chache btrfs

 

pool #of disk zfs 

  • 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.

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.

 

  • 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.