64-bit aooinstaller.sh issue?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Thought_Memory
Forum User
Forum User
Posts: 11
Joined: Tue Jan 11, 2005 5:46 am

64-bit aooinstaller.sh issue?

Unread post 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?
Thought_Memory
Forum User
Forum User
Posts: 11
Joined: Tue Jan 11, 2005 5:46 am

Unread post 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 ;-) ?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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?
Thought_Memory
Forum User
Forum User
Posts: 11
Joined: Tue Jan 11, 2005 5:46 am

Unread post by Thought_Memory »

Nope, sorry didn't think to keep it ....
Troy McClure
Forum Regular
Forum Regular
Posts: 196
Joined: Tue May 10, 2005 1:24 pm

Unread post by Troy McClure »

After using aooi I have this same problem. Was this fairly easy to fix?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I dont suppose you saved the output did you?
Troy McClure
Forum Regular
Forum Regular
Posts: 196
Joined: Tue May 10, 2005 1:24 pm

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Yeah that'd be great, it sounds like its just skipping a variable somewhere in the filesystem piece.
Troy McClure
Forum Regular
Forum Regular
Posts: 196
Joined: Tue May 10, 2005 1:24 pm

Unread post by Troy McClure »

OK, I will reimage it now and try to catch you on im this afternoon.
Post Reply