Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: SSBN on December 16, 2009, 04:38:29 AM
-
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.
-
Check:
http://bugs.contribs.org/show_bug.cgi?id=5311
http://forums.contribs.org/index.php/topic,44380.msg213438.html#msg213438
By the way, when you provide the output of commands as is the case in your post, it would be useful for other to have the actual command also.
In example state : sfdisk -l /dev/hda before pasting the output of this command. And so on...
-
I am running sme 7.1
SME 7.1 is pretty old and you should upgrade asap
-
I will update it and give it a try. I am running int sum problems updating it but will start another post if i need help. I will post back soon.
-
Seems as though I'm always plugging the AFFA method ... mostly because it works! Try moving your 7.1 drives to another machine, booting that one, upgrading it to 7.4 with all updates, then install your new drives in the old machine, install & update 7.4 then use AFFA to backup then rise the newly-upgraded machine. Should work beautifully.
-
What is AFFA? I have two identical 1u servers so this may be the best option.
-
Upgrading to 7.4 did the trick. Thanks for all the help. I went from 75 used gigs of 80 to 75 used gigs of 1000.
-
http://wiki.contribs.org/Moving_SME_to_new_Hardware
I've done this several times now and it Just Works.
-
http://wiki.contribs.org/Moving_SME_to_new_Hardware
I've done this several times now and it Just Works.
Thanks good to know for the future.
-
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.
If you read those instructions you looked at you would have found that to expand the drive to full cap. you would have needed SME Server 7.2 or higher. For future readers you can read from: Upgrading_the_Hard_Drive_Size (http://wiki.contribs.org/Raid#Upgrading_the_Hard_Drive_Size)