{"id":154,"date":"2021-09-24T10:40:16","date_gmt":"2021-09-24T08:40:16","guid":{"rendered":"https:\/\/bowfinger.de\/blog\/?p=154"},"modified":"2021-09-24T10:40:16","modified_gmt":"2021-09-24T08:40:16","slug":"sata-soft-raid-cards-that-work","status":"publish","type":"post","link":"https:\/\/bowfinger.de\/blog\/2021\/09\/sata-soft-raid-cards-that-work\/","title":{"rendered":"SATA\/Soft-RAID Cards that work"},"content":{"rendered":"\n<p>A while ago, I wanted to add more space to my MD+LVM2 array on a Linux machine (Ubuntu 20.04 at the moment).<br>The setup used MD to make a RAID1 of two HDDs and knowing that I would eventually like to add more storage later, I put LVM2 on top.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Card That Doesn&#8217;t Work<\/h2>\n\n\n\n<p>The moment came but I realised my mainboard did not have enough SATA ports. So, after some research, I bought a HighPoint Rocket 640L PICe SATA host adapter which comes with a Marvell 88SE92xx series chip (88SE9230 in my case).<\/p>\n\n\n\n<p><strong>Tl;dr: Don&#8217;t<\/strong>.<\/p>\n\n\n\n<p>It took me half a day of research to figure out that (as of September 2021 and Linux kernel 5.4, but I tried 5.14 too) it would not show disks at all if IOMMU was activated. Also, it did not like stand-by\/hibernation: HDD 4 would spin up fine on boot, but would not show up after a stand-by rendering the RAID incomplete, and the LVM volume in read-only mode. Which is a nice safeguard, thanks LVM-developers! But still annoying as such of course.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Card That Does Work<\/h2>\n\n\n\n<p>So, I did more research and found the Delock 5x SATA PCIe x4 Card featuring a JMicron Technology chip (with an ID [197b:0585]). And guess what:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>All disks come back after stand-by\/hibernation<\/li><li>IOMMU and virtualisation can be switched on, no problem<\/li><li>It even has one more port than the HighPoint card<\/li><\/ul>\n\n\n\n<p><strong>Disclaimer<\/strong>: All this may change in the future. I have no idea if this is a driver problem or a problem with the chip. But I though it might save some of you time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Don&#8217;t use Marvell 88SE92xx series, at least in a Linux system. Full stop.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Marvell 88SE92xx series SATA controller gave me a headache. So I researched and got a JMicron chipset based card. Spoiler: It&#8217;s okay now.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[17,16],"tags":[21,20,26,18,23,25,24,22,19],"class_list":["post-154","post","type-post","status-publish","format-standard","hentry","category-hardware","category-linux","tag-harddisks","tag-hardware","tag-jmicron","tag-linux","tag-lvm","tag-marvell","tag-md","tag-raid","tag-sata"],"_links":{"self":[{"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/posts\/154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/comments?post=154"}],"version-history":[{"count":2,"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/posts\/154\/revisions"}],"predecessor-version":[{"id":156,"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/posts\/154\/revisions\/156"}],"wp:attachment":[{"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/media?parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/categories?post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bowfinger.de\/blog\/wp-json\/wp\/v2\/tags?post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}