LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-23-2016, 04:28 AM   #1
leniviy
Member
 
Registered: Jul 2009
Distribution: Archlinux
Posts: 69

Rep: Reputation: 4
RAID ddf signature infects new hard drives like a virus


Hi. I had RHEL6.8 installed on a fake RAID1 on a machine with Intel Matrix Raid controller.
The array was built out of two 300Gb hard drives and managed by dmraid

At one point I needed to boot the machine from another non-empty 500Gb HDD. I replaced the drive in the first slot and turned the power on. Guess what, it kicked me into the recovery shell, because it could not mount the "/boot" entry from fstab, because the logical device sda1 disappeared during boot! sda2 was there and mounted just fine.

I removed the drive from the second slot, but it was already too late: the RAID metadata was copied to my 500Gb disk and during boot dmraid complained that it could not activate ddf...
It was dmraid who kept deleting sda1 during boot.

Later I found the solution here, but now I just want to know who spoiled the new hdd, BIOS or the OS. One of them was too smart and automatically treated it as a spare, although it was non-empty and had different size

Last edited by leniviy; 12-23-2016 at 04:45 AM.
 
Old 12-23-2016, 05:20 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,078

Rep: Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113
Somebody configured the BIOS to associate the drives and write meta-data to them. Which Linux drivers (dmraid and/or mdadm) then recognise.

I'd reckon that somebody would have to shoulder the "blame".
 
1 members found this post helpful.
  


Reply

Tags
dmraid, rhel 6


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
Hard drives dis-appearing in 3 computers. BIOS/IDE controller virus? buccaneere Linux - Hardware 1 06-27-2012 05:45 AM
Computer virus infects drone cockpits unixfool Linux - Security 1 10-11-2011 07:44 PM
Problems with raid and hard drives. betlor5 Linux - Hardware 3 08-24-2009 04:22 PM
RAID, hard drives, etc mrmike Linux - Newbie 0 10-09-2004 05:08 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 04:28 PM

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

All times are GMT -5. The time now is 11:21 AM.

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