Re: help raid 1 message

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

 



Le 29/07/2025 à 00:23, Samuel Sieb a écrit :
On 7/28/25 11:18 AM, François Patte wrote:
Error: The primary GPT table is corrupt, but the backup appears OK, so that will
be used.
OK/Cancel? ^C
Model: QNAP TR-002 DISK00 (scsi)
Disk /dev/sdc: 8002GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name        Flags
  1      1049kB  8002GB  8002GB               Linux RAID  raid


Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used.
OK/Cancel? ^C
Model: QNAP TR-002 DISK01 (scsi)
Disk /dev/sdd: 8002GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name        Flags
  1      1049kB  8002GB  8002GB               Linux RAID  raid


Don't try fixing the GPT table until things are resolved.

I don't understand what is wrong with this table and how to fix it...



Now mdadm:


  mdadm --detail /dev/md127
/dev/md127:
            Version : 1.2
      Creation Time : Thu Sep  5 23:24:40 2024
         Raid Level : raid1
         Array Size : 7813894464 (7451.91 GiB 8001.43 GB)
      Used Dev Size : 7813894464 (7451.91 GiB 8001.43 GB)
       Raid Devices : 2
      Total Devices : 2
        Persistence : Superblock is persistent

      Intent Bitmap : Internal

        Update Time : Wed Jul  9 10:26:46 2025
              State : clean
     Active Devices : 2
    Working Devices : 2
     Failed Devices : 0
      Spare Devices : 0

Consistency Policy : bitmap

               Name : dipankar.homelinux.org:0
               UUID : e22b6a9f:35787ad8:805092de:e9c5f2ca
             Events : 127371

     Number   Major   Minor   RaidDevice State
        0       8       48        0      active sync   /dev/sdd
        2       8       32        1      active sync   /dev/sdc

How did you create this?  The RAID pieces are in partitions, but your RAID array is using the raw disks.  I hope you have backups.  I would suggest stopping this array and create one using sdc1 and sdd1.

I can't remember how I did this, should I have to define partitions sdc1 and sdd1 before I create the raid-1 array?

These disks are used to backup my data, so I can reconstruct everything (it is just a question of time to save everything).

What is a mystery for me is how this backup system could have been mounted and working without error until I umount it...

Thank you for helping.

-- 
François Patte
tél : +33 (0)6 7892 5822
https://www.pingala.homelinux.org
-- 
_______________________________________________
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