Hi,
This is based on this good-old post from Totalnas: h*t*t*p*s*://xpenology.com/forum/topic/418-kernel-hijack/?do=findComment&comment=3715
The problem is that the Synology kernel doesn't include by default the kernel module to support the "pvmove" LVM command. And YES, this is required to shrink volumes and change disks without touching/removing/deleting the volumes (I'll explain it in the future).
So I've created a patch for the AuxXxilium/arc-modules to generate the modules (dm-mirror.ko, dm-log.ko and dm-region-hash.ko). The patch is at the end. More or less is very simple: for the kernel sources it adds the modules and compile it (I've only added the changes for the "broadwellnk-4.4.302" platform (DSM 7.2 with DS3622xs+)). Therefore, I suggest to add it to the main repository and promote it to all platforms. Then you can use it when using the good ARC Loader. You agree?
So please PocoPico and AuxXxilium can you merge this patch to https://github.com/AuxXxilium/arc-modules ?
Thank you.
dm-mirror-broadwellnk-4.4.302.zip
dm-mirror.patch