惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
Blog — PlanetScale
Blog — PlanetScale
WordPress大学
WordPress大学
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
U
Unit 42
I
InfoQ
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
V
Visual Studio Blog
B
Blog RSS Feed
Vercel News
Vercel News
F
Fortinet All Blogs
Know Your Adversary
Know Your Adversary
T
Troy Hunt's Blog
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
大猫的无限游戏
大猫的无限游戏
A
About on SuperTechFans
Jina AI
Jina AI
小众软件
小众软件
T
Threatpost
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
The Hacker News
The Hacker News
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell
Scott Helme
Scott Helme
B
Blog
腾讯CDC
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
S
Schneier on Security
N
News and Events Feed by Topic
Microsoft Security Blog
Microsoft Security Blog
K
Kaspersky official blog
G
Google Developers Blog
T
Tor Project blog
PCI Perspectives
PCI Perspectives
S
Secure Thoughts
Google Online Security Blog
Google Online Security Blog
Latest news
Latest news
Google DeepMind News
Google DeepMind News
MyScale Blog
MyScale Blog
罗磊的独立博客

The DIY Life

I Rebuilt My 3D Printed Lab Rax Homelab… in Wood - The DIY Life I Built a Compact Raspberry Pi Cluster Using The Makera Z1 Desktop CNC Machine - The DIY Life Pironman 5 Pro Max, A Raspberry Pi 5 Case with Touchscreen, Camera and Speakers I Designed A Mini ITX PC Shelf For My Lab Rax 10″ Homelab I Ran AI on a Raspberry Pi… The Results Were Unexpected This Is the Most Overkill Raspberry Pi 5 Cooler I’ve Ever Built Beelink ME Pro, A Small Form Factor NAS with Serious Home Server Potential Turn a Raspberry Pi Zero into a Global Ad Blocker with Pi-hole and Tailscale I Built an AliExpress Homelab, Is It Surprisingly Good or Total E-Waste? Pi 5 NAS With Custom Carbon Fibre Panels, Made on the Makera Z1! I Built a Pi 5 AI Chatbot That Talks, Blinks, and Looks Around!
I Built a 5″ Portable Raspberry Pi Homelab
Michael Klements · 2026-03-09 · via The DIY Life

What if you could take your entire homelab with you when you travel? In this project, I designed a portable Pi homelab by shrinking my original 10″ Lab Rax down to a 5″ rack that can still run a router, NAS and Docker server using Raspberry Pi hardware. In this post, I’ll walk through the design, 3D printing, assembly and hardware setup for this tiny but surprisingly capable homelab.

Traveling With a 10 Inch Homelab

Here’s my video of the build. Read on for the write-up.

Where To Buy The Parts To Build Your Own Portable Pi Homelab

Tools & Equipment Used:

Some of the above parts are affiliate links. By purchasing products through the above links, you’ll be supporting this channel, at no additional cost to you.

Shrinking The 10″ Lab Rax Design Down to a 5″ Portable Pi Homelab

To start out, I opened up the original model for my 10” 3D printable Lab Rax design and then made some changes to scale it down and still keep it easy to print and assemble. This design keeps a lot of the same proportions for the racks too, so a 1U 10” model can be shrunk down to 50% scale and should then fit into this rack.

Cab Model Shrinking Homelab Down To 5 Inches

Download the 3D Print Files

So let’s get the rack printed out. Because it’s been shrunk down, it’s actually really easy to print. The whole print fits onto a single build plate on the H2D and uses just 220g of filament. So you could get four complete prints out of a single 1kg roll of filament.

Fits Onto One Buildplate
3D Printing Parts For 5 Inch Homelab

I printed it in a grey sparkle filament with translucent yellowish green accents. I also separated the two main colours over two build plates, which makes printing a bit faster. 

Grey and Yellow Colour Scheme

I think the parts have come out really nicely.

Assembling The 5″ Rack

This design uses M3 x 8mm screws to hold everything together. Like with my original Lab Rax design, I’ve stuck with one screw size for all of the components, which makes it easy to buy the hardware for the build. I’m also using M3 brass inserts instead of having to press nuts into pockets. I think these make a stronger and easier-to-assemble build.

The brass inserts are just pressed into place using a soldering iron. Four for the vertical posts and four for the feet or handles, and then the same for the opposite side.

Pressing Brass Inserts Into Sides
Brass Inserts Installed
Pressing Brass Inserts Into Top & Bottom

For the vertical posts, to hold the racks in place, I also used M3 brass inserts. I used slightly shorter ones for these because I had a box of them lying around, but they’re the same diameter as the longer ones and both work just fine. 

Brass Inserts For Posts

I’m only putting them into the top and bottom hole for each rack unit rather than all three. I usually only secure racks with four screws rather than 6 and I don’t plan on using half units in this rack (although they typically use the same top or bottom holes).

3D Printed All Components For 5 Inch Rack

