On Thu, 18 Apr 2024 18:23:18 +0800 Xiao Ni <xni@xxxxxxxxxx> wrote: > + local is_super1="$(mdadm -D --export $DEVNODE_NAME | grep > MD_METADATA=1.2)" You can also limit this test to super-1.2 it may depend on config, so we can specify metadata directly in create command (if it is not specified). Mariusz