小编Mik*_*kov的帖子

我无法从 zfs 池中删除“坏”磁盘

  1. 池中有 2 个磁盘 /dev/sde /dev/sdf

  2. 磁盘 /dev/sde 已损坏,我将其从池中排除并用新磁盘替换。袭击已经降级。

  3. 将新的 /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

5
推荐指数
1
解决办法
9092
查看次数

标签 统计

zfs ×1