Selfhosted
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:
-
Be civil.
-
No spam.
-
Posts are to be related to self-hosting.
-
Don't duplicate the full text of your blog or readme if you're providing a link.
-
Submission headline should match the article title.
-
No trolling.
-
Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.
-
AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments

The key doesn't correspond to capability. It's about the connector's physical shape. i.e. which side is the lil notch on. B has a notch on the right, M on the left. B & M have a notch on both sides and therefore fits into either connector, but it is limited to PCIex2/SATA speed (i'd guess this won't matter to you as pciex2 is around 4gbps even on pci1). It also doesn't mean the length would fit, that'll be a number like 2230, 2280 etc.
You'd have to check the manual for the motherboard to see if it specifies, but if it's labelled m.2 PCIe it should work I think. If it only said SATA then it would not work.
You can try
dmidecode --type sloton Linux, it should list them as available and presumably specify the type to be PCI express.I think ultimately you'll only know when you try, but these may give you some confidence.
Huh, TIL that B-keyed slots can have any PCIe at all. I thought it meant SATA-only.
This is the output of dmidecode
Handle 0x0026, DMI type 9, 17 bytes System Slot Information Designation: SLOT1_M.2 Type: x4 M.2 Socket 3 Current Usage: Available Length: Long Characteristics: 3.3 V is provided PME signal is supported Bus Address: 0000:ff:1f.7
Handle 0x0027, DMI type 9, 17 bytes System Slot Information Designation: SLOT2_M.2 Type: x1 M.2 Socket 1-SD Current Usage: In Use Length: Short Characteristics: 3.3 V is provided PME signal is supported Bus Address: 0000:ff:00.0
I'm guessing the top one is the M.2 in question, on account of it saying "Available". And from what I understand having searched for some of the info on that, it should work, assuming the firmware allows for it.
The slot that is currently in use is the slower one since it's only Type: x1. Depending on what you use the slot currently (such as an M.2 drive), you might wanna switch slots so you can take advantage of the speed; the x1 slot is completely adequate for 1gbps ethernet if you don't need more. Both slots are otherwise functionally the same, but make sure to look up in your mainboard documentation if there's any limitation if you use both slots or a specific hardware configuration (mine deactivated the second M.2 slot after changing from an 2600x to an 5950x for example)
I believe the fact that it comes up as a "slot" is positive. SATA m.2 connectors don't show up under slots, they come under "connector"s with type SATA.