Post

Built A 6-Bay 10Gbps Nas From A Lenovo M720Q

Built A 6-Bay 10Gbps Nas From A Lenovo M720Q

Built A 6-Bay 10Gbps Nas From A Lenovo M720Q

Introduction

The quest for compact, high-performance network-attached storage has led many homelab enthusiasts and small business operators to explore innovative solutions that balance power, size, and cost. The Lenovo ThinkCentre M720Q Tiny PC represents an intriguing foundation for building a capable NAS system, offering enterprise-grade reliability in a remarkably small form factor. When paired with a custom 6-bay storage expansion, this platform transforms from a basic office PC into a formidable storage powerhouse capable of delivering 10Gbps performance.

This project addresses a common challenge in the homelab community: how to achieve enterprise-level storage capabilities without the footprint, power consumption, or cost of traditional rackmount solutions. The M720Q’s compact design, combined with modern PCIe expansion options and high-density storage bays, creates an opportunity to build a system that can handle demanding workloads like media serving, backup operations, virtualization storage, and even small-scale production workloads.

What makes this particular build compelling is the clever use of readily available components that weren’t necessarily designed to work together. The Chinese second-hand marketplace Goofish provides access to specialized expansion kits that bridge the gap between the M720Q’s limited internal storage options and the need for substantial capacity. The result is a system that punches well above its weight class, delivering performance that rivals much larger and more expensive solutions.

Throughout this comprehensive guide, we’ll explore every aspect of transforming a Lenovo M720Q into a 6-bay NAS capable of 10Gbps speeds. From component selection and hardware modifications to software configuration and performance optimization, you’ll gain the knowledge needed to replicate this build or adapt the principles to your own storage projects. Whether you’re a seasoned homelab enthusiast or just beginning your journey into self-hosted infrastructure, this guide provides the technical depth and practical insights required to succeed.

Understanding the Lenovo M720Q Platform

The Lenovo ThinkCentre M720Q belongs to Lenovo’s Tiny form factor series, designed primarily for business environments where space efficiency and reliability are paramount. Measuring just 7 inches by 7 inches by 1.4 inches, this compact PC houses surprisingly capable hardware for its size. The platform typically features Intel Core i5 or i7 processors from the 8th or 9th generation, support for up to 64GB of DDR4 memory, and a range of storage options including M.2 NVMe drives and 2.5-inch SATA drives.

What makes the M720Q particularly interesting for NAS applications is its combination of low power consumption, passive cooling capabilities, and robust build quality. The system’s power efficiency means it can run 24/7 without generating excessive heat or consuming significant electricity, while its enterprise-grade components ensure reliability over extended operation periods. The inclusion of multiple USB 3.1 ports, DisplayPort outputs, and Gigabit Ethernet provides flexibility for various use cases beyond storage.

However, the platform’s compact nature presents challenges for storage expansion. The M720Q’s single M.2 slot and optional 2.5-inch drive bay severely limit internal storage capacity, making it unsuitable for NAS applications without modification. This limitation is precisely what drives the need for external expansion solutions, creating an opportunity to leverage the platform’s strengths while overcoming its constraints through creative hardware integration.

The M720Q’s motherboard design includes several features that make it suitable for NAS conversion. The PCIe x1 slot, while limited in bandwidth, can be utilized for storage controllers or network cards. The system’s power delivery is robust enough to support additional drives when properly configured, and the cooling system, though compact, can handle the thermal load of multiple storage devices with appropriate airflow management.

Component Selection and Hardware Integration

The foundation of this NAS build rests on several key components that work together to create a functional storage system. The 6-bay expansion kit represents the most critical element, providing the physical framework for mounting and connecting multiple drives. These kits, specifically designed for the M720Q and M920Q platforms, include a SATA backplane that allows multiple drives to connect through a single interface, significantly simplifying the internal wiring and power distribution.

