I'll see future updates for changes. As I see, you use slightly different approach in your script — you detect PCI device nums in nvmeXn1 PHYSDEVPATHs (via udevadm) and patch preset values in libsynonvme.so.1. Clever trick. My patch forces syno library to read all block devices, searching PHYSDEVDRIVER=nvme, making them available for creating cache.