我已经安排了这次突袭:
root@zen:/dev# zpool status zfs-raid
pool: zfs-raid
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: scrub repaired 0B in 12:38:49 with 0 errors on Sun Oct 9 13:02:51 2022
config:
NAME STATE READ WRITE CKSUM
zfs-raid ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
sda ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
errors: No known data errors我想用一些新的磁盘(sdd和sde)“生长”这个raidz阵列。
我尝试过zpool attach zfs-raid /dev/sdc /dev/sdd,但这带来了错误:cannot attach /dev/sdd to /dev/sdc: can only attach to mirrors and top-level disks
我也尝试过:
root@zen:/dev# zpool add zfs-raid /dev/sdd
invalid vdev specification
use '-f' to override the following errors:
mismatched replication level: pool uses raidz and new vdev is disk发布于 2022-11-10 23:04:28
TLDR:您不能将设备添加到RAIDZ。
这是...Dan Naumov2009 2009年的一个旧限制
重申一下,您不能只向raidz1或raidz2池中添加一个磁盘驱动器。这是已知的限制(您可以使用SUN文档检查)。如果您有一个现有的raidz,并且必须增加特定池的存储能力,那么您有三个选项:
但当前文档仍然提到了这一点:
zpool attach [-f] [-o property=value] pool device new_device将new_device附加到现有的zpool设备上。现有设备不能是raidz配置的一部分。如果设备当前不是镜像配置的一部分,则设备自动转换为设备和new_device的双向镜像。如果设备是双向镜像的一部分,附加new_device就会创建一个三方镜像,依此类推。在任何一种情况下,new_device都会立即开始重获银子。
https://askubuntu.com/questions/1439810
复制相似问题