池中有 2 个磁盘 /dev/sde /dev/sdf
磁盘 /dev/sde 已损坏,我将其从池中排除并用新磁盘替换。袭击已经降级。
将新的 /dev/sde 磁盘添加到池后,我得到了以下配置:
zpool status
pool: rpool
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: http://zfsonlinux.org/msg/ZFS-8000-4J
scan: scrub repaired 0B in 0h25m with 0 errors on Wed Sep 2 18:32:39 2020
config:
NAME STATE READ WRITE CKSUM
rpool DEGRADED 0 0 …
Run Code Online (Sandbox Code Playgroud) zfs ×1