LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 11-19-2018, 04:00 AM   #1
nitinm
Member
 
Registered: Jul 2016
Posts: 31

Rep: Reputation: Disabled
Raid5:- not booting after removing the first disk that is sda


what should happen if i remove d first drive from raid 5 that is sda.
When i did it my sytem did not boot, but connecting it back physically it boots in and status shows removed.
what should be the problem? Why it does not boot when i disconnect the very first disk even after having 2 more disk in raid?


Thanks

Last edited by nitinm; 11-19-2018 at 04:01 AM.
 
Old 11-19-2018, 07:39 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Without any other information, I would guess that the disk blocks required for booting are not sync’ed to the other disks yet. Or that the BIOS or UEFI expects to boot from sda. Or that any phase in the boot process expects sda to be present.

It would be useful to know how you created the RAID, at what stage does the boot process fail, and what error messages you see.
 
1 members found this post helpful.
Old 11-19-2018, 10:43 AM   #3
nitinm
Member
 
Registered: Jul 2016
Posts: 31

Original Poster
Rep: Reputation: Disabled
actually while booting the device sda must be physically connected because the boot loader is in firts disk that is sda.

Thanks

Berndbaush
 
Old 11-20-2018, 05:11 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,481

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by nitinm View Post
Why it does not boot when i disconnect the very first disk even after having 2 more disk in raid?
Most likely because you're using a fake/software RAID rather than a proper RAID controller.
 
1 members found this post helpful.
Old 11-20-2018, 05:23 AM   #5
nitinm
Member
 
Registered: Jul 2016
Posts: 31

Original Poster
Rep: Reputation: Disabled
Yes i am using software raid
 
Old 11-20-2018, 05:31 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,481

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by nitinm View Post
Yes i am using software raid
So you've now discovered one of the fundamental flaws with fake/software RAID, it has a reliance on the boot mechanism to start before the actual "RAID" will work. Keep this in mind before relying on this type of "RAID" for a production environment.

Indeed, I'd go so far as to say that nobody should use this type of "RAID" on anything that's production critical.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sda drive to sdb, so new hdd can become sda? irgunII Slackware 5 03-07-2014 08:38 AM
[SOLVED] btrfs RAID5 vs MD RAID5 + LVM eRJe Linux - General 4 01-20-2014 05:54 PM
Recreate a Raid5 MD0 into a Raid5 MD3 CADIT Linux - Server 2 01-11-2010 04:46 AM
Multi Layer RAID50 fail (Intel SRCS14L RAID5 + 3ware 9550SX-4LP RAID5)+Linux RAID 0 BaronVonChickenPants Linux - Server 4 09-27-2009 04:06 AM
mount USB devices, sda, manually/statically assign sda? Oxyacetylene Debian 3 12-20-2004 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 08:12 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