OK,
Quick but simple query (I think). From the reading I've done on ZFS...the picture in my mind tells me that I could have a single zpool and in that have multiple sized RAIDZ2.
For example, if I had 10x 2TB, 6x 1.5TB and 4x 1TB, I could have a single zpool that contains a 3 RAIDZ2s of 10x 2TB, 6x1.5TB and 4x 1TB respectively...
As my first dive into ZFS I tried to test this out with the following commands:
1. zpool create nas raidz2 <drive1-10 2TB>
2. zpool add nas raidz2 <drive1-6 1.5TB>
3. zpool add nas raidz2 <drive1-4 1TB>
As soon as I try the second command ZFS tells me:
invalid vdev specification
use '-f' to override the following errors:
mismatched replication level: pool uses mirror and new vdev is raidz
Now...should I be doing this? Or is this just a warning? When I force it the zpool creates successfully and I have different RAIDZ2s under the single zpool.
By doing this, I am losing out on any space? (Other than obviously having 6 different parity drives) i.e. in this example should I be getting the maximum benefit of 8x 2TB, 4x 1.5TB and 2x 1TB?
Also, I haven't tried this out with my actual drives yet...currently I've just used my 10x 2TB drives to experiment (a 5x 2TB RAIDZ2 and 5x 2TB RAIDZ2). Already, I can see performance drop when I run bonnie++ by quite a bit. Is this expected? Or am I setting it up wrong?
Cheers,
Grant
Quick but simple query (I think). From the reading I've done on ZFS...the picture in my mind tells me that I could have a single zpool and in that have multiple sized RAIDZ2.
For example, if I had 10x 2TB, 6x 1.5TB and 4x 1TB, I could have a single zpool that contains a 3 RAIDZ2s of 10x 2TB, 6x1.5TB and 4x 1TB respectively...
As my first dive into ZFS I tried to test this out with the following commands:
1. zpool create nas raidz2 <drive1-10 2TB>
2. zpool add nas raidz2 <drive1-6 1.5TB>
3. zpool add nas raidz2 <drive1-4 1TB>
As soon as I try the second command ZFS tells me:
invalid vdev specification
use '-f' to override the following errors:
mismatched replication level: pool uses mirror and new vdev is raidz
Now...should I be doing this? Or is this just a warning? When I force it the zpool creates successfully and I have different RAIDZ2s under the single zpool.
By doing this, I am losing out on any space? (Other than obviously having 6 different parity drives) i.e. in this example should I be getting the maximum benefit of 8x 2TB, 4x 1.5TB and 2x 1TB?
Also, I haven't tried this out with my actual drives yet...currently I've just used my 10x 2TB drives to experiment (a 5x 2TB RAIDZ2 and 5x 2TB RAIDZ2). Already, I can see performance drop when I run bonnie++ by quite a bit. Is this expected? Or am I setting it up wrong?
Cheers,
Grant