LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-25-2005, 09:11 PM   #1
ocschwar
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
Software RAID to recover data from HW RAID


I inherited a RH9 (2.4.20) system that used an Adaptec SmartRaid V card with 7 SCSI drives in RAID 5 to store a /home partition. The card malfunctioned spectacularly and is en route to Adaptec, but in the meantime, I'd like to know if I can get the md driver to look at these disks, which are still sitting in a chain waiting for the to have a glance. I'm scared to write up a raidtab and let loose, because if the driver discovers the parity is wrong it might try to correct it wrongly, so I'd like to do it in a fail safe manner. It would also be really nice if the driver looked at the superblocks the Adaptec card left behind, and figured out from them what the drive order was (hence my desire for a fail safe here). I know somebody was doing a project to enable the md driver to look at superblocks from hardware RAIDS and figure out what to do with them. So, am I ringing any bells here? Has anyone tried this?
 
Old 02-25-2005, 09:21 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Unfortunately, as I understand it, it would be nearly impossible to make this work. Though the basic idea is the same with software and hardware raid, the exact layout of the blocks could quite well vary. While I welcome someone else to disagree with me and help you out, I'm afraid you won't have too much luck.
 
Old 02-25-2005, 09:24 PM   #3
ocschwar
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Original Poster
Rep: Reputation: 0
The industry standard is to put the superblock on the last 64k of each drive. Yes, there are exceptions, like the Dell PERC 320 (which put them on the first 64k), but they are exceptions. I know there was a project to reverse engineer superblocks and make them readable to the md driver, but if people here haven't seen it then I guess it may have fizzled out.
 
Old 02-25-2005, 09:58 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, I am far from a RAID expert: in fact, I've only used hardware raid once. Most of my RAID experience is software RAID.
 
Old 02-25-2005, 10:01 PM   #5
ocschwar
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Original Poster
Rep: Reputation: 0
This is the second time I am having this fight with a RAID controller card, and with that in mind I suggest you also not venture into hardware RAID territory. Without the ability to swap the drives to a different system for rescue, you can get hosed badly.
 
Old 02-25-2005, 10:05 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, of course, on the Enterprise level, hardware RAID can be quite useful for managing large file servers.
 
  


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
Recover software raid partitions knoppix d_t_baker Linux - Hardware 1 07-09-2005 07:19 AM
Can fake raid be converted to linux software raid? jmacdonald801 Linux - General 3 01-30-2005 12:33 PM
Migration to Linux Software RAID while preserving existing ntfs data ceg4048 SUSE / openSUSE 0 11-27-2004 07:11 AM
Software RAID - how to recover fclifton Linux - Software 4 08-12-2004 12:26 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM

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

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