Storage Pools consolidation and RAID5 to RAID6 migration

Hi,

I have TS-873A with 64GB RAM, QuTS Hero ZFS OS, 2x 4TB NVMe in RAID 1 as Storage Pool 1 (System), 5x 28TB Seagate Exos in RAID5 as Storage Pool 2 and 3x 28TB Seagate Exos in RAID5 as Storage Pool 3.

My clever plan is to back up Storage Pool 3, delete it, and assign the three released HDDs to Storage Pool 2, so the updated Storage Pool 2 will be like 8x 28TB HDDs. Once that is completed, I plan to upgrade Storage Pool 2 from RAID5 to RAID6, which will provide two disk redundancy instead of only one.

Does that plan make sense? Will RAID6 be significantly slower than RAID5? How long (roughly) would the migration to RAID6 take, considering that Storage Pool 2 currently contains around 60TB of data (out of 98TB of the total pool space)?

Or should I keep the current configuration with two RAID5 storage pools?

Worst case scenario is to backup both Storage Pool 2 and 3, delete them, and create one Storage Pool consisting of all 8 HDDs configured in RAID 6. Will that be anyhow better than RAID 5 in term of performance?

Hello,

with QuTShero you can`t upgrade from raid 5 to raid 6.

You can change the RAID type of an existing RAID group only with QTS.

The lack of migration paths between RAID levels is one of the many reasons I hate ZFS.

Let’s assume I will destroy both RAID 5 Storage Pools and create one new RAID 6 with all 8 HDDs. What performance impact can I expect? How will the read, write and seeking performance look like?

QuTS hero supports drive migration starting from version 5.1.

You can find more details here: QuTS hero NAS – Optimal Storage with Boosted Performance | QNAP

Please note, according to the documentation, you need to add two or more drives when expanding a RAID group.

Regarding the performance you mentioned, this is usually related to your network or the client-side protocol. If you’re interested, feel free to share your specific situation with us, and we can check if we have relevant data to share.

Most importantly: Before performing any migration, please ensure all your critical data is backed up!

Hi @SteveKo

Appreciate your feedback.

So, if I destroy Storage Pool 3 and add the released 3 HDDs to Storage Pool 2 (originally 5 HDDs), I could then upgrade Storage Pool 2 RAID 5 to RAID 6 (8 HDDs in total), correct? Double checking.

And speaking of performance, I’m interested in any penalties associated with calculating RAID 6 checksums vs RAID 5. Is RAID 6 slower as it has to calculate two checksums vs a single checksum in RAID 5? I don’t want to mix networking or anything external at this stage as I’m more interested in finding the impact on the storage system and how TS-873A will handle it. Online sources are all focused on network speed. I couldn’t find anything related to the effect on storage performance and how the CPU/NAS handle it.

Yes, here are the screenshots of my migration from RAID 5 to RAID 6 on a QuTS hero h5.2.

I use HDD 2 ~ 4 to build RAID 5.

Go to Action → Expand Pool

Select “Add new disks to an existing RAID group”

If only add 1 HDD, it can only stay in RAID 5.

If add 2 or more HDDs, it can migrate to RAID 6

And speaking of performance, I’m interested in any penalties associated with calculating RAID 6 checksums vs RAID 5. Is RAID 6 slower as it has to calculate two checksums vs a single checksum in RAID 5? I don’t want to mix networking or anything external at this stage as I’m more interested in finding the impact on the storage system and how TS-873A will handle it. Online sources are all focused on network speed. I couldn’t find anything related to the effect on storage performance and how the CPU/NAS handle it.

“The write performance of RAID 6 is 20% worse than RAID 5” this answer by AI is consistent with the surveillance tests we have been conducting recently.

If not for surveillance but just for general data storage, using RAID 6 should not be a problem.

1 Like

But you can´t change the RAID type of an existing RAID group from Raid 5 to Raid 6.

With QuTShero you can:

Expanding a storage pool by adding a new RAID Group
Expanding a storage pool by adding disks to a RAID group

Storage pool expansion | QuTS hero h5.2.x

RAID actions | QuTS hero h5.2.x

1 Like

OpenZFS /QuTS hero - ZFS prioritizes data integrity

1)

You cannot transform a RAID5 (ZFS RAIDZ1) into a RAID6 (ZFS RAIDZ2)

You have to delete an existing ZFS storage pool you created as a RAID5 and then re-create it as a RAID6. So, you MUST have a backup from where you can then copy the data back to the new ZFS RAID6.

Why?

Unlike some hardware RAID systems, ZFS does not support changing redundancy levels in place because:

  • It would require re-striping the entire vdev.

  • Risk of corruption if interrupted.

  • ZFS prioritizes data integrity over flexibility.

2)

NEW is that you can now add drives to an existing ZFS RAID5 or RAID6

Starting with OpenZFS version 2.3.0 / QuTS hero 5.2.x this is indeed possible. Adding a 30TB HDD will take around half a day or more but it works fine. I have tested it with 18TB HDDs. Once you have added a HDD you can add the next HDD.

3)

Performance hit between a HDD based RAID5 and RAID6 is about 10%. So, not much.

The real difference is between a HDD RAID 10 and a RAID5 or RAID6. Because with RAID10 you can add the performance of the HDD spindles. But, yes, with RAID10 you have to “sacrifice” half of your total disk-capacity.

READ Example:
8 disks → 4 mirrors → reads can come from all 8 disks → near 8× single-disk read speed for sequential workloads.

WRITE Example:
8 disks → 4 mirrors → write speed ≈ 4× single-disk speed for sequential writes.

Latency:
Is only really marginally improved because of the architecture of the HDDs with their physical read/write heads.

Assuming, based on your instruction, I will go ahead.

What upgrade time should I expect?

For my NAS, a single 28TB disk swap takes about 5 days. If I will add 3x 28TB HDDs to the Storage Pool 1 (with currently 5x 28 TB) and commence RAID5 to RAID6 expansion (to 8x 28TB HDDs) should I expect about 5 days to complete (as 3 disks will be added at once) or 3x 5 days = two weeks for the NAS to process the three additional HDDs and add them to the Storage Pool 1 while converting to RAID6 at the same time?

That is a massive operation, so I prefer to gather all the information before deciding on the next steps.

Hi @Krispy you need to add 3 disks at once to migrate from RAID 5 to RAID 6.

For the migration time, this depends on too many things such as CPU level, sync priority, disk health, actual NAS loading…etc , so we cannot determine the time.

Migrating from 5x 28TB RAID5 to 8x 28TB RAID6 and keep existing NAS service operation would likely take at least one to two weeks or more, and backing up the data from the 5x 28TB RAID5 system beforehand would also be a challenge.

Hi @haru0

Appreciate your feedback.

Let’s assume NAS won’t be used during adding the 3x 28TB HDDs and migrating RAID5 to RAID6. And let’s not worry about backup - it will be done. Let’s just focus on the expansion and RAID level migration alone.

Will the completion time be closer to the time NAS needs to process one disk (as all three will be added at once) or will it take 3x 5 days?

Anything else to consider?