我是 ZFS 新手,我有一个简单而快速的问题。这是我的 zpool :
NAME STATE READ WRITE CKSUM
vmstore DEGRADED 0 0 0
raidz2-0 DEGRADED 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
spare-2 DEGRADED 0 0 0
sdf FAULTED 5 0 0 too many errors
sdm ONLINE 0 0 0
sdg ONLINE 0 0 0
sdh ONLINE 0 0 0
sdi ONLINE 0 0 0
sdj ONLINE 0 0 0
sdk ONLINE 0 0 0
logs
mirror-1 ONLINE 0 0 0
sdb1 ONLINE 0 0 0
sdb2 ONLINE 0 0 0
sdb3 ONLINE 0 0 0
spares
sdm INUSE currently in use
如果我理解正确的话,为了用我的热备用磁盘(sdm)替换我的故障磁盘(sdf),命令将是:
$ zpool 替换 vmstore sdf sdm
如果有人可以确认,我们将不胜感激。