LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2015, 02:38 PM   #1
Toasterman
Member
 
Registered: Oct 2013
Posts: 77

Rep: Reputation: Disabled
RAID mistake


Hello,
I installed CentOS on software RAID10 but made the mistake of installing /boot on /dev/sda instead of on md0. Now I fear that if sda fails my system won't be bootable. Is there a way to correct this?
I can't reinstall because we need the server online.
 
Old 03-13-2015, 07:29 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
No way to change your install from a simple partition to a software raid or LVM setup without re-installing.
 
Old 03-14-2015, 11:04 AM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Depends on how md0 is assembled. Is sda1 part of the assembly? Then you have to re-create the array anyway. Because you are trying to use sda1 both as partition and as part of a RAID.

(I hope I interpreted your /dev/sda correctly as /dev/sda1)

I am not sure you can boot from a RAID10 array. Can you? Then you might move /boot to md0 and re-install grub.

Note however that you must install the grub boot sector on both devices of a RAID array order to be able to boot the second disk anyway. So having /boot on the md0 doesn't help a thing. You must also install the correct MBR on both disks.

So if /dev/sda1 is not part of the array, leave your /boot there and copy it to /dev/sdb1, and create an MBR on /dev/sdb

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell/Intel ICH7 soft-RAID and mdadm raid-level mistake PhilipTheMouse Linux - General 0 03-14-2009 06:59 PM
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-15-2008 12:20 AM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 10:40 PM
Linux Software RAID 0 dumb mistake edong23 Linux - General 4 12-09-2007 03:23 PM
Rookie mistake ruined raid partitions? bullsnake SUSE / openSUSE 11 08-29-2006 02:25 AM


All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration