5

I'm not looking for what Synology Hybrid RAID (SHR) allows the user to do, but rather, what is the concept that SHR uses to allow you combine disks of different sizes? In most RAID implementations such as ZFS, Linux RAID/mdadm or Btrfs, only disks of the same size can be combined. I have also heard that SHR is based on Linux RAID, and if so, how can it allow me to use different sized disks when standard Linux RAID can't? Does it use a scheme where disks are partitioned into equal sized chunks and then setup in an array? The documentation on Synology's website explains the outcome that SHR can achieve, but now how it achieves it, which is what I would like to know.

  • Look up JBOD. Synology isn't the only people doing this, and it's not a unique or new technology. – music2myear Oct 10 '18 at 23:54
  • @music2myear I am familiar with the concept of JBOD, however JBOD provides no redundancy, whereas SHR does provide redundancy. – wispi Oct 10 '18 at 23:56
  • It might be some proprietary format - hence why the name Synology Hybrid Raid.. your best bet is to ask Synology directly. – Darius Oct 11 '18 at 1:23
  • Easiest way to find out is probably to log in to an existing synology box (it uses Linux), and have a look at how it is set up. – dirkt Oct 11 '18 at 5:37
  • @dirkt Unfortunately, I don't own a Synology box. – wispi Oct 11 '18 at 22:48
3

Synology Hybrid RAID works as follows:

  • One md RAID 1 across all disks for the NAS root file system (about 2.3GB on my system).
  • One md RAID 1 across all disks for swap (about 2GB on my system).
  • One LVM volume group containing multiple md RAIDs (either RAID 5/6 or RAID 1 for two devices).

If you have 2⨉1TB and 2⨉2TB, there would be two md devices in the VG: One with 1TB (minus root and swap) across all devices and another one with 1TB across the two larger devices.

When you replace one of the 1TB devices with a 3TB device, the first md will be repaired, the second md will be reshaped to a RAID 5 containing the "second TB" of each of the larger 3 devices and the last TB is not available.

As soon as you replace one of the 2TB devices with another 3TB device, a RAID1 of the last TB of the now two 3TB devices will be created and added to the LVM VG.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.