Olá pessoal, adicionei um novo HDD ao meu servidor SSD existente. Configuração como abaixo:
Servidor: CentOS release 6.9 (Final)
Filesystem Size Used Avail Use% Mounted on
/dev/md2 204G 179G 15G 93% /
tmpfs 16G 0 16G 0% /dev/shm
/dev/md1 496M 59M 412M 13% /boot
cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[0]
16777088 blocks super 1.0 [2/2] [UU]
md2 : active raid1 sdc1[2] sda3[0] sdb3[1]
217127372 blocks super 1.0 [3/3] [UUU]
bitmap: 2/2 pages [8KB], 65536KB chunk
md1 : active raid1 sda2[0] sdb2[1]
524224 blocks [2/2] [UU]
Disk /dev/sdb: 240.1 GB
Disk /dev/sda: 240.1 GB
'---------------------'
raid-1
Novo disco:
Disk /dev/sdc: 512.1 GB
Mas ainda tenho problema aumentando /dev/md2
.
mdadm --detail /dev/md2
/dev/md2:
Version : 1.0
Creation Time : Tue Jan 16 19:47:06 2018
Raid Level : raid1
Array Size : 217127372 (207.07 GiB 222.34 GB)
Used Dev Size : 217127372 (207.07 GiB 222.34 GB)
Raid Devices : 3
Total Devices : 3
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Thu May 3 17:37:43 2018
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0
Name : rescue:2
UUID : 89976135:add593af:4a95a885:8c7c366a
Events : 4438
Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
1 8 19 1 active sync /dev/sdb3
2 8 33 2 active sync /dev/sdc1
O que eu quero é estender a partição raiz atual com o novo espaço no novo disco rígido.
Eu adicionei o novo HDD para invadir a partição /dev/sdc1
mas Array Size
não mudou.