this post was submitted on 06 Apr 2024
85 points (89.0% liked)

Selfhosted

39964 readers
403 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Trying to squeeze some more storage in my MiniPC. I have questions about these. These use hardward RAID with selectable modes (Individual/JBOD/RAID1/RAID2).

  1. If I use RAID 1 and one of the drives fails, will I know?

  2. If a drive fails, and a slap in a new one, will it internally begin repairing RAID 1 again?

  3. Can I use these as "individual" or JBOD and have 2 separate drives through the same connector, and use something like TrueNAS to software-RAID them?

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 38 points 7 months ago (4 children)

Neat, but I see it personally as the worst of both worlds, unless you have a bunch of NVMEs sitting around.

You're going to be bottlenecked by SATA speeds, so even one NVME would be bottlenecked, let alone 2. So for me, going with a larger SATA SSD (which you could of course RAID with another) would probably get you still better speeds.

Then you have issue of it breaking. Personally, I have never had good luck with secondary board RAID items like this. They always fail after a while. The only stable raids I have seen are motherboards and SAS. Whenever I see "Make this interface into another RAID" I think of the.... 5-7 failed cards sitting behind me.

[–] [email protected] 7 points 7 months ago (4 children)

M.2 is a form factor. Under that form factor it can run the NVMe or the SATA protocol.

load more comments (4 replies)
[–] [email protected] 5 points 7 months ago (3 children)

unless you have a bunch of NVMEs sitting around.

SATA, not NVMe.

You're going to be bottlenecked by SATA speeds

Speed is not a concern for me.

[–] [email protected] 13 points 7 months ago (1 children)

If speed isn't the concern I would use Sata drives. They are cheaper anyway

load more comments (1 replies)
[–] [email protected] 3 points 7 months ago (7 children)

If you don't have a bunch of nvmes lying around that you want to use, then why not just go for a few sata drives and raid those together? You do what you like, to me that just seems like more storage for your buck

[–] [email protected] 6 points 7 months ago (1 children)

Just as an uninvolved third party, I'm trying to figure out how NVMe entered this response to a question about a SATA to SATA form factor converter

[–] [email protected] 12 points 7 months ago (8 children)

Because M.2 equals NVMe in some people’s minds, I suppose

load more comments (8 replies)
load more comments (6 replies)
load more comments (1 replies)
[–] [email protected] 3 points 7 months ago

You fan pretty effective software raid with Linux built in drivers. No need for hardware raid, specially not cheapo ones...

Running Linux software raid for 20+ years with zero issues... Currently on USB3 and USB-C disks, but in the past all kind of mixed solutions (ide/sata/esata/USB/FireWire...).

Speed is not a big issue in my experience if you consume your media over network anyway.

[–] [email protected] 2 points 7 months ago

also nvme drives get HOT, and sticking em together in an enclosure with no heatsink or fan would probably have thermal throttle under load.

[–] [email protected] 17 points 7 months ago (1 children)
[–] [email protected] 18 points 7 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 14 points 7 months ago (1 children)

JBOD relies on an optional SATA extension, which most of your controllers won't have.

That leaves you with RAID in the controller - which is a bad idea, as you don't have much control over what is going on, and recovery if it fails will possibly messy.

[–] [email protected] 3 points 7 months ago (1 children)

Then why does it list JBOD?

[–] [email protected] 8 points 7 months ago (2 children)

Because it does JBOD if the controller supports it. Pretty much none of the controllers you'll find in consumer hardware support that.

load more comments (2 replies)
[–] [email protected] 8 points 7 months ago

Super cool. I didn't know this existed.

[–] [email protected] 8 points 7 months ago (1 children)

I'm not saying this rudely. This sounds like a "read the manual" moment, since different vendors can have different settings.

Or at least links to the exact one you are looking at.

[–] [email protected] 3 points 7 months ago* (last edited 7 months ago) (1 children)

I couldn't find any manuals. Nothing that referenced my questions. Thought maybe there was just a "conventional" way that these functioned.

[–] [email protected] 4 points 7 months ago (1 children)

https://www.qnap.com/en/product/qda-a2mar seems to be the one in your image. From the users guide it seems it does everything you listed. The prices I've seen are about 100 € / $ though plus the two SSDs you need, personally I'd invest in external backup instead, that covers more data loss scenarios than this adapter.

load more comments (1 replies)
[–] [email protected] 7 points 7 months ago
  1. Since you mentioned that speed wasn't a concern, I would go with software raid, which would also alleviate your concerns about 1 and 2.
[–] [email protected] 5 points 7 months ago
  1. Very likely no (but maybe some SMART data?)
  2. Probably only if it is the identical model, but depends on the the exact implementation I guess
  3. Probably if it claims to support them as individual drives, but you will be still limited to the speed of a single SATA3 connection.
[–] [email protected] 4 points 7 months ago (9 children)

If I'm not wrong these are not compatible with nvme? I remember I wanted to buy something like this but I couldn't find PCIE to SATA, pretty sure I'm wrong but not in the mood to research

[–] [email protected] 2 points 7 months ago (4 children)
load more comments (4 replies)
load more comments (8 replies)
[–] [email protected] 3 points 7 months ago (1 children)

Do not use one with any kind of logic. The mSATA ones are fine because they just passthough

[–] [email protected] 2 points 7 months ago (2 children)
[–] [email protected] 8 points 7 months ago (3 children)

As in, hardware RAID is a terrible idea and should never be used. Ever.

With hardware RAID, you are moving your single point of failure from your drive to your RAID controller - when the controller fails, and they fail more often then you would expect - you are fucked, your data is gone, nice try, play again some time. In theory you could swap the controller out, but in practice it's a coin flip if that will actually work unless you can find exactly the same model controller with exactly the same firmware manufactured in the same production line while the moon was in the same phase and even then your odds are still only 2 in 3.

Do yourself a favour, look at an external disk shelf/DAS/drive enclosure that connects over SAS and do RAID in software. Hardware RAID made sense when CPUs were hewn from granite and had clock rates measures in tens of megahertz so offloading things to dedicated silicon made things faster, but that's not been the case this century.

[–] [email protected] 5 points 7 months ago (1 children)
[–] [email protected] 2 points 7 months ago

I see that you, too, bear scars of RAIDs.

[–] [email protected] 2 points 7 months ago (1 children)

OP should be looking at backup before considering RAID anyway, because RAID is not backup.

[–] [email protected] 2 points 7 months ago

Correct, it's not obvious when first diving in but the main use for RAID is increasing performance and availability by allowing up to a specific number of drive failures. For that to work, ideally in an enterprise you'd have a primary and secondary controller to mitigate that point of failure which is not typical for most homelabs and makes backup even more important.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 3 points 7 months ago (1 children)

I cant see these being great if all youre doing is trying to add more storage. For one, raid is already not terribly great, and on some unknown hardware like this, who knows?

If all you needed was storage, youd be better off getting an actual 2.5" drive in the highest capacity you can find, and it will still likely be cheaper thank a bunch of M.2 and perform better too.

load more comments (1 replies)
[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
NAS Network-Attached Storage
NVMe Non-Volatile Memory Express interface for mass storage
PCIe Peripheral Component Interconnect Express
RAID Redundant Array of Independent Disks for mass storage
SATA Serial AT Attachment interface for mass storage
SSD Solid State Drive mass storage

[Thread #660 for this sub, first seen 6th Apr 2024, 21:05] [FAQ] [Full list] [Contact] [Source code]

load more comments
view more: next ›