HC680 27 TB host-managed SMR in md RAID5 over dm-zoned: rebuild, ingest and DX1222 port-multiplier numbers

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

illofspeed

New Member
Oct 10, 2026
2
3
1
Numbers first, story after. One system: a Synology DS3622xs+ + DX1222 + 3 × WD Ultrastar DC HC680 27 TB HM-SMR. The 88SE9235 SATA controller behind the NAS's expansion connector (it sits on the DS3622xs+ board; the DX1222 hangs off it) is passed whole to a Linux guest running dm-zoned per drive → md RAID5 → dm-cache volume cache → LUKS2 → XFS, on kernel 7.2.6.

Member rebuild (24.6 TiB per member)
  • Plain dm-zoned member: 80–93 MB/s for the first ~55 min while the ~250 GiB conventional-zone buffer absorbs writes. After that 26–30 MB/s, about 10 days, with no redundancy meanwhile.
  • With a dm-zoned cache device (a NAS virtual disk behind the NAS NVMe cache): 73–178 MB/s, 2–3 days. The drive then writes only sequentially.
  • Caveat: that was measured with DSM's SSD-cache sequential threshold at 0 while the NAS was rebuilding its own RAID. A rebuild at the default threshold with my patched module is untested.

1.5 TiB of fresh 1 MiB sequential writes (fio, 8 files, encrypted pool)
PlainCached, threshold 524288 KBCached, threshold 1024 KB (default)
First ~500 GiB~201 MB/s~66 MB/s~155 MB/s
After that~45 MB/s~90 MB/s41 MB/s for ~200 GiB, then 75–117 MB/s
Whole run~7 h (extrap.)~5¾ h (extrap.)5.1 h
Drive bytes per user byte2.76~1.4~1.5
Limitthe drivesNAS NVMe insert path, ~170 MB/sNAS HDDs

Plain members write every byte twice: first into the drive's own buffer, then into a sequential zone. Cached members write each byte about once. In the sustained phase the HC680s were only ~19 % busy. The attached chart shows the three runs over time.

DX1222 port multiplier (88SM9705): two drives writing through one multiplier get ~150 MB/s each, so ~300 MB/s together. Reads scale to ~520 MB/s together. It's the same on HC550s in burn-in, with FBS on, and it caps plain-member ingest at ~200 MB/s of user data. Hot-plug froze every drive on the multiplier for 12 s (pull) and 25 s (insert).

Guest kernel, same stack (60-s test, 1 O_DIRECT writer, 1 MiB writes): 24.6 MiB/s on Debian 6.12.107 vs 165.4 MiB/s on Ubuntu mainline 7.2.6.

Open risk: one NAS kernel panic captured in Synology's mv14xx driver (DSM's own controller, not the passed-through one) and one earlier uncaptured NAS reset; both happened minutes after a guest carrying the passed-through controller was started or reset with I/O going through it. Correlation, not a proven cause; no recurrence since 2026-09-24.

Write-up, raw method and patches: GitHub - illofspeed/synology-host-managed-smr: Run host-managed SMR drives (WD HC680) with a Synology NAS: pass a whole SATA controller to a VMM guest and build dm-zoned + md RAID5 + LUKS2 + XFS in OpenMediaVault. Tested only on DS3622xs+ with DX1222 (not DS1821+ in this layout). Setup, boot chain, Hyper Backup target, monitoring, benchmarks, lessons.
Upstream patches (sent 2026-10-10; the dm-zoned series is under review): synology-host-managed-smr/patches/upstream/README.md at main · illofspeed/synology-host-managed-smr

Disclosure: I did the debugging, the patches and this write-up with the help of an AI coding assistant. All measurements are from my own hardware.
 

Attachments

  • ingest-1.5tib-light (1).png
    ingest-1.5tib-light (1).png
    142.2 KB · Views: 3
Last edited:
  • Like
Reactions: Samir
o_O


Interesting numbers and an honest write-up, but nobody should even think about using something like that right now, if ever.

1. The cache layer is a single point of failure. If that volume fails, your array is toast.
2. The rebuild window is measured in days. If another drive fails, your array is toast.
3. The port multiplier stalls multiple drives at once. If it stalls long enough md will kick more members. If that happens, or the multiplier simply dies, your array is toast.
4. The stack is five layers deep (dm-zoned → md → dm-cache → LUKS2 → XFS). It runs on barely maintained dm-zoned plus AI-assisted patches that haven't been merged yet, on a mainline kernel, on a host that has already panicked twice. If anything breaks, almost nobody has the tools or experience to help you recover, and your array is toast.

As a lab experiment it's interesting. As storage for anything remotely important it's an imminent train wreck. HM-SMR disks work much better as append-only backup targets, or maybe mirrored with btrfs (personally, I do not like it) zoned mode, than as members of a parity array.
Honestly, even with CMR HDDs, I strongly advise against using mdraid >1. The rebuild times are simply too long and punishing.
 
Last edited:
  • Like
Reactions: Samir
No question, just numbers. Most of the post was experiments to see where the limits are.

The setup I’ve landed on, and the guide now says so: plain dm-zoned members, no cache devices. A cache device goes on a member only while it is being rebuilt, to cut the rebuild from ~10 days to 2–3. That member adds no redundancy until it is in sync, so if its cache device fails, only that rebuild starts over; the other members aren’t affected. It’s detached afterwards (a few minutes, md degraded meanwhile). A volume cache on top of the RAID is optional, as on any md array.

Agreed on the rest: RAID5 with 27 TB members is thin, the three members share one port multiplier, and the stack is deep. That’s why it’s documented as a lab setup with the risks listed. For what it’s worth, the dm-zoned fixes have since been accepted by the device-mapper maintainers, and the libahci one is in libata for 7.4.