Hello,
How to deal with the situation when the external drive with ZFS was temporary disconnected / power loss.
After reconnecting drive:
at this stage if I reboot PC - the freebsd will hang with no response (probably due to hard drive IO is suspended), only way to make system back to life - hard reset.
Thanks
How to deal with the situation when the external drive with ZFS was temporary disconnected / power loss.
After reconnecting drive:
Code:
# zpool status
pool: zrbackup01
state: SUSPENDED
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-HC
scan: scrub repaired 0B in 1 days 15:03:03 with 0 errors on Fri Jul 12 04:53:55 2024
config:
NAME STATE READ WRITE CKSUM
zrbackup01 UNAVAIL 0 0 0 insufficient replicas
da0 REMOVED 0 0 0
# zpool clear zrbackup01
cannot clear errors for zrbackup01: I/O error
# zpool clear -nF zrbackup01
# zpool online zrbackup01 /dev/da0
cannot online /dev/da0: pool I/O is currently suspended
# geom disk list
...
Geom name: da0
Providers:
1. Name: da0
Mediasize: 14000519639040 (13T)
Sectorsize: 4096
Mode: r0w0e0
descr: Seagate USB
lunid: 41736d6564696120
ident: XXXXXX
rotationrate: unknown
fwsectors: 63
fwheads: 255
...
at this stage if I reboot PC - the freebsd will hang with no response (probably due to hard drive IO is suspended), only way to make system back to life - hard reset.
Thanks