It all depends on how the init it is done in raid1/mdadm.  If it
copies data from one disk to the other to make a raid 1 you are ok.
If it zeros both disk then the data is gone.   I am not sure
internally which it does for raid1.  The data may still be there.  I
have seen real raid controllers when re-inititalized simply copy data
from one disk to the other preserving the data in the raid1 case.



On Tue, Jul 29, 2025 at 2:38 PM Marco Moock <m...@dorfdsl.de> wrote:
>
> Am 29.07.2025 um 14:34:33 Uhr schrieb Roger Heflin:
>
> > I believe there are 2 paths forward.
> > 1: execute a mdadm --stop on the current wrong partition, and use a
> > partitioning program to fix the missing partition table using the
> > backup copy.
> > 2: if none of the tools will automatically fix it, then carefully
> > recreate the partition table making sure that the start and end are
> > the same as the prior table, and make sure to answer 'N' if the
> > partitioning program tells you there is a signature do you want to
> > wipe it.
>
> I assume this will be useless because mdadm wrote to the disk and
> restoring the partition table doesn't magically restore the data that
> was on the partition. The data on the partitions is now gone.
>
> The OT has to tell what was stored there, so a restore can be done.
>
> --
> Gruß
> Marco
>
> Send unsolicited bulk mail to 1753792473mu...@cartoonies.org
> --
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to