Hello Everyone,<br><br>First time CentOS poster :) I have CentOS 4 installed on the head node of a Sun Gridengine cluster set up in a RAID. The head node has four hard drives, and I assume that drives 1 and 2 are in a raid and then drives 3 and 4 are in another raid. I was trying to expand the OS partition on drive 1 because it was full. I took drive 1 out, put it in my Fedora 8 box as a secondary drive, booted up into Fedora, and saw it had the partition structure:<br>
/ 8GB<br>/var 4GB<br>/swap 1GB<br>and an "unknown" partition 101.4GB<br><br>I did a cp -rfa on the / and /var files for a backup (I know, not the best way). Restarted my Fedora into Windows to take a look at it using Paragon Partition Manger. Restarted into Fedora and using gparted, formatted the "unknown" partition as ext3 - I think that is where I made my fatal mistake - and moved the /swap to the middle of the drive, moved the /var to the middle and expanded to 10GB, and then expanded / to about 50GB to fill up the rest.<br>
<br>I had also took drive 2 out of the head node and into my Fedora, and saw it had the partition structure:<br>/swap 15GB<br>and an "unknown" partition 101.4GB<br><br>Ok, now when I put everything back into the head node, and reboot, the BIOS sees all four drives, and from what I can tell, recognizes the first raid (of drives 3 and 4), but says it can only find one disk for the second raid (drives 1 and 2). I can't find any way around this.<br>
<br>Looking at my /etc/raidtab file:<br>raiddev /dev/md0<br> raid-level 1<br> nr-raid-disks 2<br> nr-spare-disks 0<br> persistent-superblock 1<br> device /dev/sdc1<br> raid-disk 0<br>
device /dev/sdd1<br> raid-disk 1<br><br>raiddev /dev/md1<br> raid-level 0<br> nr-raid-disks 2<br> persistent-superblock 1<br> chunk-size 4<br> device /dev/sda4<br>
raid-disk 0<br> device /dev/sdb2<br> raid-disk 1<br><br>It says it can bring up md0 ok, but not md1. Right now, I am going to try to restore the "unknown" partition that I deleted from drive 1 using the "unknown" partition from drive 2.<br>
<br>Any ideas on how to get myself out of this mess? I feel like I really messed it up good. This is a server for our work, and we have a couple years worth of data on it, so I would really like to fix it rather than reinstall.<br>
<br>Thank you greatly for any help!<br>Jeff Sadino<br>