{"id":9502,"date":"2020-02-15T22:46:19","date_gmt":"2020-02-16T05:46:19","guid":{"rendered":"https:\/\/www.apolonio.com\/blog\/?p=9502"},"modified":"2020-02-15T22:47:54","modified_gmt":"2020-02-16T05:47:54","slug":"the-joys-of-pain","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=9502","title":{"rendered":"The Joys of Pain"},"content":{"rendered":"\n<p>After yesterday&#8217;s fiasco I needed a break, not a break from IT, but something challenging,  I know, how weird yeah.<\/p>\n\n\n\n<p>When most people get burned, they run from fire, I charge after it.<\/p>\n\n\n\n<p>So this is what happened, and this pain was brought me joy today.<\/p>\n\n\n\n<p>Today I went out with one of my daughter&#8217;s in search of a SATA controller card. <\/p>\n\n\n\n<p>As an aside, I was also looking for a video card, found one in a GeForce GTS 960 for $60. Not sure if it works, that will be later tonight or tomorrow even, but wanted to note it in future searches.<\/p>\n\n\n\n<p>Went to multiple Recycle PC places, but the final stop was where I found this old, more than a decade, RAID card.  I negotated them down from $30 to $10, but make no mistake this card is OLD, it is a 9650SE SATA-II RAID PCIe card.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"287\" src=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/02\/3Ware-9650SE.jpg\" alt=\"\" class=\"wp-image-9503\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/02\/3Ware-9650SE.jpg 800w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/02\/3Ware-9650SE-300x108.jpg 300w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/02\/3Ware-9650SE-768x276.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption>3Ware 9650SE<\/figcaption><\/figure>\n\n\n\n<p>The chip says AMCC but it is a 3Ware 9650SE<\/p>\n\n\n\n<p>Why did I buy this card?<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It&#8217;s cheap, $10.00<\/li><li>It&#8217;s old so support with Linux should be high<\/li><li>I couldn&#8217;t find a Perc H310<\/li><li>Has those SFF-8087 connectors that work in this case<\/li><li>PCI-E<\/li><li>It&#8217;s cheap, $10.00<\/li><\/ul>\n\n\n\n<p>Oh did I mention I got it for a cheap.<\/p>\n\n\n\n<p>Here&#8217;s a huge problem, this thing had no bios, so I could not press ALT+F3 (or is it 3) to configure it.<\/p>\n\n\n\n<p>I had to scour the Internet for Utility to manage this via command line, came across  twi_cli, but I had to download it from a 3rd party because 3ware no longer exists<\/p>\n\n\n\n<p>If you are interested, look search on the Internet for 3DM2_CLI-linux_10.2.2.1_9.5.5.1.zip<\/p>\n\n\n\n<p>Here are the checksums I have for the files I found<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">md5sum  3889909bc63c7f65be89006d22a55b28  3DM2_CLI-linux_10.2.2.1_9.5.5.1.zip<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">sha256\n\n5354dd539d01163ee6d371da1bd595157dc6db8bfe0907dbb2b920d88cd627a9  3DM2_CLI-linux_10.2.2.1_9.5.5.1.zip<\/pre>\n\n\n\n<p>After you download it, you can simply unzip and untar the nested file and look for tw_cli.x86_64, that is the executable you need.  If you want to install here are the steps<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>unzip 3DM2_CLI-linux_10.2.2.1_9.5.5.1.zip<\/li><li>sh install.sh -i<\/li><li>Answer yes<\/li><li>You don&#8217;t to install the web interface <\/li><\/ul>\n\n\n\n<p>If you do install the web interface, use https and go to port 888 password is &#8220;3ware&#8221;<\/p>\n\n\n\n<p>I don&#8217;t like it, I just use the cli<\/p>\n\n\n\n<p>Here is where it get&#8217;s interesting<\/p>\n\n\n\n<p>Use the tw_cli command line utiltiy<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tw_cli info<\/pre>\n\n\n\n<p>To figure out what the controller card is, in these examples we will use c9<\/p>\n\n\n\n<p>First turn check if jbod is on, it is normally<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tw_cli \/c9 show exportjbod<\/pre>\n\n\n\n<p>If you need to set it<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tw_cli \/c9 set exportjbod=on<\/pre>\n\n\n\n<p>Now you can add a disk a single JBOD disk, DO NOT ENABLE CACHE<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tw_cli \/c9 add type=single disk=0 nocache <\/pre>\n\n\n\n<p>Do it for all the disks<\/p>\n\n\n\n<p>But here is the first problem, if you are importing from another disk.  You will need to shrink it because parted will complain.<\/p>\n\n\n\n<p>Here is a link on how to shrink it but you will lose the end of the disk because it seems to be where the signature the controller writes to.<\/p>\n\n\n\n<p><a href=\"https:\/\/gparted.org\/h2-fix-msdos-pt.php#partition-outside-disk\">https:\/\/gparted.org\/h2-fix-msdos-pt.php#partition-outside-disk<\/a><\/p>\n\n\n\n<p>I would highly recommend making the disks a bit smaller than the physical disks.<\/p>\n\n\n\n<p>I shut down the system and was able to mount the disks without the controller.<\/p>\n\n\n\n<p>Weight: 303<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After yesterday&#8217;s fiasco I needed a break, not a break from IT, but something challenging, I know, how weird yeah. When most people get burned, they run from fire, I charge after it. So this is what happened, and this &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=9502\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11,3,9],"tags":[],"class_list":["post-9502","post","type-post","status-publish","format-standard","hentry","category-new-toys","category-technical","category-training","category-weighin"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9502"}],"version-history":[{"count":2,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9502\/revisions"}],"predecessor-version":[{"id":9505,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9502\/revisions\/9505"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}