With the inserts installed, assembly only takes a couple of minutes. We start by installing the four posts on the base with a single M3x8mm screw holding each one in place.

Four Vertical Posts Installed

The side panels then slide down into the recess in the posts. I’ve kept this design feature in the 5” rack as it makes it easy to customise with open sides, or add a fan to or even a cable entry cutout. 

Two Side Panels Installed

Then the top cover can go on, with four screws holding that onto the top of the posts.

Screwing Top Into Place

The tiny handles can then each be screwed onto the top, with two M3 screws holding each on in place. At this scale, the handles are more decorative than functional, but I think they serve their purpose. 

Adding Handles To Homelab

Lastly, the four feet on the bottom finish it off. These are also held in place with a single M3x8mm screw each.

Adding Feet To Homelab

And that’s the rack complete. Honestly, because it’s been scaled down from the original Lab Rax model, it’s difficult to tell how much smaller it is. But it is quite noticeable alongside the original. 

Homelab 5 Inch Lab Rax Complete
5 Inch Rack Next to 10 Inch Rax Lab Rax

It’s actually about 8 times smaller in volume than the original.

Making Up Hardware To Populate The 5″ Rack

So what does that mean for components that we can fit into it? Well, at 5” we can still comfortably fit a Raspberry Pi into a single rack unit, and by trimming some fat off a 5-port Ethernet switch, we can build one of those in too. So there’s still potential for a decent setup.

So to turn this into a real portable homelab, here’s what I’m installing. 

A 5-port gigabit Ethernet switch, which has been stripped of its TP-Link plastic housing to save on space. This now comfortably fits into a single rack unit. 

TP Link Switch
5 Port Ethernet Switch

Then I’ve got this little board with dual Ethernet ports and a Raspberry Pi Compute Module 4 (CM4) on the bottom. It’s also got a USB-C port for power on the front and another on the side for peripherals. I’m going to load OpenWRT onto this board as the router for my homelab. I don’t need it at this stage, but WiFi can be added through the USB port too.

DFRobot CM4 Router
DFRobot CM4 Router Running OpenWRT

Then I’ve got a single Raspberry Pi 5 with an official active cooler, which I’m going to install Pi OS Lite onto and then run Docker on it for all of my network services and for monitoring.

Raspberry Pi 5 For Docker
Docker Server On A Pi 5

And lastly, my setup wouldn’t be complete without a Raspberry Pi 5-based NAS, which takes up two rack units. So I’ve got a Pimoroni NVMe base with a Lexar NM620 drive for storage. And alongside that is an I2C OLED display, which will display my stats script. You could also use a dual NVMe base for two storage drives. These are then all connected to an 8GB Raspberry Pi 5.

Lexar NM620 Drive For Storage
OLED Display and Cooler
Pi NAS 2U Tray For Storage

Now let’s get those installed in the rack. From the top down, I’m installing the router, then the switch, then the Pi NAS and lastly the Pi running Docker at the bottom.

Rack Units For 5 Inch Rack
Installing Hardware Into 5 Inch Rack

And my mini travel homelab is now complete.

Lab Rax Homelab Complete

There looks like there is lots of room around components for airflow. I’ll keep an eye on temps, and if they become an issue, it’ll probably be best to install a 60mm fan on the side panel blowing across the racks. 

Rear Has Plenty Of Space For Airflow

What I’ve Got Running On The 5″ Portable Pi Homelab

This little portable Pi homelab actually a really powerful stack for its size. Having its own OpenWRT router means that I can do anything I could have done with a travel router, but now automatically applied to my little homelab. I can create advanced firewall rules and have full control over my network’s DHCP and DNS settings.

OpenWRT Router Homepage
OpenWrt Firewall Settings

I’ve also got network-attached storage that allows me to share files and folders across all devices on the network, and can do automated backups and even cloud backups when the router is connected to the internet. 

OpenMediaVault Dashboard

And the Docker Pi is available to run any other services that I need locally when travelling. So I could have a completely offline and portable local network with all of my files, a media server and automated backups. 

Portainer Dashboard

It’s even got some cool monitoring dashboards available through a browser on the local network. There’s one through Netdata, and I’ve got another one running Prometheus and Grafana.

NetData Dashboard
NetData Dashboard 2
Grafana Dashboard

So that’s my new 5” portable homelab rack.

It’s small enough to travel with, but still powerful enough to run a full Pi-based homelab stack. 

Front Of 5 Inch Lab Rax Homelab
OpenWRT Router Running On A Pi 4

I’m curious, though, what would you put into a rack this small? Let me know in the comments section below because I’m already thinking about some upgrades for version 2.

Michael Klements

Michael Klements

Hi, my name is Michael and I started this blog in 2016 to share my DIY journey with you. I love tinkering with electronics, making, fixing, and building - I'm always looking for new projects and exciting DIY ideas. If you do too, grab a cup of coffee and settle in, I'm happy to have you here.