> On Sun, 22 Oct 2006, Stephen Le wrote:
>
>> Is it possible to construct a RAID-10 array with ZFS? I've read through
>> the ZFS documentation, and it appears that the only way to create a
>> RAID-10 array would be to create two mirrored (RAID-1) emulated volumes
>> in ZFS and combine those to create the outer RAID-0 volume.
>>
>> Am I approaching this in the wrong way? Should I be using SVM to create
>> my RAID-1 volumes and then create a ZFS filesystem from those volumes?
>
> No - don't do that.  Here is a ZFS version of a RAID 10 config with 4
> disks:
>
> ----- from 817.2271.pdf ---------
>
> Creating a Mirrored Storage Pool
>
> To create a mirrored pool, use the mirror keyword, followed by any number
> of storage devices that will comprise the mirror. Multiple mirrors can be
> specied by repeating the mirror keyword on the command line.  The
> following command creates a pool with two, two-way mirrors:
>
> # zpool create tank mirror c1d0 c2d0 mirror c3d0 c4d0
>
> The second mirror keyword indicates that a new top-level virtual device is
> being specied.  Data is dynamically striped across both mirrors, with data
> being replicated between each disk appropriately.
>

We need to keep in mind that the exact same result may be achieved with
simple SVM :

d1 1 2 /dev/dsk/c1d0s0 /dev/dsk/c3d0s0 -i 512b
d2 1 2 /dev/dsk/c2d0s0 /dev/dsk/c4d0s0 -i 512b
d3 -m d1

metainit d1
metainit d2
metainit d3
metattach d3 d2

At this point, if and only if all stripe components come from exactly
identical geometry disks or slices, you get a stripe of mirrors and not
just a mirror of stripes.

While ZFS may do a similar thing *I don't know* if there is a published
document yet that shows conclusively that ZFS will survive multiple disk
failures.

However ZFS brings a lot of other great features.

Dennis Clarke

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to