Hi all,
Taken from this link;
https://www.centos.org/modules/newbb/print.php?form=1&topic_id=34988&...
Seems like I am having the same issue.
I assigned my boot loader to be on /dev/md0 rather then the default of /dev/sda1
Does any one have insight to this?
Thanks in advance.
BTW, I have no swap partition and will do a swap file instead, easier to manage. Do I need swap to boot?
- aurf
On 04/12/2012 12:46 AM, aurfalien wrote:
Hi all,
Taken from this link;
https://www.centos.org/modules/newbb/print.php?form=1&topic_id=34988&...
Seems like I am having the same issue.
I assigned my boot loader to be on /dev/md0 rather then the default of /dev/sda1
Not sure if this is valid for CentOS but on Fedora 15 I had to set the metadata to version 0.90 when creating the /boot array. Without it (so using metadata version 1.0 on /dev/md0 aka /boot) it would not boot.
Regards, Patrick
On 04/12/2012 12:57 AM, Patrick Lists wrote:
On 04/12/2012 12:46 AM, aurfalien wrote:
Hi all,
Taken from this link;
https://www.centos.org/modules/newbb/print.php?form=1&topic_id=34988&...
Seems like I am having the same issue.
I assigned my boot loader to be on /dev/md0 rather then the default of /dev/sda1
Not sure if this is valid for CentOS but on Fedora 15 I had to set the metadata to version 0.90 when creating the /boot array. Without it (so using metadata version 1.0 on /dev/md0 aka /boot) it would not boot.
Patrick, you are spot one. This is a must, and default for CentOS is 1.2 I think.
There is no conversion, you can only backup data from partition on md0 and recreate md0 with:
mdadm --create /dev/md9 --level=1 --raid-disks=2 /dev/sdj1 /dev/sdl1 --metadata=0.90
return data and reinstall grub on sda AND sdb.
On Apr 11, 2012, at 8:20 PM, Ljubomir Ljubojevic wrote:
On 04/12/2012 12:57 AM, Patrick Lists wrote:
On 04/12/2012 12:46 AM, aurfalien wrote:
Hi all,
Taken from this link;
https://www.centos.org/modules/newbb/print.php?form=1&topic_id=34988&...
Seems like I am having the same issue.
I assigned my boot loader to be on /dev/md0 rather then the default of /dev/sda1
Not sure if this is valid for CentOS but on Fedora 15 I had to set the metadata to version 0.90 when creating the /boot array. Without it (so using metadata version 1.0 on /dev/md0 aka /boot) it would not boot.
Patrick, you are spot one. This is a must, and default for CentOS is 1.2 I think.
There is no conversion, you can only backup data from partition on md0 and recreate md0 with:
mdadm --create /dev/md9 --level=1 --raid-disks=2 /dev/sdj1 /dev/sdl1 --metadata=0.90
return data and reinstall grub on sda AND sdb.
Really?
Any way to do this at install time?
- aurf
On Apr 11, 2012, at 8:20 PM, Ljubomir Ljubojevic wrote:
On 04/12/2012 12:57 AM, Patrick Lists wrote:
On 04/12/2012 12:46 AM, aurfalien wrote:
Hi all,
Taken from this link;
https://www.centos.org/modules/newbb/print.php?form=1&topic_id=34988&...
Seems like I am having the same issue.
I assigned my boot loader to be on /dev/md0 rather then the default of /dev/sda1
Not sure if this is valid for CentOS but on Fedora 15 I had to set the metadata to version 0.90 when creating the /boot array. Without it (so using metadata version 1.0 on /dev/md0 aka /boot) it would not boot.
Patrick, you are spot one. This is a must, and default for CentOS is 1.2 I think.
There is no conversion, you can only backup data from partition on md0 and recreate md0 with:
mdadm --create /dev/md9 --level=1 --raid-disks=2 /dev/sdj1 /dev/sdl1 --metadata=0.90
return data and reinstall grub on sda AND sdb.
While this most likely works, I went a diff route.
Based on this article which is Cliff noted below, I was able to get it working.
http://bugs.centos.org/view.php?id=5400
The latest dracut fixes the issue but I rebuilt initramfs to be safe.
So my order of operation;
1 - install Centos 6.1 with a software raid 1 config then rebooted of course 2 - yum update 2 - cd /boot 3 - mv initramfs-2.6.32-220.7.1.el6.x86_64.img initramfs-2.6.32-220.7.1.el6.x86_64.img.O 4 - mkinitrd /boot/initramfs-2.6.32-220.7.1.el6.x86_64.img 2.6.32-220.7.1.el6.x86_64 5 - reboot
Hope this helps any futures comrades in arms.
- aurf
On 4/11/2012 6:46 PM, aurfalien wrote:
Hi all,
Taken from this link;
https://www.centos.org/modules/newbb/print.php?form=1&topic_id=34988&...
Seems like I am having the same issue.
I assigned my boot loader to be on /dev/md0 rather then the default of /dev/sda1
Does any one have insight to this?
Thanks in advance.
BTW, I have no swap partition and will do a swap file instead, easier to manage. Do I need swap to boot?
- aurf
Hey Aurf, Not sure, but this google cache of a 5.x set up might explain and help you out. If your problem is taking a drive out and the other not booting you may not have allowed the initial snyc of the drives to complete...something I would heartily suggest https://webcache.googleusercontent.com/search?oe=utf-8&rls=org.mozilla%3...
that page shows how a raid 1 mirror was set up with 2 drives and one spare. It goes over taking one out, adding a new one, etc....and even making sure that grub is working on both drives.
not sure exactly which issue out of all those in that link you posted you are having though.