Hi,
I've just gone through an exercise of replacing my 4x3TB raidz1 array with a mirrored-vdev arrangement.
I have 8 slots in two boxes. I had 4x3TB disks in one box and 4x4TB disks in another.
I set up a new pool containing the 4x4TB disks arranged as 2 two-disk mirrors and migrated the data from the original pool. Since the new pool is a bit smaller than the old raidz1, I had to prune some data. Still, the new pool filled to ~96%.
Now that the raidz1 is empty, I've added two of the 3TB disks as a third mirrored pair to the new pool to give it some headroom.
Now, the original 4 disks in that new pool are essentially full, with all my unallocated space sitting on the two added disks.
Will I see a performance issue here, since ZFS wasn't able to spread the load across the additional disks? Is it worth me copying a TB or so off the pool then back on? Or should I just relax?
[edit]: For clarity, here's the final arrangement. mirrors 0 and 1 are the 4TB disks that got ~96% filled. Mirror 2 is the two added 3TB disks.
Many thanks!
Chris
I've just gone through an exercise of replacing my 4x3TB raidz1 array with a mirrored-vdev arrangement.
I have 8 slots in two boxes. I had 4x3TB disks in one box and 4x4TB disks in another.
I set up a new pool containing the 4x4TB disks arranged as 2 two-disk mirrors and migrated the data from the original pool. Since the new pool is a bit smaller than the old raidz1, I had to prune some data. Still, the new pool filled to ~96%.
Now that the raidz1 is empty, I've added two of the 3TB disks as a third mirrored pair to the new pool to give it some headroom.
Now, the original 4 disks in that new pool are essentially full, with all my unallocated space sitting on the two added disks.
Will I see a performance issue here, since ZFS wasn't able to spread the load across the additional disks? Is it worth me copying a TB or so off the pool then back on? Or should I just relax?
[edit]: For clarity, here's the final arrangement. mirrors 0 and 1 are the 4TB disks that got ~96% filled. Mirror 2 is the two added 3TB disks.
Code:
mediabox@trillian:/store/media # zpool status
pool: store
state: ONLINE
scan: scrub canceled on Mon Dec 21 12:01:57 2015
config:
NAME STATE READ WRITE CKSUM
store ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
label/box0slot2 ONLINE 0 0 0
label/box0slot3 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
label/box0slot0 ONLINE 0 0 0
label/box0slot1 ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
label/slot0 ONLINE 0 0 0
label/slot1 ONLINE 0 0 0
errors: No known data errors
Many thanks!
Chris