SME 8.0, up-to-date. I replaced two 500 GB S-ATA-Disks following this HOW-TO
http://wiki.contribs.org/Raid#Replacing_and_Upgrading_Hard_Drive_after_HD_fail. The new disks have a capapcity of 1 TB each. Disks are identical. Server is up and running. No errors. Raid is clean.
I issued the following commands to resize the RAID to the bigger disks:
mdadm --grow /dev/md2 --size=max
pvresize /dev/md2
lvresize -l +100%FREE main/root
resize2fs /dev/mapper/main-root &
A cat /proc/mdstat shows
Personalities: [raid1]
md1: active raid1 sdb1[0] sda1[1]
104320 blocks [2/2] [UU]
md1: active raid1 sdb2[0] sda2[1]
976655552 blocks [2/2] [UU]
unused devices: <none>
fdisk -l shows:
Platte /dev/sda: 1000.2 GByte, 1000204886016 Byte
255 heads, 63 sectors/track, 121601 cylinders
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Ger�t boot. Anfang Ende Bl�cke Id System
/dev/sda1 * 1 13 104384+ fd Linux raid autodetect
Partition 1 endet nicht an einer Zylindergrenze.
/dev/sda2 13 121601 976655647 fd Linux raid autodetect
Platte /dev/sdb: 1000.2 GByte, 1000204886016 Byte
255 heads, 63 sectors/track, 121601 cylinders
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Ger�t boot. Anfang Ende Bl�cke Id System
/dev/sdb1 * 1 13 104384+ fd Linux raid autodetect
Partition 1 endet nicht an einer Zylindergrenze.
/dev/sdb2 13 121601 976655647 fd Linux raid autodetect
Platte /dev/md2: 1000.0 GByte, 1000095285248 Byte
2 heads, 4 sectors/track, 244163888 cylinders
Einheiten = Zylinder von 8 � 512 = 4096 Bytes
Festplatte /dev/md2 enth�lt keine g�ltige Partitionstabelle
Platte /dev/md1: 106 MByte, 106823680 Byte
2 heads, 4 sectors/track, 26080 cylinders
Einheiten = Zylinder von 8 � 512 = 4096 Bytes
Festplatte /dev/md1 enth�lt keine g�ltige Partitionstabelle
df -h shows:
Dateisystem Gr��e Benut Verf Ben% Eingeh�ngt auf
/dev/mapper/main-root
457G 129G 306G 30% /
/dev/md1 99M 46M 48M 50% /boot
none 2,0G 0 2,0G 0% /dev/shm
Seems to me, there are missing 500 GB. Did I miss something?
Thanks for any hint.
stefan