Raid 5 migration to bigger HDDs

I have QNap TS-453E. Currently it contains 2 HDD in Raid 1:

  • 20 Tb WD202KFGX
  • 20 Tb ST20000NT001

Is it possible to add do next steps:

  1. Add 22 Tb WD221KFGX
  2. Migrate to Raid 5
  3. Replace 20 Tb ST20000NT001 to 22 Tb ST22000NT001
  4. Replace 20 Tb WD202KFGX to 22 Tb WD221KFGX
  5. Resize Raid 5

without loosing data? Is this way supported?

Yes, that should be possible but:

  1. Have backups… never be without backups (No a RAID is NOT a backup)
  2. If you are running a static volume you only have to grow the static volume, but…
  3. If you are running storage pools, increasing the storage would only increase your pool space and not automatically your volume (people often complain/get confused about it)

I am using Storage pool with thick volume. Does it mean, that I should resize each volume (for each drive) and after that expand pool ?

There is no volumes on each drive, the drives are in a RAID.

It means if you increase the pool size, it will not automatically change your volume size.

I am a bit confused here. According to this screenshot in storage pool I have volumes. I created them on the purpose, as I need different approaches related to snapshot creation for them. Maybe you understand something else by this.

That’s why I said that many people get confused.

When you add disks to, or swap disks out of your RAID, you have to look at the pool (the level above the volumes) , marked in your case with “Storage Pool 1”, here you add disks and/or increase the size of the pool

P.S. it looks like you are using cache, make sure you have good backups, as … cache is prone to fail (even more so when used on single disks) and will result in reduced speeds (on QTS) due to bad destaging of dirty blocks.

I am using pure read-only cache, so I assume that will not increase risks for data in pool. Just for getting incorrect data from outside. Which is not so important in my case.

It sadly does, as even a busted read only cache will make you lose access to your data. (for failed read cache you can ask support to fix it for you though)

Is it not possible to just remove caching and deattach broken SSD? Will it help?

Once the cache disk is broken , you cannot remove it with normal means.

I would say, remove your cache, at least until you got your RAID conversion and disk swaps done.

2 Likes

Are you currently using an M.2 SSD in your NAS?