To insert a new disk, /dev/sdd1, into the existing array /dev/md0 as a replacement member, run mdadm /dev/md0 with the…