Persistence

  • reference the device in configuration

mdadm --detail --scan /dev/md0 >> /etc/mdadm/mdadm.conf
  • update the initial file system

update-initramfs -u