1 |
On Sat, Feb 25, 2012 at 4:56 PM, Richard Yao <ryao@×××××××××××××.edu> wrote: |
2 |
> raidz has 3 varieties, which are single parity, double parity and |
3 |
> triple parity. As for reshaping, ZFS is a logical volume manager. You |
4 |
> can set and resize limits on ZFS datasets as you please. |
5 |
|
6 |
That isn't my understanding as far as raidz reshaping goes. You can |
7 |
create raidz's and add them to a zpool. You can add individual |
8 |
drives/partitions to zpools. You can remove any of these from a zpool |
9 |
at any time and have it move data into other storage areas. However, |
10 |
you can't reshape a raidz. |
11 |
|
12 |
Suppose I have a system with 5x1TB hard drives. They're merged into a |
13 |
single raidz with single-parity, so I have 4TB of space. I want to |
14 |
add one 1TB drive to the array and have 5TB of single-parity storage. |
15 |
As far as I'm aware you can't do that with raidz. What you could do |
16 |
is set up some other 4TB storage area (raidz or otherwise), remove the |
17 |
original raidz, recycle those drives into the new raidz, and then move |
18 |
the data back onto it. However, doing this requires 4TB of storage |
19 |
space. With mdadm you could do this online without the need for |
20 |
additional space as a holding area. |
21 |
|
22 |
ZFS is obviously a capable filesystem, but unless Oracle re-licenses |
23 |
it we'll never see it take off on Linux. For good or bad everybody |
24 |
seems to like the monolithic kernel. Btrfs obviously has a ways to go |
25 |
before it is a viable replacement, but I doubt Oracle would be sinking |
26 |
so much money into it if they intended to ever re-license ZFS. |
27 |
|
28 |
Rich |