Hi Andrew, Many thanks for that, however, that seems to bring up another issue. During the partitioning step, it is able to create all the underlying partitions, but fails with:
Executing: yes | mdadm --create /dev/md0 --level=raid1 --force --run --raid-devices=2 /dev/sda1 /dev/sdb1 (STDERR) mdadm: cannot open /dev/sda1: Device or resource busy I've checked a couple of things as described here ( https://www.thegeekdiary.com/mdadm-cannot-open-dev-sda1-device-or-resource-busy/) and here (http://dev.bizo.com/2012/07/mdadm-device-or-resource-busy.html), but that didn't seem to help. Is this something you've come across before whan using this hook? Thanks Jerry -- --- Jerry Steele Telephone: +44 (0)7492 910225 GPG: 43A3A8C6