我已将我的两个 raid1 驱动器从我的TrendNet TN-200 NAS机箱安装全新 Ubuntu 16.04.3 LTS。其中一个驱动器运行良好,但另一个驱动器运行速度极慢。
以下是一些统计数据(检查重建的速度和完成时间):
cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sdb2[0] sdc2[2]
2927642924 blocks super 1.0 [2/1] [U_]
[>....................] recovery = 1.2% (35496384/2927642924) finish=20005.6min speed=2409K/sec
sudo mdadm -D /dev/md1
/dev/md1:
Version : 1.0
Creation Time : Thu Jan 1 04:04:20 2015
Raid Level : raid1
Array Size : 2927642924 (2792.02 GiB 2997.91 GB)
Used Dev Size : 2927642924 (2792.02 GiB 2997.91 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Wed Oct 18 16:26:25 2017
State : clean, degraded, recovering
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1
Rebuild Status : 1% complete
Name : 1
UUID : 52c46d6e:fb57141b:bde3b1d8:a4dae5d6
Events : 137429
Number Major Minor RaidDevice State
0 8 18 0 active sync /dev/sdb2
2 8 34 1 spare rebuilding /dev/sdc2
我尝试了几种不同的 SATA 电缆和不同的 SATA 端口,结果相同。我还尝试使用 smartctl 运行了几次简短测试:
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-97-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours)
LBA_of_first_error
# 1 Short offline Self-test routine in progress 10% 21537 -
# 2 Short offline Interrupted (host reset) 00% 21537 -
# 3 Short offline Aborted by host 10% 21534 -
任何帮助都将不胜感激。我对 Linux 还不太熟悉,但我知道的足以应付危险。