I am getting
This started in October where I took an ext4 drive and made /dev/ada3 a zpool drive, naming it Backup. I created the zfs dataset called Backup.
zpool status shows:
When I execute gdisk, I get
I would like to recover the disk, as a learning experience. However, it is one of two backup drives, so it would be no loss to nuke it.
oh,
TIA
-JJ
Code:
Nov 3 22:03:32 anthem kernel: GEOM: ada3: the primary GPT table is corrupt or invalid.
Nov 3 22:03:32 anthem kernel: GEOM: ada3: using the secondary instead -- recovery strongly advised.
zpool status shows:
Code:
pool: Backup
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
Backup ONLINE 0 0 0
ada3 ONLINE 0 0 0
errors: No known data errors
Code:
(23:47)ROOT@anthem:/root# gdisk /dev/ada3
GPT fdisk (gdisk) version 1.0.5
NOTE: Write test failed with error number 1. It will be impossible to save
changes to this disk's partition table!
You may be able to enable writes by exiting this program, typing
'sysctl kern.geom.debugflags=16' at a shell prompt, and re-running this
program.
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!
Warning: Invalid CRC on main header data; loaded backup partition table.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Main header: ERROR
Backup header: OK
Main partition table: ERROR
Backup partition table: OK
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Command (? for help):
I would like to recover the disk, as a learning experience. However, it is one of two backup drives, so it would be no loss to nuke it.
oh,
gpart recover ada3
failed.TIA
-JJ