2

First-time asker here (let me know if there's a better stack for this)

I recently bought a secondhand Lenovo ThinkServer TS460, intending to run a home media server on it using UnraidOS. Here's Lenovo's Product Guide. The specific machine that I bought came with a RAID Controller (It appears to be the ThinkServer RAID 520i PCIe Adapter) connected to a board via MiniSAS that connects to all four available disk bays via SATA, and powers the four disks via this 8-pin connector (the port it connected to is labelled BP8_PWR_CON1). Here's some pictures:

The motherboard minus the RAID Controller

The motherboard minus the RAID Controller

The RAID Controller PCIe Adatpter

The RAID Controller PCIe Adatpter

The "front" of the board that bridges the four disk bays to the RAID Controller - note the MiniSAS Port and the 8-pin power cable

The "front" of the board that bridges the four disk bays to the RAID Controller - note the MiniSAS Port and the 8-pin power cable

The "back" of that board - note the four SATA ports for the disks

The "back" of that board - note the four SATA ports for the disks

The power supply is actually a pair of hot-swappable redundant 450 W AC (100 - 240 V) Modules (from the product guide: probably Lenovo's ThinkServer 450W Hot Swap Redundant Power Supply). The power supplies slot into a board that has all the power ports for the motherboard components: Board bridging power supplies and power ports

UnraidOS specifically states in their docs that it doesn't really support the use of hardware-based RAID controllers, but I figured that's ok - I'll just pull out the RAID controller and the board that connects to it via MiniSAS and connect my disks to the four available SATA ports on the motherboard. However I can't find a port to power the SATA connections. The product guide says that up to four disks are supported via the on-motherboard SATA ports, so it seems that what I want to do is in-spec. My understanding is that I'm looking for a 4-pin port (ideally labeled SATA pwr or something like that), but I don't see one...

  1. Am I missing the obvious (hello - it's right there!)?
  2. If not - is there a cable or something that I can get to provide power with any of the ports?

Open to other creative suggestions, Thanks

3 Answers3

3

You're fine with your current hardware, just put the 520i into JBOD mode

When Unraid says they don't support hardware RAID controllers, what they're saying is that they don't want you running RAID on the drives before passing them to Unraid. They're not saying you can't use a controller that supports hardware RAID to interface with the drives, *so long as said controller supports passing the drives through as "just a bunch of disks" (JBOD). The page you linked says as much:

Most RAID storage controllers offer a way to flash the firmware to convert the card into a basic HBA for devices (eliminating the RAID entirely), but you'll have to search for your specific controller to see if that is an option.

The good news for you is that you don't even have to flash new firmware on the card, since the 520i officially supports JBOD: just open the 520i's BIOS and set it to JBOD.

In other words: Unraid relies on software RAID, where the CPUs do all the calculations required to implement RAID. Your card supports either doing these calculations itself and then presenting one giant array to the OS (hardware RAID), or just passing the drives through without doing and RAID stuff (JBOD). Doing the latter is no different from plugging the drives into the onboard SATA ports, and it's what you should do.

JMY1000
  • 2,276
  • 10
  • 22
  • Hey, I finally got a chance to play around with this and I got UnRaidOS running on the system, but it's not finding my drives. I found the RAID controller settings in the BIOS and it seems to be aware of at least one of the two drives. All RAID and virtual groups are off, JBOD says [Enabled]. No dice... I know this site isn't for tech support, but any ideas? (also, belated thanks for responding to my post - I was going to accept if weeks ago to give you the points, but I thought to verify it on my machine first; which seems like was a good idea now...) – OvergrownChildWithPowerTools Feb 22 '24 at 01:15
  • It's a SAS3008-based card, so it should work with the included megaraid_sas driver. I'm more of a TrueNAS person than an Unraid person, but I'll do my best. Can you post photos/screenshots of the BIOS showing the drive listings? Does the megaraid_sas driver show up under Tools -> Drivers? Also can you run lspci and check that the card show up, and check dmesg | grep mps for any weird messages? Can you try an alternative distro and see if the card shows up? Failing that, you could flash the card to IT mode, but that should be overkill given the stock BIOS supports JBOD. – JMY1000 Feb 22 '24 at 07:23
  • Ok super weird - I went into the BIOS to get some pictures of the card configuration, and it the configuration utility wasn't showing up. This happened the first time I powered on the machine, but I figured it was because I was messing around with putting the card in a different slot... I went to Driver Health in the BIOS and I saw AVAGO EFI SAS Driver | Failed. I went into that and saw AVAGO MegaRAID SAS 9340-8i need configuration (or something). I started that - and after confirming a few prompts, the config settings for the card popped up and it showed my drives. – OvergrownChildWithPowerTools Feb 23 '24 at 16:55
  • 1
    Now I just rebooted and I had to go through those steps again even though I saved my changes from the first time. – OvergrownChildWithPowerTools Feb 23 '24 at 16:56
  • Also a bit strange is that in the driver BIOS config utility it shows that I have 2 drives connected to one backplane, but when I inspect the drives, it shows the same drive twice connected to Port 0 – OvergrownChildWithPowerTools Feb 23 '24 at 16:58
  • Ok, I redid the steps above to setup the card in the BIOS, saved and exited, nothing showed up (again) and after rebooting into the BIOS, the card/driver is not in the Advanced section, and Driver Health shows AVAGO EFI SAS Driver | Failed - something isn't saving right... but when I hit save and exit and let unRaid boot, I looked at the diagnostics tools section of the web GUI and saw: megaraid_sas driver DOES show up under Tools -> Drivers

    lspci shows the card, and dmesg | grep mps brings back nothing

    – OvergrownChildWithPowerTools Feb 23 '24 at 17:29
  • Hmmm, weird. The setting stuff is hard to visualize/debug; I would try replacing the CMOS battery on your motherboard + any batteries that are connected to the card (though those are usually just for the battery-backed write cache, so they shouldn't matter.) Were you able to get a photo of the drive configuration in the BIOS? Did you manage to get any more specific error messages in the BIOS besides "Failed"? Have you tried an OS other than Unraid? Also, how are you booting/installing Unraid? – JMY1000 Feb 23 '24 at 19:06
  • It looks like the error message might just be cosmetic, depending on your firmware version—see this Lenovo support page. – JMY1000 Feb 23 '24 at 19:07
  • I tried changing the CMOS Battery - no dice. I have not tried another operating system. I'm booting UnRaid via a USB drive plugged into one of the motherboard USB ports, as per the Unraid docs; the usb drive was created using the 'manual method' as per the unraid docs. I got some pics of my BIOS, but I don't think I can post pictures to a comment? – OvergrownChildWithPowerTools Mar 01 '24 at 02:57
  • I assume that the BIOS doesn't retain the controller's config between reboots (which the more I do this, the more I see is definitely happening) is the real problem? Like I can configure the card to JBOD, but then when the system boots into Unraid, that setting is probably already lost and the card has to be reconnected and reconfigured... – OvergrownChildWithPowerTools Mar 01 '24 at 03:02
  • You can post links to screenshots in comments; if you want to use SE's Imgur integration, just drag it into an answer but then don't post it, the links will stay valid and you can paste them in a comment. The card should maintain the settings onboard itself, in its own nonvolatile memory; strange that it's getting reset every reboot. I would try another OS to confirm that it's definitely the card that's acting up and not Unraid. – JMY1000 Mar 01 '24 at 06:20
  • If that fails, I would go ahead and ditch the Lenovo firmware and flash the card to IT mode. This is pretty standard practice in homelabs, since most LSI cards come with BIOSs that don't support JBOD out of the box; yours seems like it does, so I was hoping to avoid this extra step just because it's slightly annoying. However, since the card seems to be giving you trouble, I'd just go to the IT mode firmware. – JMY1000 Mar 01 '24 at 06:21
  • Also I don't think Unraid is messing with my controller settings - I just configured it in the BIOS, saved and exited, the system rebooted, and I went back into the BIOS and it was lost again; all before Unraid booted – OvergrownChildWithPowerTools Mar 01 '24 at 15:54
  • I agree that it's unlikely, but it's worth a shot since it's easy to try and might give more information. Also the screenshot seems to imply that you're booting from a one of the drives attached to the card...? I'm guessing this isn't right, based on your earlier description about booting from USB. – JMY1000 Mar 01 '24 at 18:40
  • One of those drives comes up as (bootable), but it doesn't show up in the Boot options. And even if I set my USB drive boot to a lower priority, it still eventually boots to Unraid. – OvergrownChildWithPowerTools Mar 01 '24 at 18:56
  • Gotcha. I'd try another OS briefly, then if that doesn't work I'd go ahead and reflash the card to IT mode. – JMY1000 Mar 01 '24 at 18:57
  • I took a look at the tutorial for flashing to IT mode and it seemed easy enough so I skipped trying another OS and went straight to that - it now works absolutely no problem! Unraid booted right up and all the drives show correctly! Upvoting and Accepting this answer – OvergrownChildWithPowerTools Mar 03 '24 at 02:33
  • Sweet! Glad that worked, I’ll blame the Lenovo firmware for not working earlier. – JMY1000 Mar 03 '24 at 03:17
2

The breakout cables are directional.

If you choose to bypass the backplane, the forward breakout cable is what you need. You can search for the SFF-8643 (Host) to 4X SATA (Target) or forward breakout Cable on Amazon.

If you choose to bypass the HBA/RAID card, you can use the ThinkServer OEM reverse breakout cable FRU 00HV802.

  • Thanks - if anything, I'd probably choose to bypass the RAID card, since that seems easier and the backplane provides convenience. Is there a performance downside to ditching the controller card in this scenario? Aside from losing the expansion capability, that is. To phrase it differently, should I try to make my RAID controller work before ditching it and why? – OvergrownChildWithPowerTools Mar 01 '24 at 16:13
  • I found this reverse breakout cable seems like it matches what I'm looking for, if I bypass the RAID card – OvergrownChildWithPowerTools Mar 01 '24 at 16:30
  • If you were you, I'd buy the OEM reverse breakout cable. I got burned on this. The seller listing it as reverse breakout, it is actually forward breakout in reality. It took me two weeks to find out the cable was wrong type instead of my other components. I email the seller and his reply was "they are the same". What a joke. Simply search for 00HV802 on eBay and it's much cheaper, too. – joshfromtexas Mar 01 '24 at 16:54
  • 00HV802 00HV802https://www.ebay.com/itm/164879488735?itmmeta=01HQXEY3CW40F1C001A91X32M9&hash=item26639556df:g:YVYAAOSwWXNgqdBZ&itmprp=enc%3AAQAIAAAAwN054xNBdj9u6j9c1EcfvVeast4vOG9G80XvWecqEuWgpGwZTeMi%2BwWN4EhVZjfSEUZg9n%2Fm64JIVRhrotSTjdqSJI%2FDRwa6LaU8pSOXUjFXKgWK2eCY%2BpaP07VpAZtFIT0bdtZtRLXsmvjlW5P6OVHLVTflhuxEWgHk2Vd2%2FIbX59VK3zJkMWqlBAOR%2FjF0NQ4FpdQIo7CzM012mUh7ZifID0TcpE6HacPG5ReYffzksmYRIV%2FrEHkR8Yf761TSkA%3D%3D%7Ctkp%3ABk9SR8S2-K6_Yw – joshfromtexas Mar 01 '24 at 16:58
  • For the storage expansion in the future, you can add a SATA expander PCIe card if you go the route of bypassing the HBA. The only thing you are losing is that no SAS drive can be used without a SAS card. I saw a few of TS460 around here, 2 of them have LSI-9364-8i RAID cards/SAS drives and 6 of them have no HBA/RAID cards, just reverse breakout cables only/SATA drives. – joshfromtexas Mar 01 '24 at 17:26
  • I ended up flashing my card to IT mode and it works now - I'm still upvoting this answer since it does show a completely viable alternative route – OvergrownChildWithPowerTools Mar 03 '24 at 02:34
0

Backplane Power connection

The power to the SATA/SAS: The 8-pin backplane power cable on your forth picture can be plugged into the 8-pin ports named: BPB_PWR_CON1 or BPB_PWR_CON2 on the upper left corner of the power board on your last picture.

Bypass the hardware RAID card ThinkServer 520i: get a SATA/SAS 4-port breakout cable to connect your backplane to the 4 SATA ports on your motherboard.

Do not bypass the backplane, it is essential for drive hot-swap capability in RAID operation.

  • 1
    The ThinkServer 520i is that breakout card; no reason to get another when that one should do. – JMY1000 Feb 29 '24 at 21:06
  • @joshfromtexas - I'm currently working on trying to get my system working without dropping the controller card using JBOD mode on it. It would be nice to use the controller since it would hypothetically allow for some expansion in the future (there are two mini-SAS connections to support a second drive array); losing hot-swap doesn't bother me as I'm not planning on using it or RAID. I am running into some issues (see the above comment thread) and I'll consider this as a backup - can you include a link to an example of this kind of cable? – OvergrownChildWithPowerTools Mar 01 '24 at 02:46
  • I don't know how to make hyperlink on the comments section, so I just added another answer above – joshfromtexas Mar 01 '24 at 15:33