The M.2 to 6 SATA adapter serves as the bridge between the M720Q’s limited internal connectivity and the expanded storage requirements. This adapter typically uses an M.2 2280 slot and provides six SATA III ports, enabling connection to all six drives in the expansion bay. The adapter’s design must account for the M720Q’s power delivery capabilities and thermal constraints, making proper selection crucial for system stability.

Power delivery presents one of the more complex challenges in this build. The M720Q’s internal power supply, while sufficient for its base configuration, needs augmentation to support six additional drives. The riser card solution addresses this by providing a 12V power input specifically for the storage expansion, while also offering an additional M.2 slot for further expansion. This dual-purpose design maximizes the utility of the limited PCIe space available in the Tiny form factor.

Cooling considerations cannot be overlooked in this compact build. The expansion bay kit includes dedicated fans designed to move air through the drive bays, preventing thermal throttling and ensuring long-term reliability. The M720Q’s internal cooling system must work in concert with these additional fans, requiring careful placement and airflow management to maintain optimal operating temperatures across all components.

Hardware Assembly and Physical Installation

The physical assembly process requires careful attention to detail and methodical execution to ensure proper fitment and functionality. Begin by preparing the M720Q for modification by disconnecting all power sources and removing the external casing. The Tiny form factor design uses simple thumbscrews for access, making the initial steps straightforward.

The riser card installation represents a critical juncture in the build process. This component must be seated properly in the PCIe x1 slot while ensuring the 12V power connector remains accessible. The additional M.2 slot on the riser provides an opportunity for NVMe storage, which can serve as cache or for the operating system, further enhancing the system’s performance characteristics.

The 6-bay expansion kit installation requires careful alignment with the M720Q’s chassis. The kit typically includes mounting brackets and hardware specifically designed for this platform, ensuring proper fitment without modification to the original case. The SATA backplane must be connected to the M.2 to 6 SATA adapter, with careful attention paid to cable routing and strain relief to prevent connection issues over time.

Power distribution requires particular attention to detail. The 12V input from the riser card must be connected to the expansion bay’s power input, while the SATA power connectors from the backplane need proper routing to avoid interference with other components. The cooling fans included with the expansion kit should be connected to available fan headers on the M720Q’s motherboard, with their operation monitored during initial testing.

Drive installation follows a systematic approach, with each 2.5-inch drive secured in its bay using the provided mounting hardware. The compact nature of 2.5-inch drives allows for efficient use of space while maintaining adequate cooling clearance. Proper labeling of drives during installation facilitates easier identification during the software configuration phase.

Software Configuration and Operating System Setup

The software foundation for this NAS build requires careful consideration of both functionality and performance requirements. TrueNAS Core (formerly FreeNAS) represents an excellent choice for this application, offering comprehensive storage management features, robust ZFS support, and a user-friendly web interface. The operating system can be installed on the M.2 NVMe drive provided by the riser card, separating system files from storage data for optimal performance.

Installation begins with creating a bootable USB drive containing the TrueNAS Core image. The M720Q’s BIOS must be configured to boot from this media, with secure boot disabled to allow the installation process to proceed. During installation, the NVMe drive should be selected as the installation target, with careful attention paid to partition sizing to ensure adequate space for system updates and logging.

Network configuration represents a critical step in the setup process. The M720Q’s built-in Gigabit Ethernet provides a baseline connection, but achieving 10Gbps performance requires additional network hardware. A 10Gbps network card installed in the available PCIe slot enables the high-speed connectivity necessary for modern NAS operations. This card must be properly recognized by TrueNAS and configured with appropriate IP addressing and network settings.

ZFS pool creation forms the core of the storage configuration. The six 2.5-inch drives can be configured in various RAIDZ configurations depending on the desired balance of capacity, performance, and redundancy. RAIDZ2 offers excellent data protection with the ability to withstand two drive failures, while RAIDZ1 provides a balance of capacity and redundancy suitable for less critical data. The choice of configuration should align with the specific use case and acceptable risk tolerance.

Performance Optimization and Tuning

