Jump to content

Can’t create a striped or mirrored ZFS pool with Unraid 7


Go to solution Solved by JorgeB,

Recommended Posts

I came here looking for this question @BelowStudios.  I see the same thing so good to know its being corrected.  I also tried creating a 4-drive striped mirror set from the shell with:

zpool create mypool mirror /dev/sde /dev/sdb mirror /dev/sdc /dev/sdd

 

This command worked and zpool status shows:

  pool: mypool
 state: ONLINE
config:

        NAME        STATE     READ WRITE CKSUM
        mypool      ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            sde     ONLINE       0     0     0
            sdb     ONLINE       0     0     0
          mirror-1  ONLINE       0     0     0
            sdc     ONLINE       0     0     0
            sdd     ONLINE       0     0     0

errors: No known data errors

 

However, this pool never shows up in the web gui.  I know little about ZFS (which is why I'm playing with this now) so I'm likely missing something but thought maybe you might give it a try and see if you get different results.

Link to comment
7 minutes ago, jrsphoto said:

I also tried creating a 4-drive striped mirror set from the shell with:

You can create striped mirrors using the GUI

 

On 7/1/2024 at 9:52 PM, JorgeB said:

it will still create a stripe or mirror if you apply that before formatting.

 

Link to comment

ok, it does look like the command like method does indeed create the poll, it just automatically mounts it to /poolname.  It still seems that pools created via command line are not reflected in the web gui however.  Again, my lack of knowledge here is likely more of the problem ;-)

 

-John

Link to comment
7 minutes ago, JorgeB said:

You can create striped mirrors using the GUI

 

 

Thanks JorgeB.  I love these forums, lots of people willing to help.  I did see that and I'll give that a try again.  I've got no data on these drive so its just fun testing things out, and getting a better understanding of how ZFS works within Unraid.  In my very unscientific testing so far, it does seem that I'm getting better write performance with ZFS than with an Unraid array (though not if I'm using the NVME as primary and Unraid array as secondary )

Link to comment
21 minutes ago, JorgeB said:

You can create striped mirrors using the GUI

 

 

@JorgeB I'm sure I'm likely doing something wrong but, here's what I've done in the gui (7.0.0-beta.1)

 

Create a pool with 4 drives, with file system type set to zfs / mirror / 2 groups of 2 devices.

hit apply

This changes the Filesystem type back to raidz / 1 group of 4 devices

Click done.

 

At this point, if I start the array, the pool won't mount because I have to format it, which I can do, and it will format it as raidz / 1 group of 4 devices.

If I choose not to format it and stop the array, go back to the pool config and choose mirror / 2 groups of 2 devices, and hit apply, it just goes back to raidz

 

I see no way to get it to create the striped mirror set?  what am I missing?

Link to comment
10 minutes ago, jrsphoto said:

I see no way to get it to create the striped mirror set?  what am I missing?

After formatting the pool the fs type will still show raidz, but if you see below, in the zpool status, it will actually be a couple of striped mirrors:

 

image.png

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...