Hopefully someone can help me out. I've searched but not found any solutions for my situation.
OS: freebsd 12x
problem: running 2 hard drives in a software raid (JBOD) formatted with UFS. I recently found the "array" is up, but I'm missing data.
looking in the logs I found this. I understand there is a primary and backup GPT. it looks like the primary is corrupted but the backup is working? since it's spanned across 2 disks, I'm not having any luck in how to backup and restore or fix. gpart recover says it doesn't need to be recovered. but I'm still getting that error and still missing data. so looking for suggestions.
thanks
additional information if it's helpful.
OS: freebsd 12x
problem: running 2 hard drives in a software raid (JBOD) formatted with UFS. I recently found the "array" is up, but I'm missing data.
looking in the logs I found this. I understand there is a primary and backup GPT. it looks like the primary is corrupted but the backup is working? since it's spanned across 2 disks, I'm not having any luck in how to backup and restore or fix. gpart recover says it doesn't need to be recovered. but I'm still getting that error and still missing data. so looking for suggestions.
thanks
Code:
GEOM: ada0: GPT rejected -- may not be recoverable.
Trying to mount root from ufs:/dev/md0 []...
GEOM_CONCAT: Device BACKUP created (id=3754403038).
GEOM_CONCAT: Disk ada1 attached to BACKUP.
GEOM_CONCAT: Disk ada0 attached to BACKUP.
GEOM_CONCAT: Device concat/BACKUP activated.
GEOM: ada0: corrupt or invalid GPT detected.
GEOM: ada0: GPT rejected -- may not be recoverable.
Code:
Geom name: concat/BACKUP
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 19534951230
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: concat/BACKUPp1
Mediasize: 10001894965248 (9.1T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e2
efimedia: HD(1,GPT,6f2d871e-d2a8-11e5-ad14-0cc47ab37c84,0x40,0x48c5fb2c0)
rawuuid: 6f2d871e-d2a8-11e5-ad14-0cc47ab37c84
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: (null)
length: 10001894965248
offset: 32768
type: freebsd-ufs
index: 1
end: 19534951167
start: 64
Consumers:
1. Name: concat/BACKUP
Mediasize: 10001895047168 (9.1T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e3
Code:
gpart show concat/BACKUP
=> 34 19534951197 concat/BACKUP GPT (9.1T)
34 30 - free - (15K)
64 19534951104 1 freebsd-ufs (9.1T)
19534951168 63 - free - (32K)
Code:
geom concat list
Geom name: BACKUP
State: UP
Status: Total=2, Online=2
Type: AUTOMATIC
ID: 3754403038
Providers:
1. Name: concat/BACKUP
Mediasize: 10001895047168 (9.1T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e3
Consumers:
1. Name: ada1
Mediasize: 5000947524096 (4.5T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e4
Start: 5000947523584
End: 10001895047168
2. Name: ada0
Mediasize: 5000947524096 (4.5T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e4
Start: 0
End: 5000947523584
Last edited by a moderator: