11
3
From what I understand this is possible, but I can't find a straight answer anywhere about how exactly to go about it, and I don't want to risk losing data experimenting with it myself so I'm asking here.
I have a home server with five disks running CentOS. One is an SSD holding the OS. The remaining four disks are 4TB harddrives configured in RAID10 with mdraid. The filesystem in use is xfs.
I'm considering trying to replace the 4TB disks with 8TB ones. What exactly needs to be done to make this replacement happen without having to reconfigure a fresh RAID and lose data?
Details output:
[root@fluttershy ~]# mdadm -D /dev/md127
/dev/md127:
Version : 1.2
Creation Time : Mon Apr 18 12:46:24 2016
Raid Level : raid10
Array Size : 7813771264 (7451.79 GiB 8001.30 GB)
Used Dev Size : 3906885632 (3725.90 GiB 4000.65 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Mon Jun 13 11:04:41 2016
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : near=2
Chunk Size : 512K
Name : fluttershy:data (local to host fluttershy)
UUID : aa8f857a:g8bd0344:06d2f6d3:bac01a46
Events : 13440
Number Major Minor RaidDevice State
0 8 1 0 active sync set-A /dev/sda1
1 8 17 1 active sync set-B /dev/sdb1
2 8 33 2 active sync set-A /dev/sdc1
3 8 49 3 active sync set-B /dev/sdd1
1Maybe add how you check the rebuild progress ->
tim@MushaV3 ~ $ cat /proc/mdstat Personalities : [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] md1 : active raid1 sdb1[0] sda1[1] 131008 blocks [2/2] [UU] bitmap: 0/1 pages [0KB], 65536KB chunk
– djsmiley2k TMW – 2018-05-07T13:25:30.577