View previous topic :: View next topic |
Author |
Message |
Jimini l33t
Joined: 31 Oct 2006 Posts: 601 Location: Germany
|
Posted: Thu Feb 08, 2018 5:03 pm Post subject: New RAID controller - drives are not recognized |
|
|
Hey there,
I just bought a RAID controller to be able to address more drives. It is recognized as follows:
01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05)
I do not want to use its RAID capabilities, since I am going to use mdadm to manage the array. Unfortunately, Gentoo does not recognize the drives connected to it. The controller is connectd to a backplane, which leads to the SATA disks. Since I never dealt with SAS before, I do not know if the kernel needs additional drivers or if I have to use some kind of management software.
Any help would be really appreciated.
Addendum: in the Web BIOS I can create a RAID0 for every disk - afterwards, every array / disk is recognized by Gentoo. But I am looking for a way to disable RAID functionality completely, since having to create a RAID0 for every disk at boot time would eliminate the hot swap functionality...
Addendum 2: alright, it seems as if the controller is not able to create a JBOD, which makes it pretty useless, when I want to use a software RAID.
Best regards,
Jimini _________________ "The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu) |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Feb 08, 2018 7:31 pm Post subject: |
|
|
to get the drivers name, just use livecd and do lspci -k it should tell you the driver name to use.
for the drives problem, hardware raid card are not "simple controller", which generally mean, you cannot use a drive attach to it, you can only use arrays.
what's the difference? if the disk is not in an array, the disk will not be handle and will not work.
I don't really get your raid0 for every disk? You mean the card allow you to create a raid0 out of just 1 disk? Or probably more the card only allow you to create raid0 with all of them.
Some cards only offer raid0-1, some other offer more raid type, but may not show them if you lack enough drives (2 for raid 0&1, 3+ for other). |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Thu Feb 08, 2018 10:26 pm Post subject: |
|
|
Some raid controllers have alternative firmware available that makes them into non-raid controllers (seems kinda pointless, but...).
If the RAID controller has on disk metadata and you learn the magic bytes that mark it "single drive raid0" (usually at end of drive), you could use an external script to prepare drives accordingly. You'd need to understand the metadata format well to safely do so.
You could get a regular controller, HBA, or try your luck with port multipliers. 5 sata port hub for $15, only SATA II though, and not every controller handles multipliers well.
sata multipliers as common as usb hubs, unfortunately that never happened so there's sata port shortage everywhere. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3137
|
Posted: Fri Feb 09, 2018 9:02 pm Post subject: |
|
|
Quote: | You could get a regular controller, HBA, or try your luck with port multipliers. 5 sata port hub for $15, only SATA II though, and not every controller handles multipliers well. |
Actually, sata port multipliers are said to totally kill performance and are be very reliable, since SATA only allows you to handle one device per controller port at any time.
You better think of them as of jukebox filled with hard drives instead of tapes.
SAS controllers on the other hand are said to handle SATA drives better than SATA controllers. They do know how to manage both, SAS and SATA, they have one-way compatible plugs and can maintain multiple sessions, so there is no additional overhead attached to like every second IO.
Unfortunately, they tend to be more expensive than 15$.
Quote: | I don't really get your raid0 for every disk? You mean the card allow you to create a raid0 out of just 1 disk? |
Raid controller behaves like the bottom part of LVM. You don't have logical volumes there, but you do have physical volumes (drives) and volume groups (drives presented to the OS). You can then create partitions (logical volumes) on top of that.
Depending on your use case, you may want to manage your RAID at controller's level (stuff all the drives together into a single group), or in software (create a bunch of groups containing 1 physical drive each).
RAID0 made of a single hard drive is a simple trick that lets you expose that drive to the OS. Well, mostly. There is some metadata on the physical device. Raid controllers do write RAID configuration to the physical disks and they recognize devices tagged by them. |
|
Back to top |
|
|
Mad Merlin Veteran
Joined: 09 May 2005 Posts: 1155
|
|
Back to top |
|
|
Jimini l33t
Joined: 31 Oct 2006 Posts: 601 Location: Germany
|
Posted: Wed Feb 21, 2018 5:32 am Post subject: |
|
|
Thank you for your very useful answers. I never worked with RAID controllers before, so I learned a lot in the last weeks.
Now I bought a used and crossflashed Dell H200, which seems to work as expected: the drives are recognized seperately AND the OS can use their full capacity of 3TB (2,7 TiB).
Best regards,
Jimini _________________ "The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu) |
|
Back to top |
|
|
Mad Merlin Veteran
Joined: 09 May 2005 Posts: 1155
|
Posted: Thu Feb 22, 2018 1:21 am Post subject: |
|
|
Jimini wrote: | Thank you for your very useful answers. I never worked with RAID controllers before, so I learned a lot in the last weeks.
Now I bought a used and crossflashed Dell H200, which seems to work as expected: the drives are recognized seperately AND the OS can use their full capacity of 3TB (2,7 TiB).
Best regards,
Jimini |
The H200 actually uses the 2008 chipset, which is a close relative of the 2108, they differ only with respect to hardware RAID (and cost), as an HBA they are functionally identical.
Another useful link: https://www.servethehome.com/lsi-sas-2008-raid-controller-hba-information/ _________________ Game! - Where the stick is mightier than the sword! |
|
Back to top |
|
|
Jimini l33t
Joined: 31 Oct 2006 Posts: 601 Location: Germany
|
Posted: Sat Apr 07, 2018 8:37 am Post subject: |
|
|
Thank you for this addendum :-)
Best regards,
Jimini _________________ "The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|