> Peter Tribble wrote:
> Because what you've created is a pool containing two
> components:
> - a 3-drive raidz
> - a 3-drive mirror
> concatenated together.
> 

OK. Seems odd that ZFS would allow that (would people want that configuration
instead of what I am  attempting to do).


> I think that what you're trying to do based on your description is to create
> one raidz and mirror that to another raidz. (Or create a raidz out of mirrored
> drives.) You can't do that. You can't layer raidz and mirroring.
> You'll either have to use raidz for the lot, or just use mirroring:
> zpool create temparray mirror c1t2d0 c1t4d0 mirror c1t5d0 c1t3d0 mirror 
> c1t6d0 c1t8d0

Bummer.


Curiously I can get that same odd size with either of these two commands (the 
second attempt sort of looks like it is raid + mirroring):


# zpool create temparray1 mirror c1t2d0 c1t4d0 mirror c1t3d0 c1t5d0 mirror 
c1t6d0 c1t8d0

# zpool status
  pool: rpool
 state: ONLINE
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c1t0d0s0  ONLINE       0     0     0
            c1t1d0s0  ONLINE       0     0     0

errors: No known data errors

  pool: temparray1
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        temparray1  ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c1t2d0  ONLINE       0     0     0
            c1t4d0  ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c1t3d0  ONLINE       0     0     0
            c1t5d0  ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c1t6d0  ONLINE       0     0     0
            c1t8d0  ONLINE       0     0     0

errors: No known data errors

# zfs list
NAME                    USED  AVAIL  REFER  MOUNTPOINT
rpool                  4.36G  5.42G    35K  /rpool
rpool/ROOT             3.09G  5.42G    18K  legacy
rpool/ROOT/snv_91      3.09G  5.42G  3.01G  /
rpool/ROOT/snv_91/var  84.5M  5.42G  84.5M  /var
rpool/dump              640M  5.42G   640M  -
rpool/export           14.0M  5.42G    19K  /export
rpool/export/home      14.0M  5.42G  14.0M  /export/home
rpool/swap              640M  6.05G    16K  -
temparray1             92.5K  29.3G     1K  /temparray1
# zpool destroy temparray1


And the pretty one:


# zpool create temparray raidz c1t2d0 c1t4d0 raidz c1t3d0 c1t5d0 raidz c1t6d0 
c1t8d0

# zpool status
  pool: rpool
 state: ONLINE
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c1t0d0s0  ONLINE       0     0     0
            c1t1d0s0  ONLINE       0     0     0

errors: No known data errors

  pool: temparray
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        temparray   ONLINE       0     0     0
          raidz1    ONLINE       0     0     0
            c1t2d0  ONLINE       0     0     0
            c1t4d0  ONLINE       0     0     0
          raidz1    ONLINE       0     0     0
            c1t3d0  ONLINE       0     0     0
            c1t5d0  ONLINE       0     0     0
          raidz1    ONLINE       0     0     0
            c1t6d0  ONLINE       0     0     0
            c1t8d0  ONLINE       0     0     0

errors: No known data errors

# zfs list
NAME                    USED  AVAIL  REFER  MOUNTPOINT
rpool                  4.36G  5.42G    35K  /rpool
rpool/ROOT             3.09G  5.42G    18K  legacy
rpool/ROOT/snv_91      3.09G  5.42G  3.01G  /
rpool/ROOT/snv_91/var  84.6M  5.42G  84.6M  /var
rpool/dump              640M  5.42G   640M  -
rpool/export           14.0M  5.42G    19K  /export
rpool/export/home      14.0M  5.42G  14.0M  /export/home
rpool/swap              640M  6.05G    16K  -
temparray                94K  29.3G     1K  /temparray
# zpool destroy temparray


That second attempt leads this newcommer to imagine that they have 3 raid 
drives mirrored to 3 raid drives.


Is there a way to get mirror performance (double speed) with raid integrity 
(one drive can fail and you are OK)? I can't imagine that there exists no one 
who would want that configuration.


Thanks for your comment Peter.
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to