RAID 10 or striped mirror setup

Status
Not open for further replies.

allanl

Cadet
Joined
Oct 20, 2013
Messages
2
I've been testing 9.1 using my VMware server and am not clear about the graphical setup of RAID 10.

I've installed 9, 3GB virtual drives, and have setup the 2 zils mirrored and 1 cache leaving six usable drives.

I am not clear about how to use the graphical interface to setup two, 3 striped drives and mirrored to the other remaining 3 drives that are striped.

Setting up RAID Z, 2 or 3 is simple, but I'm not clear about RAID 10. I need to completely understand this before buying hardware.

Finally, if I setup the 2, 3 striped drives and then mirrored using the command line (what is it), will be RAID 10 appear in the graphical interface so I'll know what the finished product looks like?

Speaking of which, is there a website or location that has a recommend hardware list?

Thanks,

 

Idiotzoo

Explorer
Joined
Mar 11, 2013
Messages
55
I believe what you want is striped mirrored vdevs. So rather than create the equivalent of two raid 0 arrays with three disks then mirroring those, ZFS would create three mirrored pairs and then stripe across those mirrors, the equivalent of Raid 10 The result is the same in terms of performance but statistically less chance of a drive failure hosing your data... apparently. I don't have that many drives but the ui in 9.1 setup mirrored striped vdevs by default for me.

If you do zpool status from the shell, you want something like this

[root@library] ~# zpool status
pool: Tank
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
Tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/78c0aec9-31c6-11e3-9e85-94de807b7629 ONLINE 0 0 0
gptid/79193127-31c6-11e3-9e85-94de807b7629 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/798f6921-31c6-11e3-9e85-94de807b7629 ONLINE 0 0 0
gptid/7a193446-31c6-11e3-9e85-94de807b7629 ONLINE 0 0 0
but in your case with a third mirror.
 

allanl

Cadet
Joined
Oct 20, 2013
Messages
2
Thanks a lot for this information.

I deleted my volumes so I had 6, 3TB virtual drives that were unassigned. I setup "mirror1" as two drives, mirrored and then went back to setup another single mirror, and then a third. The idea was to finish the three mirrors and then see if that showed a RAID 10.

The graphical interface setup all remaining four drives at once and I was forced to extend the mirror1 volume. When finished it showed 3TB of usable space, that appears to be RAID 10. Is there a YouTube or similar visual for seeing how this is done? If I actually created a RAID 10, it was by luck, not by design.

The zpool status is -

M Mirror1 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/3c5bd8cc-3b2e-11e3-91e5-000c291fc796 ONLINE 0 0 0 gptid/3ce58301-3b2e-11e3-91e5-000c291fc796 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 gptid/f416806f-3b2e-11e3-91e5-000c291fc796 ONLINE 0 0 0 gptid/f4834fd2-3b2e-11e3-91e5-000c291fc796 ONLINE 0 0 0 mirror-2 ONLINE 0 0 0 gptid/0101dbfc-3b2f-11e3-91e5-000c291fc796 ONLINE 0 0 0 gptid/01673dfe-3b2f-11e3-91e5-000c291fc796 ONLINE 0 0 0 errors: No known data errors [root@freenas91 ~]# ^C [root@freenas91 ~]#
 

Idiotzoo

Explorer
Joined
Mar 11, 2013
Messages
55
Unless you've missed a bit off there, it doesn't look like there's a stripe set... but I guess there must be.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
The formatting is important. He should repaste it inside CODE tags.

Edit: Well, he doesn't "have" to as there are 3 mirror flags with 2 gptids in between, so there's no way you could have anything except a RAID10. But if he were here troubleshooting a problem, we'd ask him to repaste it inside CODE tags to be 100% sure.
 
Status
Not open for further replies.
Top