Is it possible to add mirror devices to a raid-z?

Michael_M

Cadet
Joined
May 23, 2018
Messages
5
Hi,

I have a Raid-z (3x8TB) and i now want to add a mirror to every member of this raid-z. Is this possible without destroying the Raid?

I want a stable, secure and big Filesystem. Performance is not the first goal. Most of the data is video and video related stuff. (fetch, work, copy back)

I am open for Suggestions.


At the moment I have 12 bays with 6x 10TB Harddrives. 3 of them in this raid-z

Code:
  pool: Pool01_Z1_18GB
 state: ONLINE
  scan: none requested
config:

    NAME                                            STATE     READ WRITE CKSUM
    Pool01_Z1_18GB                                  ONLINE       0     0     0
      raidz1-0                                      ONLINE       0     0     0
        gptid/f8dbeb60-184f-11e9-8823-a0369f243d7c  ONLINE       0     0     0
        gptid/f9c42bc5-184f-11e9-8823-a0369f243d7c  ONLINE       0     0     0
        gptid/faa04d6a-184f-11e9-8823-a0369f243d7c  ONLINE       0     0     0







I have a older Freenas runnig with:

Code:
 state: ONLINE
  scan: scrub repaired 0 in 0 days 15:25:43 with 0 errors on Sun Jan 27 15:25:45 2019
config:

        NAME                                            STATE     READ WRITE CKSUM
        Microserver_4x8TB                               ONLINE       0     0     0
          mirror-0                                      ONLINE       0     0     0
            gptid/40321bbb-9e0e-11e6-a52c-70106f3edfc4  ONLINE       0     0     0
            gptid/4187680c-9e0e-11e6-a52c-70106f3edfc4  ONLINE       0     0     0
          mirror-1                                      ONLINE       0     0     0
            gptid/42cb39e6-9e0e-11e6-a52c-70106f3edfc4  ONLINE       0     0     0
            gptid/44149653-9e0e-11e6-a52c-70106f3edfc4  ONLINE       0     0     0


I am thankful for any input
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
@Michael M - to be clear, you're hoping to create a zpool with the following geometry:

Code:
    NAME                                              STATE     READ WRITE CKSUM
    Pool01_Z1_18GB                                    ONLINE       0     0     0
      raidz1-0                                        ONLINE       0     0     0
        mirror                                        ONLINE       0     0     0
          gptid/f8dbeb60-184f-11e9-8823-a0369f243d7c  ONLINE       0     0     0
          gptid/newdrive-184f-11e9-8823-a0369f243d7c  ONLINE       0     0     0
        mirror                                        ONLINE       0     0     0
          gptid/f9c42bc5-184f-11e9-8823-a0369f243d7c  ONLINE       0     0     0
          gptid/newdrive-184f-11e9-8823-a0369f243d7c  ONLINE       0     0     0
        mirror                                        ONLINE       0     0     0
          gptid/faa04d6a-184f-11e9-8823-a0369f243d7c  ONLINE       0     0     0
          gptid/newdrive-184f-11e9-8823-a0369f243d7c  ONLINE       0     0     0


Such that you're making a RAIDZ1 out of mirror vdevs?

If so, I'm pretty confident that the answer is "no, you can't" even if you were creating a new pool from scratch. Considering that this setup would only give you the "usable space" of 2/6 disks, you might consider a higher level RAIDZ or 3-way mirrors.

What is the current utilization of the pool, and how much more data do you expect to load on it?
 
Last edited:

Michael_M

Cadet
Joined
May 23, 2018
Messages
5
I came to belive, that it is neither wise nor possible. So I put in a bunch of new disks, made my new pool and transfered all the data.

It was security > convenience.

Thx for the help.
 
Top