Re: help raid 1 message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <mm@xxxxxxxxxx> 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 1753792473muell@xxxxxxxxxxxxxx
> --
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux