I just got a CENTOS new machine setup. It has 2x SSD drives for linux, and 4x 12TB SAS drives for extra storage.
I setup a software RAID10 array on the 4x 12TB drives, file system ext4. Obviously it had to resync the drives, as it's a new RAID array. Eventhough the drives are totally empty.
It's been resync'ing for about 15 hours now, and it's only done 14%.
Every 2.0s: cat /proc/mdstat Tue Oct 8 05:28:01 2019
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
md4 : active raid10 sdf1[3] sde1[2] sdd1[1] sdc1[0]
23437503488 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
[==>..................] resync = 14.3% (3369612096/23437503488) finish=12927.6min speed=25872K/sec
bitmap: 151/175 pages [604KB], 65536KB chunk
md2 : active raid1 sda2[0] sdb2[1]
20478912 blocks [2/2] [UU]
md3 : active raid1 sdb3[1] sda3[0]
447318976 blocks [2/2] [UU]
bitmap: 0/4 pages [0KB], 65536KB chunk
unused devices: <none>
The machine is not being used for anything else at the moment. The resync speed has gone down a lot. It started around 100,000k/s, but it's currently sitting around 20,000k/s.
It will take me like a week to get these drives ready at this speed, if it doesn't get even slower.
Is there anything I can do to speed things up?
CPU is hardly being used, and plenty of RAM available too.