Hi mates!
After a sudden power outage my raidz pool state has changed to DEGRADED. My box is FreeBSD 14.1
Also
Is there a way to fix it without destroy the pool?
After a sudden power outage my raidz pool state has changed to DEGRADED. My box is FreeBSD 14.1
Code:
# zpool status -v storage
pool: storage
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J
config:
NAME STATE READ WRITE CKSUM
storage DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
11915794483624591419 FAULTED 0 0 0 was /dev/ada1p1
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
errors: No known data errors
Code:
# gpart list ada1
Geom name: ada1
modified: false
state: CORRUPT
fwheads: 16
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada1p1
Mediasize: 4000785960960 (3.6T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
efimedia: HD(1,GPT,b22564e3-97d3-11ef-b987-b47af1365428,0x800,0x1d1c0b688)
rawuuid: b22564e3-97d3-11ef-b987-b47af1365428
rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
label: (null)
length: 4000785960960
offset: 1048576
type: freebsd-zfs
index: 1
end: 7814037127
start: 2048
Consumers:
1. Name: ada1
Mediasize: 4000787030016 (3.6T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0