ZFS学习笔记
目录
root@freebsd:~ # zpool status
pool: zroot
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
zroot DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
ada0p3 FAULTED 0 0 0 corrupted data
ada0p3 ONLINE 0 0 0
errors: No known data errors
root@freebsd:/boot/efi # zpool status
pool: zroot
state: ONLINE
scan: resilvered 1.65G in 00:00:33 with 0 errors on Mon Jan 10 23:26:17 2022
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
ada2p3 ONLINE 0 0 0
logs
ada1p1 ONLINE 0 0 0
cache
ada1p2 ONLINE 0 0 0
errors: No known data errors
# apt install zfsutils-linux # systemctl start zfs-zed