LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 01: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, 06:29 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
No way to change your install from a simple partition to a software raid or LVM setup without re-installing.
 
Old 03-14-2015, 10:04 AM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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



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 05:59 PM
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM
Linux Software RAID 0 dumb mistake edong23 Linux - General 4 12-09-2007 02:23 PM
Rookie mistake ruined raid partitions? bullsnake SUSE / openSUSE 11 08-29-2006 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 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
Open Source Consulting | Domain Registration