On Sun, Jul 6, 2008 at 8:48 AM, Rob Clark <[EMAIL PROTECTED]> wrote:
> I am new to SX:CE (Solaris 11) and ZFS but I think I found a bug.
>
> I have eight 10GB drives.
...
> I have 6 remaining 10 GB drives and I desire to "raid" 3 of them and "mirror" 
> them to the other 3 to give me raid security and integrity with mirrored 
> drive performance. I then want to move my "/export" directory to the new 
> drive.
>
...
> # zpool create -f temparray raidz c1t2d0 c1t4d0 c1t5d0 mirror c1t3d0 c1t6d0 
> c1t8d0
...
> The question (Bug?) is "Shouldn't I get this instead ?
>
> # zfs list | grep temparray
> temparray              97.2K  19.5G  1.33K  /temparray
>
> Why do I get 29.3G instead of 19.5G ?

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

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

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to