Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.