On Wed, 2019-02-27 at 15:23 +0000, Gary Stainburn wrote:
> 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.

Sorry, my only experience is with a NAS with RAID1 which supports hot-
plugging. I've had to replace drives twice and it has Just Worked (i.e.
plug in a fresh drive and it configures itself). The NAS is running an
old copy of Debian and does use mdadm. I know it has an nvram for
configuration settings so maybe the unit IDs are stored there, but
beyond that I couldn't say.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to