On 7/29/25 2:34 AM, François Patte wrote:
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?
That is the way it should have been done.
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...
What does "fdisk -l /dev/md127" show?
I don't have a system that I can test this on at the moment, but if that
lists a partition, then try mounting that. Maybe something like
"/dev/md127p1".
--
_______________________________________________
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