我可以将我的线性跨度转换为 raidz-5 吗?我终于有了足够的硬盘驱动器,并且真的不想用他们需要保存的备份数据来重新填充它们。
所以目前,我建立的命令不是raid,而是使用线性跨度
$ zpool status
pool: san
state: ONLINE
status: Some supported 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(5) for details.
scan: scrub repaired 0 in 7h28m with 0 errors on Sat Apr 2 02:58:32 2016
config:
NAME STATE READ WRITE CKSUM
san ONLINE 0 0 0
sdd ONLINE 0 0 0
sdc ONLINE 0 0 0
sde ONLINE 0 0 0
errors: No known data errors
我可以再添加 2tb,将所有论文直接转换为 raidz5,这样我的校验和和 crc 都将变得有价值,而不会删除我的数据?
$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
san 4.91T 371G 2.85M /san
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
`-sda1 8:1 0 1.8T 0 part
sdb 8:16 0 232.9G 0 disk
|-sdb1 8:17 0 1007K 0 part
|-sdb2 8:18 0 4G 0 part [SWAP]
|-sdb3 8:19 0 20G 0 part /
|-sdb4 8:20 0 208.9G 0 part /home
`-sdb5 8:21 0 3.1M 0 part
sdc 8:32 0 1.8T 0 disk
|-sdc1 8:33 0 1.8T 0 part
`-sdc9 8:41 0 8M 0 part
sdd 8:48 0 1.8T 0 disk
|-sdd1 8:49 0 1.8T 0 part
`-sdd9 8:57 0 8M 0 part
sde 8:64 0 1.8T 0 disk
|-sde1 8:65 0 1.8T 0 part
`-sde9 8:73 0 8M 0 part
sda 是新人。
不,除了添加驱动器来镜像现有集(您需要三个)或使用对您最有意义的 ZFS 保护级别进行重建之外,您无法对现有设备执行任何操作。