Page 1 of 1

64-bit aooinstaller.sh issue?

Posted: Fri Apr 27, 2007 3:59 am
by Thought_Memory
After installing Centos4.4 via the aooiinstaller.sh script, I end up with the following partitions:

Code: Select all

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          33      265041   fd  Linux raid autodetect
/dev/sda2              34       19457   156023280   82  Linux swap


Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          33      265041   fd  Linux raid autodetect
/dev/sdb2             124         367     1959930   82  Linux swap
/dev/sdb3             368       19457   153340425   fd  Linux raid autodetect
I'm unfamiliar with Lunux raid, but would expect the 2 disks to have exactly the same partition sizes. I seem to have one massive swap partition on sda?

Posted: Fri Apr 27, 2007 6:39 am
by Thought_Memory
A little further information, after a quick google dig ....

# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb1[1] sda1[0]
264960 blocks [2/2] [UU]

md0 : active raid1 sdb3[1]
153340352 blocks [2/1] [_U]

unused devices: <none>


looking at this ...

http://willert.dk/geek/raid.html

I can repartition sda to match sdb, and re-add the disk into the raid. it's only the swap partition I need to delete, (i.e. the boot partition seems ok). So it should be reasonably straightforward ....

comments anyone before I go and screw my disk ;-) ?

Posted: Sat Apr 28, 2007 10:42 am
by scott
Oh yeah that shouldn't have happened, sda2 should have been a 2G partition. Do you have output from AOOI when you ran it originially?

Posted: Sun Apr 29, 2007 2:39 pm
by Thought_Memory
Nope, sorry didn't think to keep it ....

Posted: Thu Jun 07, 2007 3:54 pm
by Troy McClure
After using aooi I have this same problem. Was this fairly easy to fix?

Posted: Thu Jun 07, 2007 11:42 pm
by scott
I dont suppose you saved the output did you?

Posted: Fri Jun 08, 2007 8:57 am
by Troy McClure
No, I didn't. It was easy to fix though. I can reimage it and let you run the script if you would like, just let me know.

Posted: Fri Jun 08, 2007 9:47 am
by scott
Yeah that'd be great, it sounds like its just skipping a variable somewhere in the filesystem piece.

Posted: Fri Jun 08, 2007 12:07 pm
by Troy McClure
OK, I will reimage it now and try to catch you on im this afternoon.