今天打算替换ZFS镜像池中的一个盘来着,结果出现:
root@sipl-4Xp:/A-pool# zpool add sipl-pool sdc -f the kernel failed to rescan the partition table: 16 cannot label 'sdc': try using parted(8) and then provide a specific slice: -1
这是因为没有进行umount操作,所以先umount sdc,然后再add:
umount /dev/sdc1
查看状态看看:
root@sipl-4Xp:~# zpool status
pool: sipl-pool
state: ONLINE
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Thu Sep 22 18:32:45 2022
1.51T scanned out of 2.89T at 833M/s, 0h29m to go
7.50G resilvered, 52.07% done
config:
NAME STATE READ WRITE CKSUM
sipl-pool ONLINE 0 0 0
sda ONLINE 0 0 0
sdc ONLINE 0 0 0
errors: No known data errors
本文最后更新于2022年9月22日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!