LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-09-2020, 05:53 PM   #1
rollim01
LQ Newbie
 
Registered: Jan 2020
Posts: 2

Rep: Reputation: Disabled
Can't install RAID created with Windows (and raid controller) on laptop running Linux with no hardware controller


I have 4 hard drives that formed a RAID 10 array created on a Windows PC with an Intel raid controller. That old PC is long gone but I still have the drives from that array.

Now I have a laptop running Linux (no hardware RAID controller) and I'd like to find a way to read the data from those old drives. I've managed to assemble the array using

mdadm --assemble

but the array is listed as 'inactive' in /proc/mdstat

when I use

mdadm --examine

on the array it tells me:

mdmon: /dev/md0 is not attached to Intel(R) RAID controller

I'm pretty much a Linux noob. I'm trying to retrieve the data without having to buy a new desktop/hardware RAID controller. Please let me know if you need any additional information.

Thank you.
 
Old 01-10-2020, 01:34 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,499

Rep: Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101Reputation: 3101
I'd say you are basically out of luck. The Intel firmware will control how the data are laid out on the physical media - mdadm will only see its logical layout and will access the data via APIs Intel publishes.
Given that it's a) a proprietary format, and b) RAID10, I'd reckon you can't even use a forensic scraping tool to recover (complete) files.

All guesswork on my behalf, so I hope some-one else can chime in and prove me wrong.
 
1 members found this post helpful.
Old 01-10-2020, 08:34 AM   #3
DarrenDrapkin
Member
 
Registered: Aug 2014
Location: Leeds, England
Distribution: Slackware x86 64 current
Posts: 88

Rep: Reputation: 16
I do not have any RAID hardware myself, but I am going to guess on general principles that you need to mount the RAID device /dev/md0 .Have a look at the man page for mount, and for RAID. They will probably be usefull in this respect.
 
Old 01-10-2020, 01:51 PM   #4
rollim01
LQ Newbie
 
Registered: Jan 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
Darren,

Unfortunately, I'm unable to mount the assembled array. I get the same-ish error: "/dev/md0 is not attached to Intel(R) RAID controller."

I suspect syg00 is correct which is why I can see all the logical information for each drive but I'm unable do anything with the array.

If there's no software workaround it seems my only solution is to hook the devices up to a hardware controller. Unfortunately, I'm stuck with a laptop without one. Does anyone know of an EXTERNAL Inter Raid Controller on the market or an internal card that can be jerry-rigged
somehow to work with a laptop and 4 external HDDs?

Cheers,

Michael
 
Old 01-12-2020, 11:00 AM   #5
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 19.2 (Netbook) and 18.3 (Desktop)
Posts: 1,457

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Quote:
I have 4 hard drives that formed a RAID 10 array created on a Windows PC with an Intel raid controller.
The Intel RAID controller is a hardware card, therefore, when you accessed the disks you're actually only speaking to "Virtual disk(s) via the card, Any RAID setup was implemented by "talking" to the card (Usually some hot key sequence during the POST tests) The individual disks are not accessible directly from the OS. I'm not sure if the RAID encryption on every manufacturers hardware card is the same but in the event of failure replacing like with like should work, especially those with removable cache cards. Note that each disk gets a small partition generated which contains config information used by the RAID card when it is initialised.

This means that trying to read disks initialised in a hardware RAID is, as syg00 mentions above, very probably impossible by using a software solution.

Quote:
"/dev/md0 is not attached to Intel(R) RAID controller."
I'm impressed that it's smart enough to identify how it was created and what you need to read it though!

Play Bonny!

 
1 members found this post helpful.
Old 01-13-2020, 04:38 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017
I'm thinking out loud here. Basically as above.

If a hardware (real hardware) array was configured in the raid bios then it should be visible at boot time using the key sequence. Think it should appear to all supported OS's as what it is. Mdadmn isn't the correct tool for hardware arrays is it?
 
Old 01-14-2020, 12:58 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 11,028

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I'd agree with both moderators. Basically, you lose.

One way just might be (presuming you have a linux box and everything) to install virtualbox or some such, install the card; tell linux to ignore it, tell windows to pick it up and load the driver. Personally, If I absolutely needed data, I'd pay a professional. If I didn't, I'd reformat.
 
Old 01-14-2020, 08:47 PM   #8
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 19.2 (Netbook) and 18.3 (Desktop)
Posts: 1,457

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Quote:
Mdadmn isn't the correct tool for hardware arrays is it?
Nope, I don't think so. If a disk fails in a hardware RAID you'll usually get some sort of indication (amber led on the failed disk.) When you pop it out as it'll generally be hot swap, the RAID card will control the rebuild of the replacement one without any CPU overhead. Mdadmn's soft RAID will use the system CPU to control the rebuild. Big difference!

Play Bonny!

 
  


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
Can I mount a Virtual Drive (created by Hardware Raid Controller) when using separate SSD to boot? mschwart Linux - Hardware 2 10-29-2018 06:41 PM
Hardware raid vs software raid, is hardware raid portable? MikeyCarter Linux - Hardware 2 01-06-2016 04:30 PM
[SOLVED] How to check a hardware level raid with PERC H710 raid controller? abelosorio Debian 1 01-13-2015 10:57 AM
Formating FAT32, but linux created FAT32 is not like win created FAT32?? Difference? boki15 Linux - Newbie 19 07-21-2010 05:41 AM
RAID controller card override onboard RAID controller? Dr. Psy Linux - Enterprise 1 05-30-2005 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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