MD devices are not wiped if LVM exists

Jerry Steele ticktockhouse at gmail.com
Tue Jul 2 12:34:09 CEST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20190702/959583f4/attachment.html>


More information about the linux-fai mailing list