戴尔提供的三块漂亮的 ST8000NM0075 Seagates 硬盘在 RaidZ3 中突然全部出现故障,三年零四个月内已经出现了四块这样的硬盘。
我没有预料到这一点,只有一个备用电源可以插入。感觉很危险。
当半远程差异备份完成时,我想将池更改为只读。
我的理由是,如果池是静态的,它应该更稳定,并且我暂时禁用自动快照。
我担心重新同步需要几天时间,而且多用户系统总是很忙。
这是否合理或正当?这是否实际上起到了一点谨慎的作用?
不转为只读的缺点是,同一个月内我又要面临一次业务中断。我不确定这些影响是否可以修复,但如果转为只读并修复池是明智的决定,那就没问题了……备份之后。
将池完全脱机是否比将其保持只读状态更安全?
$ dev/disk# zpool status -v
pool: darkpool
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
scan: scrub in progress since Fri Nov 8 04:52:09 2019
1004G scanned out of 47.5T at 81.4M/s, 166h22m to go
0B repaired, 2.06% done
config:
NAME STATE READ WRITE CKSUM
darkpool DEGRADED 0 0 0
raidz3-0 DEGRADED 0 0 0
wwn-0x5000c5008581aafb ONLINE 0 0 0
wwn-0x5000c5008581b61b ONLINE 0 0 0
783034318520267027 FAULTED 0 0 0 was /dev/sdm1
7369503050985789936 FAULTED 0 0 0 was /dev/sdj1
wwn-0x5000c5008581b953 ONLINE 0 0 0
wwn-0x5000c5008581bdf7 ONLINE 0 0 0
wwn-0x5000c50085825ec7 ONLINE 0 0 0
11744243917579175290 FAULTED 0 0 0 was /dev/sdg1
wwn-0x5000c5008581e423 ONLINE 0 0 0
wwn-0x5000c5008581fd3f ONLINE 0 0 0
wwn-0x5000c50085820b93 ONLINE 0 0 0
wwn-0x5000c500858211b3 ONLINE 0 0 0
wwn-0x5000cca267ab0de4 ONLINE 0 0 0
spare-13 DEGRADED 0 0 0
11992420879588183985 FAULTED 0 0 0 was /dev/disk/by-path/pci-0000:03:00.0-scsi-0:0:10:0-part1
wwn-0x5000c500858252ef ONLINE 0 0 0
spares
wwn-0x5000c500858252ef INUSE currently in use
我还有一个未装箱的驱动器,不要将其与当前正在用于替换另一个故障磁盘的备用驱动器混淆。
不,我没有参与这个设置的策划。