Published Dec 5, 2026, 12:01 PM EST Richard is the PC Hardware Lead at XDA and has been covering the technology industry for almost two decades. He's been building PCs since young, and when not creating content, you can often find him inside a chassis somewhere. Putting together a network-attached storage (NAS) device using PC parts is relatively straightforward. Simply pick out compatible parts that don't cost a fortune, and you're almost there already. Better still, extract perfectly serviceable components from an old PC. But if there's one limitation of heading down this route, it would be the limited support for storage with consumer-grade motherboards. They usually only have a few SATA ports, so I added six more with nothing but a cheap M.2 adapter. NAS is all about the SATA ports The more, the merrier for increasing storage space Calculating costs for NAS is always an interesting way to spend an evening. It usually involves looking at cost per GB or TB of capacity for picking up drives, but the same logic applies to motherboards. It's not that one can use the board itself to store data, but we can look at and consider the number of available SATA ports. Most normal PC boards will have between two and six, depending on form factor. Some may have more, especially if designed for creators. That's often viewed as the limiting factor for using one as the foundation for a NAS. If you (like me) already have a six-drive array from a prebuilt enclosure, you're pretty much out of luck, that is, until you consider the available M.2 slots. Modern motherboards from the last couple of years will have multiple PCIe and SATA M.2 slots. These PCIe slots can be used for the primary OS drive, but if you have a SATA M.2 slot, that can handle the load, while the more advanced PCIe slots can expand your storage capacity. I bought a cheap $20 PCIe-to-SATA M.2 adapter that takes that single NVMe input and offers six SATA III ports for connecting 3.5- and 2.5-inch hard drives and SSDs. It's also possible to use PCI slots for the job, but these can be used to provide faster networking (5Gb or higher) and RAID. M.2 slots are perfect for opening up a world of possibilities when it comes to throwing in more used or affordably sourced drives to expand how much can be stored at home without cloud subscriptions. Turning PCIe lanes into SATA ports The ASMedia ASM1166, which I bought for $20, is designed to provide six SATA 6 Gbps connections over a PCIe 3.0 x2 link. It uses the standard AHCI interface, meaning it doesn't require the host operating system to understand a proprietary hardware RAID implementation. What we're doing here is taking the available PCIe lanes routed to the free M.2 connection and using the dedicated onboard SATA controller on the small adapter to provide six SATA III ports. We're not splitting an existing SATA connection, but rather using the PCIe lanes to provide bandwidth for a controller to handle multiple storage drives through the single M.2 form factor. Each connected drive to the ASM1166 is connected independently to the controller, allowing an OS such as TrueNAS to communicate with the drives individually. There's no need for PCIe bifurcation because the adapter itself only presents a single PCIe controller. It keeps everything simple. The best part is that, because it's all independent, mechanical hard drives and SATA SSDs can all be connected like you would using a normal motherboard SATA array. Installation is painless; cable management not so much More wires from awkward positions on the motherboard M.2 slots are frequently found in awkward positions on the motherboard. Some may be locked behind heatsinks, others may be blocked by the GPU, and some may even be on the opposite side of the PCB. Whichever the case may be, it can prove troubling to effectively manage all the cabling that comes with opening up six new SATA ports on the motherboard. SATA cables are anything but inconspicuous, coming in an array of colors and short lengths. Then there's the case of ensuring there's ample airflow available for the SATA controller. The one I bought has a heatsink, so it's designed to handle some thermal output, which will need to be picked up by the system's cooling solution. An area too restrictive or void of any airflow could cause problems, especially when matched with hot parts like a GPU running local AI inferencing. Luckily, the NAS I'm setting up wouldn't perform such a task. What I didn't expect to find was how humorous it looks to see six populated SATA ports on a small M.2 form factor PCB. And because this is an AHCI-based SATA controller, each drive is presented to the OS as an individual drive, not a hardware-managed RAID configuration. This makes setting it all up an absolute breeze. In fact, you could even run Xpenology and create your own Synology NAS with more SATA ports for expanding in the future. Six HDDs barely require much PCIe bandwidth A single HDD, especially NAS-rated models, usually comes in at around 180MB/s or so. Six of them equate to around 1GB/s. A single PCIe 3.0 x2 offers just shy of 2GB/s. Even 250MB/s HDDs would only hit around 1.5GB/s. It's only when you kit out the expansion card with six SATA SSDs that you encounter bottlenecking due to a combined bandwidth of more than 3GB/s, which the PCIe channel would fail to handle. Random I/O workloads are usually slower than sequential anyway. Interestingly, the 1GB/s bandwidth is around what a 10GbE network would be able to handle. So, for NAS work, this PCIe 3.0 x2 adapter is more than enough for streaming data across to clients. Flylin 6 SATA Port M.2 PCIe 3.0 adapter Armed with six SATA ports, this M.2 adapter can turn a free PCIe slot into an expansive storage connection.
I added six SATA drives to my PC through an empty M.2 slot and a cheap adapter
Full Article
Original Source
Read the full article at Xda-developers →KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.