Monday to Saturday 9:00–19:00, Sunday closedFree pickup anywhere in Germany · drop-off in Berlin and Hamburg

NAS and RAID

Synology SHR explained: the layers of a hybrid RAID and how data is recovered

Synology Hybrid RAID lets you mix disks of different sizes and still use most of the space. To do this, DiskStation Manager stacks several layers on top of each other. As long as everything works, nobody needs to know them. When the volume crashes, knowing them is what separates a calm recovery from a lost weekend.

Published 2 min readBy Mirush Murataj

Cover of the RecDati guide: Synology SHR explained: the layers of a hybrid RAID and how data is recovered
SHR is not one RAID but several software RAIDs, joined by LVM.

In short

  • SHR is not one RAID but several software RAIDs, joined by LVM.
  • Each disk is cut into partitions of matching size, which become separate arrays.
  • After a crash, the arrays are rebuilt from copies and the volume is read layer by layer.

The four layers of an SHR volume

Every disk in a DiskStation carries a small system partition, a swap partition and one or more data partitions. SHR then works in four steps:

  1. Partitions. The space of each disk is cut into slices. With disks of 4, 4, 8 and 8 TB, every disk gets a 4 TB slice, and the two 8 TB disks get a second 4 TB slice.
  2. mdadm arrays. Slices of the same size form a classic Linux software RAID: here a RAID 5 over four 4 TB slices and a RAID 1 over the two extra slices.
  3. LVM. The arrays are joined into one volume group, so they look like one big disk.
  4. File system. On top sits Btrfs or ext4, with the shared folders.

Why SHR fails in ways a simple RAID does not

Because one disk belongs to several arrays, a single faulty disk affects all of them at once. After a disk swap, DSM repairs the arrays one after the other. If the process is interrupted, one array can be up to date and another not. The storage manager then reports the volume as "crashed", even though most of the data is intact.

Disks that were expanded several times show a long history of slices. Every expansion adds an array or changes one. This history is stored in the metadata on the disks, and it is the map the lab needs.

What you should note before shutting down

  • The order of the disks in the bays and their serial numbers.
  • The last messages of the storage manager and the log, with times.
  • Any recent change: a disk replaced, an expansion, a DSM update.

Do not create a new storage pool, do not remove a disk "to test" and do not run the repair proposed by DSM again if it failed once.

In the lab

Each disk is copied first. The mdadm superblocks on the copies show which slice belongs to which array and when each was last updated. Arrays are assembled read-only, with the stale member left out if needed. Then the LVM metadata is read to join them in the right order, and the file system is opened. For Btrfs, older tree roots often give access to a consistent state from shortly before the crash.

This works the same for SHR-1 and SHR-2. The more disks and expansions, the more work, but the method stays the same. More on the device: Synology NAS data recovery. On the file system errors that often come with it: Btrfs checksum errors on a NAS: what the message really means.

Frequently asked questions

Can a Synology SHR be read without a DiskStation?

Yes. The layers are standard Linux tools, so the lab assembles them on its own systems, from copies of the disks.

Is SHR riskier than a classic RAID 5?

Not in normal use. The risk comes from the more complex repair after a disk swap. A current backup removes it.

Does it matter which DSM version was installed?

Yes, it helps. Note the version if you can still see it, and whether an update ran shortly before the problem.

Official sources and useful links

Are these files business-critical?

Stop every repair attempt that writes to the disks. The lab diagnosis is free and you receive a fixed price before anything is done.

Request a free diagnosis Synology NAS data recovery

Switch the device off, leave it as it is and let the lab have a look first.

Get a price