AFAIK, that is the way to get the information. It should support all raid levels. I don't have any other current level on any machine I am using, perhaps someone with a raid 5, 6, anything but mirror could execute the command and post here.
Ok, seemed odd saveparts finds it but savedisk does not. As far as getting the configuration to rebuild goes, I already tested the backup of the mirror and it works perfectly. If I needed to rebuild the array, I can do so. I tested restoring and all files were there. For saving the config, on a running system, running mdadm -v --detail --scan will provide all of the info needed to build the array I believe. For my running system, this yields: ARRAY /dev/md/0 level=raid1 num-devices=2 metadata=1.2...
Ok, seemed odd saveparts finds it but savedisk does not. As far as getting the configuration to rebuild goes, I already tested the backup of the mirror and it works perfectly. If I needed to rebuild the array, I can do so. I tested restoring and all files were there. For saving the config, on a running system, running mdadm -v --detail --scan will provide all of the info needed to build the array I believe. For my running system, this yields: ARRAY /dev/md/0 level=raid1 num-devices=2 metadata=1.2...
Start Clonezilla, pick device-image, pick where to save to, choose expert mode, here is the difference. if you choose saveparts, it allows you to pick all 3 partitions. if I choose savedisk however, it will only save 2 of them. Notice in the photo parition 2 (raid) is missing. In saveparts mode, it allows me to choose them all. Hopefully, that clarifies.
From what I can tell, can't seem to locate any doc or info, this allows me to use partition based backup of an mdadm mirror (at a minimum). And I did get that to work, great new feature! It recognized md127 array. However, I was surprised when I wanted to do a full disk backup, as, it said it was removing raid partitions, which it did. My question is this - are not both methods, partition and whole disk using partclone by default? If partclone can handle the partition in partition based backup, why...