Hi Everyone,
I am running sme 7.1 and had two mirrored drives using sme software mirror. The drives were 80 gigs. I used the instruction at
http://wiki.contribs.org/Raid to replace the drives with two 1tb drives. Replacing the drives went ok but i cant seem to get the server to expand bast the 80 gigs.
This is my drive layout
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104384+ fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 121601 976655647 fd Linux raid autodetect
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104384+ fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdb2 13 121601 976655647 fd Linux raid autodetect
Disk /dev/md2: 1000.0 GB, 1000095285248 bytes
2 heads, 4 sectors/track, 244163888 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md1 doesn't contain a valid partition table
I then run this command.
>mdadm --grow --size=max /dev/md2
and get no error
then
> pvresize /dev/md2
Physical volume "/dev/md2" changed
1 physical volume(s) resized / 0 physical volume(s) not resized
then
>lvresize -l +100%FREE main/root
Invalid argument +100%FREE
Error during parsing of command line.
Now i dont know where my mistake is it is probably something really silly. Can any of you help me with what i am missing. The drives of-course stay at 80 gigs.