问题原文
原帖链接 · jfreak53 · CC BY-SA 4.0
I have a RAIDZ1 running 6x 3TB drives, and I want to expand my pool by adding 5x 2TB drives to it. But when I tell it to add to the pool I get this:
$ zpool add zpool1 raidz1 /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde
invalid vdev specification
use '-f' to override the following errors:
mismatched replication level: pool uses 6-way raidz and new vdev uses 5-way raidz
Just how bad is doing this? I don't care about performance, this server does not need massive performance, it needs storage. Will this damage my data to do this or is it fine to expand to different size pools like this?
已采纳解答
原帖链接 · shodanshok · CC BY-SA 4.0
While having RAIDZ vdevs of different width is not recommended, it is a valid configuration to use. The key point is to use the same redundancy level - RAIDZ1 in this case.
In other words - the ZFS warning is a valid one, but using -f can be justified in this specific case. You should obviously be mindful of what it means, as both performance and space efficiency (ie: via un-optimal padding) will be affected.
Anyway, data will not be damaged and redundancy will not be lowered by adding another RAIDZ1 vdev.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
