<div dir="ltr"><div>Hi Andrew,</div><div><br></div><div>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:</div><div><br></div><div>Executing: yes | mdadm --create  /dev/md0 --level=raid1 --force --run --raid-devices=2 /dev/sda1 /dev/sdb1<br>(STDERR) mdadm: cannot open /dev/sda1: Device or resource busy<br></div><div><br></div><div>I've checked a couple of things as described here (<a href="https://www.thegeekdiary.com/mdadm-cannot-open-dev-sda1-device-or-resource-busy/">https://www.thegeekdiary.com/mdadm-cannot-open-dev-sda1-device-or-resource-busy/</a>) and here (<a href="http://dev.bizo.com/2012/07/mdadm-device-or-resource-busy.html">http://dev.bizo.com/2012/07/mdadm-device-or-resource-busy.html</a>), but that didn't seem to help.</div><div><br></div><div>Is this something you've come across before whan using this hook?</div><div><br></div><div>Thanks</div><div><br></div><div>Jerry</div><br><div class="gmail_quote"></div><br><br><br><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_6808228848972504257gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">---<br><br>Jerry Steele<br>Telephone: +44 (0)<span>7492 910225</span><br></div><div>GPG: 43A3A8C6</div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></div>