Achieving optimal performance from this compact NAS requires careful attention to both hardware and software tuning. The ZFS filesystem, while powerful, demands specific configuration parameters to operate efficiently on this hardware platform. ARC (Adaptive Replacement Cache) sizing should be adjusted based on available RAM, with a general rule of allocating 50% of system memory to the ARC for optimal caching performance.

Network optimization plays a crucial role in achieving 10Gbps performance. The network card’s driver settings should be reviewed and optimized for the specific TrueNAS version, with attention paid to interrupt coalescing, ring buffer sizes, and checksum offloading. Jumbo frames can provide additional performance benefits when supported by the network infrastructure, reducing CPU overhead for packet processing.

Storage optimization involves tuning various ZFS parameters to match the characteristics of the 2.5-inch drives used in the expansion bay. Recordsize, volblocksize, and ashift parameters should be configured based on the typical workload patterns expected from the NAS. For mixed workloads involving both large media files and smaller database operations, a balanced approach to these parameters often yields the best overall performance.

Power management settings require careful consideration to balance performance with the thermal constraints of the compact form factor. The M720Q’s BIOS settings should be reviewed to ensure that power-saving features don’t interfere with sustained performance, while still allowing for thermal throttling protection when necessary. The cooling system’s fan curves may need adjustment to provide adequate airflow during heavy load conditions.

Advanced Features and Integration

The TrueNAS platform offers numerous advanced features that can enhance the functionality of this compact NAS. Docker and virtual machine support enable the deployment of additional services directly on the NAS hardware, eliminating the need for separate infrastructure for common homelab applications. Media servers, backup solutions, and development environments can all run alongside the core storage functions, maximizing the utility of the hardware investment.

Snapshots and replication provide robust data protection capabilities beyond simple RAID redundancy. The compact nature of this NAS makes it an excellent candidate for off-site replication scenarios, where its small size and low power consumption make transportation and continuous operation practical. Snapshot schedules can be configured to provide point-in-time recovery options for critical data, with retention policies aligned to specific recovery point objectives.

Cloud integration features enable hybrid storage scenarios where frequently accessed data remains local while archival data is pushed to cloud storage providers. This approach maximizes the utility of the limited local storage while providing virtually unlimited capacity for long-term retention. The TrueNAS cloud sync feature supports various providers including Amazon S3, Google Cloud Storage, and Microsoft Azure Blob Storage.

Monitoring and alerting capabilities built into TrueNAS provide visibility into system performance and health. The built-in graphs and metrics can be supplemented with external monitoring solutions like Prometheus and Grafana for more comprehensive observability. Custom alerts can be configured to notify administrators of potential issues before they impact system availability or data integrity.

Security Implementation and Hardening

Security considerations for this NAS build must address both physical and network-based threats. The compact form factor actually provides some physical security advantages, as the system can be easily secured in a locked cabinet or equipment rack. However, the expanded storage capacity and network connectivity create new attack surfaces that require careful mitigation.

Network security begins with proper segmentation and firewall configuration. The NAS should operate on a dedicated VLAN separate from other network devices, with firewall rules carefully crafted to allow only necessary services. SSH access should be restricted to specific IP ranges and configured to use key-based authentication rather than passwords. The built-in firewall in TrueNAS provides granular control over incoming and outgoing traffic.

User authentication and access control require thoughtful implementation to balance convenience with security. The built-in directory services in TrueNAS can integrate with existing authentication infrastructure, while still providing local user management capabilities. Two-factor authentication adds an additional layer of security for administrative access, while dataset-level permissions ensure that users only access the data they’re authorized to view.

Data encryption at rest provides protection against physical theft or unauthorized access to drives. TrueNAS supports both AES-XTS encryption for entire pools and individual dataset encryption for more granular control. The encryption keys should be stored securely, with considerations for key rotation and disaster recovery scenarios where encryption keys might be lost.

Regular security updates and patch management are essential for maintaining system security. TrueNAS provides automated update capabilities, but these should be tested in a non-production environment when possible to ensure compatibility with existing configurations and data. The compact nature of this build makes it practical to maintain a secondary system for testing updates before deployment to production.

