mdadm interact input by expect