On Wednesday 27 February 2019 15:14:33 Patrick O'Callaghan wrote:
Given that it's RAID1 (i.e. mirroring) can't you just use dd to copy
all of sdb to sda?
poc
I am already doing that, but using clonezilla instead of DD. I should end up
with the same result. However, I did that so I had a safe copy.
It's taken 4 1/2 hours so far, and hasn't finished yet. If I do the same
again to have a working copy it'll be tomorrow before I get it working.
The other thing I wondered is whether that would actually work. Doesn't mdadm
store unit ID's to prevent drives changing sequence when booting up? Wouldn't
it just see the same drive twice?
I was hoping I could just get the system so I could boot from sdb, and then
get it to rebuild the RAID while the server is up and available.