Maintenance and Operational Procedures

Regular maintenance procedures ensure the long-term reliability and performance of this compact NAS. SMART monitoring of all drives should be configured to provide early warning of potential drive failures, with automated alerts sent to administrators when pre-failure conditions are detected. The compact form factor makes drive replacement relatively straightforward, but having replacement drives on hand minimizes downtime when failures occur.

System updates and upgrades require careful planning to avoid service disruption. The TrueNAS update process includes safeguards to protect data during the upgrade, but backup verification should always precede major version upgrades. The compact nature of this system makes it practical to maintain a backup configuration that can be quickly deployed if upgrade issues arise.

Performance monitoring should be conducted regularly to identify potential bottlenecks or degradation over time. The built-in metrics in TrueNAS provide visibility into CPU utilization, memory usage, network throughput, and storage performance. These metrics can help identify when hardware upgrades might be necessary or when configuration adjustments could provide performance improvements.

Backup procedures should be tested regularly to ensure recoverability. The compact size of this NAS makes it practical to maintain both local and off-site backups, with the TrueNAS replication features simplifying the process of maintaining synchronized copies of critical data. Backup verification should include periodic restoration tests to confirm that data can be successfully recovered when needed.

Troubleshooting Common Issues

Hardware-related issues in this compact build often stem from thermal constraints or power delivery limitations. Overheating can manifest as performance degradation or system instability, particularly during extended periods of heavy load. Monitoring system temperatures and adjusting fan curves or improving airflow can resolve these issues. The compact form factor requires careful attention to thermal management, as components are more densely packed than in traditional NAS designs.

Network performance issues may arise from improper driver configuration or hardware incompatibilities. The 10Gbps network card must be properly supported by the TrueNAS version in use, with appropriate drivers loaded and configured. Network interface bonding can provide redundancy and increased throughput when multiple network connections are available, but requires careful configuration to function correctly.

Storage performance problems often relate to ZFS configuration or drive health issues. Fragmentation can occur over time, particularly with mixed workload patterns, and may require pool optimization or rebalancing. Drive health issues can be identified through SMART monitoring and addressed through proactive drive replacement before catastrophic failure occurs.

Software compatibility issues may arise when integrating third-party applications or services with the TrueNAS platform. Docker containers and virtual machines should be tested thoroughly before deployment to production, with particular attention paid to resource allocation and network configuration. The compact hardware resources require careful planning to ensure that additional services don’t impact core storage functionality.

Conclusion

Building a 6-bay 10Gbps NAS from a Lenovo M720Q represents an innovative approach to compact storage solutions that challenges conventional thinking about NAS design. This project demonstrates that enterprise-level storage capabilities can be achieved in remarkably small form factors when creativity and careful component selection are applied. The resulting system offers a compelling combination of performance, reliability, and efficiency that makes it suitable for a wide range of applications from homelab environments to small business infrastructure.

The success of this build hinges on understanding the strengths and limitations of the M720Q platform and selecting complementary components that address its constraints while leveraging its advantages. The expansion kit, riser card, and careful software configuration work together to create a system that far exceeds the capabilities of the base hardware. This approach to building custom storage solutions provides flexibility and cost-effectiveness that commercial NAS devices often cannot match.

As storage demands continue to grow and the need for compact, efficient infrastructure solutions increases, projects like this provide valuable insights into what’s possible with creative hardware integration and thoughtful software configuration. The principles demonstrated in this build can be applied to other compact platforms and storage scenarios, providing a foundation for innovation in the homelab and small business infrastructure spaces.

The journey from a basic office PC to a capable 10Gbps NAS illustrates the transformative power of open-source software and the vibrant ecosystem of hardware components available to enthusiasts and professionals alike. Whether you’re looking to build your own compact NAS or simply interested in the possibilities of creative hardware integration, this project offers valuable lessons in system design, optimization, and the practical application of storage technologies.

This post is licensed under CC BY 4.0 by the author.