Hi!
I have a software raid5 device that spawns across 4 sata drives:
Code:
root@transylvania:~ 0 986# cat /proc/mdstat | grep -b 1 md8
md8 : active raid5 sdf1[4] sde1[3] sdd1[1] sdc1[0]
1757831936 blocks super 1.2 level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
Those devices are equally partitioned:
Code:
root@transylvania:~ 0 987# fdisk -l /dev/sdc
Disco /dev/sdc: 1000.2 GB, 1000204886016 byte
255 testine, 63 settori/tracce, 121601 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0xb96f03c6
Dispositivo Boot Start End Blocks Id System
/dev/sdc1 1 121500 975948718+ fd Autorilevamento raid di Linux
/dev/sdc2 121501 121601 811282+ 0 Vuoto
I've recently changed the size of partition 1 of every disk, growing it of about 100GB: now the problem is that I'm unable to grow my raid md8 partition too.
The size of the four phisical partitions is 975948718:
Code:
root@transylvania:~ 130 990# cat /proc/partitions | grep 'sd[c|d|e|f]1'
8 33 975948718 sdc1
8 49 975948718 sdd1
8 65 975948718 sde1
8 81 975948718 sdf1
while the size of the raid device is
Code:
root@transylvania:~ 0 991# cat /sys/class/block/md8/size
3515663872
I was expecting
975948718 * 4 = 3903794872 instead.
May you please help me recover those about 400Gb of "lost" space?
Thank you