Hi All,
Really hope someone can help me here.
FreeBSD 12.0-RELEASE r341666 GENERIC amd64
I've got a 4TB WD sata drive in the machine. At the time the problem occurred I was copying files onto the drive so it was busy. The disk is /dev/ada0. There are other zfs on the server but they are fine so I've not included any of their details below.
I've pasted as much info as I can think of below, please let me know if there is anything else that would help with analysis.
Thank you!
(LABEL 1, 2 and 3 show the same)
Really hope someone can help me here.
FreeBSD 12.0-RELEASE r341666 GENERIC amd64
I've got a 4TB WD sata drive in the machine. At the time the problem occurred I was copying files onto the drive so it was busy. The disk is /dev/ada0. There are other zfs on the server but they are fine so I've not included any of their details below.
I've pasted as much info as I can think of below, please let me know if there is anything else that would help with analysis.
Thank you!
Code:
# zpool status
pool: data4
state: FAULTED
status: The pool metadata is corrupted and the pool cannot be opened.
action: Recovery is possible, but will result in some data loss.
Returning the pool to its state as of Tue Jun 25 22:34:41 2019
should correct the problem. Approximately 5 seconds of data
must be discarded, irreversibly. Recovery can be attempted
by executing 'zpool clear -F data4'. A scrub of the pool
is strongly recommended after recovery.
see: http://illumos.org/msg/ZFS-8000-72
scan: none requested
config:
NAME STATE READ WRITE CKSUM
data4 FAULTED 0 0 1
ada0 ONLINE 0 0 6
Code:
# zpool clear -F data4
cannot clear errors for data4: I/O error
Code:
# zdb -l /dev/ada0
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'data4'
state: 0
txg: 4
pool_guid: 8419719978496350932
hostid: 979813928
hostname: 'quark'
top_guid: 1185416255203146580
guid: 1185416255203146580
vdev_children: 1
vdev_tree:
type: 'disk'
id: 0
guid: 1185416255203146580
path: '/dev/ada0'
whole_disk: 1
metaslab_array: 67
metaslab_shift: 35
ashift: 12
asize: 4000782221312
is_log: 0
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
(LABEL 1, 2 and 3 show the same)
Code:
# zdb data4
zdb: can't open 'data4': Input/output error
ZFS_DBGMSG(zdb):
spa_open_common: opening data4
spa_load(data4, config trusted): LOADING
disk vdev '/dev/ada0': best uberblock found for spa data4. txg 35185
spa_load(data4, config untrusted): using uberblock with txg=35185
spa_load(data4, config untrusted): FAILED: unable to open rootbp in dsl_pool_init [error=5]
spa_load(data4, config untrusted): UNLOADING
Code:
# zdb -k data4
zdb: Tried to read config of pool "data4" but spa_get_stats() failed with error 5
ZFS_DBGMSG(zdb):
spa_open_common: opening data4
spa_load(data4, config trusted): LOADING
disk vdev '/dev/ada0': best uberblock found for spa data4. txg 35185
spa_load(data4, config untrusted): using uberblock with txg=35185
spa_load(data4, config untrusted): FAILED: unable to open rootbp in dsl_pool_init [error=5]
spa_load(data4, config untrusted): UNLOADING
spa_load(data4, config untrusted): spa_load_retry: rewind, max txg: 35184
spa_load(data4, config untrusted): LOADING
disk vdev '/dev/ada0': best uberblock found for spa data4. txg 35184
spa_load(data4, config untrusted): using uberblock with txg=35184
spa_load(data4, config trusted): spa_load_verify found 1 metadata errors and 19 data errors
spa_load(data4, config trusted): LOADED
spa_load(data4, config trusted): UNLOADING