[SOLVED] Problem installing CentOS with a RAID 1
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Problem installing CentOS with a RAID 1
It appears that both disks are present but the arrays for md0 and md2 are degraded. Only sda is active so sdb1 and sdb3 are not being updated. Exactly what is your testing procedure, and what errors or symptoms are you encountering?
-
- Posts: 33
- Joined: 2012/04/25 17:37:40
Re: Problem installing CentOS with a RAID 1
This is the procedure:
(1 and 2 are random numbers)
- Shut down the computer
- Disconnect disk 1
- Turn on the computer
- Result > Black screen with blinking cursor = Not boot CentOS :(
- Shut down the computer
- Connect disk 1
- Turn on the computer
- Result > Boot CentOS perfectly
- Shut down the computer
- Disconnect disk 2
- Turn on the computer
- Result > Boot CentOS perfectly
(1 and 2 are random numbers)
- Shut down the computer
- Disconnect disk 1
- Turn on the computer
- Result > Black screen with blinking cursor = Not boot CentOS :(
- Shut down the computer
- Connect disk 1
- Turn on the computer
- Result > Boot CentOS perfectly
- Shut down the computer
- Disconnect disk 2
- Turn on the computer
- Result > Boot CentOS perfectly
Re: Problem installing CentOS with a RAID 1
[quote]
- Result > Black screen with blinking cursor = Not boot CentOS :(
[/quote]
That sounds more like your BIOS is confused and is still waiting for a non-existent disk to respond.
- Result > Black screen with blinking cursor = Not boot CentOS :(
[/quote]
That sounds more like your BIOS is confused and is still waiting for a non-existent disk to respond.
-
- Posts: 33
- Joined: 2012/04/25 17:37:40
Re: Problem installing CentOS with a RAID 1
:( So... What can I do? I don't know what else to try... :(
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Problem installing CentOS with a RAID 1
Did you first fix the issues with the degraded arrays so all mdX devices show both disks present? Did you try changing the boot device in the BIOS after disconnecting the first disk? If still having problems then try to [url=http://wiki.centos.org/TipsAndTricks/ReinstallGRUB]reinstall GRUB[/url] with only the second disk present.
-
- Posts: 33
- Joined: 2012/04/25 17:37:40
Re: Problem installing CentOS with a RAID 1
Thanks you again :(
Let's see... I install CentOS following the steps in section one. In section two I do the next:
[code]su
grub
grub> find /grub/stage1
(hd0,0)
(hd1,0)
grub> device (hd0) /dev/sda
grub> device (hd1) /dev/sdb
grub> root (hd0,0)
grub> setup (hd0)
grub> root (hd1,0)
grub> setup (hd1)
grub> quit
reboot[/code]
[code]su
yum list updates
yum update
reboot[/code]
I think that the next step is what I am doing wrong..... Can you tell me what to do line to line?
Let's see... I install CentOS following the steps in section one. In section two I do the next:
[code]su
grub
grub> find /grub/stage1
(hd0,0)
(hd1,0)
grub> device (hd0) /dev/sda
grub> device (hd1) /dev/sdb
grub> root (hd0,0)
grub> setup (hd0)
grub> root (hd1,0)
grub> setup (hd1)
grub> quit
reboot[/code]
[code]su
yum list updates
yum update
reboot[/code]
I think that the next step is what I am doing wrong..... Can you tell me what to do line to line?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Problem installing CentOS with a RAID 1
Not without being there at your system or having better information. You need to check the current status of the RAID devices, and if there are devices missing restore them.
[b]man mdadm[/b]
[b]man mdadm[/b]
-
- Posts: 33
- Joined: 2012/04/25 17:37:40
Re: Problem installing CentOS with a RAID 1
Here is the information for disk problems:
http://pastebin.com/YVzzYnPX
Thanks!
http://pastebin.com/YVzzYnPX
Thanks!
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Problem installing CentOS with a RAID 1
The RAIDs look fine except md2 is in the process of re-syncing. What happens if you disconnect disk 1 and switch disk 2 to the connector that previously had disk 1?
-
- Posts: 33
- Joined: 2012/04/25 17:37:40
Re: Problem installing CentOS with a RAID 1
To my surprise: It works!
Unlike other installations I only change ext3 instead of ext4, and I disconnect the others disk that I have in LVM...
Thanks so much!!!
Unlike other installations I only change ext3 instead of ext4, and I disconnect the others disk that I have in LVM...
Thanks so much!!!