2018-03-27 11:47 GMT+02:00 Mateusz Korniak <mateusz-lists@xxxxxxxxxxxxxx>: > I do replacing S with D like that: > > Copy partition table: > > sfdisk -d /dev/sdS | sfdisk -L /dev/sdD > > Add new disk as spare: > > mdadm /dev/mdX --add /dev/sdDX > > For each partition start moving data to new disk: > > mdadm /dev/mdX --replace /dev/sdSX > > Watch progress: > > watch cat /proc/mdstat > > When done, move next disk. Exactly what I thought. But doing so, will result in the same paritioning scheme also on destination driver, in my case I have to grow the partitions. So, what If I manually create partitions (of proper size) on destination drive and then replace disks one by one? Any issue with LVM PV moved (by mdadm) from a small partition to something bigger ? -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html