update mdadm resource; add two examples