How to rack mount a Raspberry Pi in a 10 inch rack

There are four ways to do it, they cost you different amounts of rack space, and the interesting part isn't the mount at all. It's the gap either side of the Pi once it's in.

First, decide which way it's facing

Before you pick a mount, decide which way round the Pi is going to sit, because it changes which mount you want. Ports at the front means you can plug and unplug without going round the back, and it means you're looking at a USB cable every day. Ports at the back looks better and makes every change a two handed job with a torch. Neither is wrong. Pick one before you buy, because most mounts only do one of them.

The four ways to mount a Pi

Four options, and the right one depends more on how often you'll touch the thing than on what it costs.

A purpose made Pi mount

A plate or a tray drawn specifically for the Pi's mounting holes, so the board bolts to it and it bolts to the rack. Tidiest result, least thinking, and the board is held by the four holes it was designed to be held by. How much rack space it takes varies by maker, so check that before you assume it's one U.

A shelf

The Pi sits on it, loose or on standoffs, along with anything else small you've got. It's the cheapest way to get several things in at once and the most forgiving when your kit changes every few months. It costs you the shelf's own U plus the space above whatever's standing on it, which is more than people expect.

A tray or a sled

Same idea as a shelf except it pulls out, which is the difference between unplugging everything to get at an SD card and not. Worth it if you fiddle. Depth matters more here than anywhere else, so measure the inside of your rack front to back before you order one.

A printed bracket

Printables, Thingiverse and MakerWorld are full of 10 inch rack parts, given away by people who drew them in their own evenings. Cube Rack, Lab Rax and Mod10 are the names you'll meet first, and if somebody has drawn a mount for your board it'll be on one of those sites. If you own a printer that's a good evening. If you don't own one, this option quietly isn't one.

The real subject is the gap either side

Here's the bit the photos don't prepare you for. A Raspberry Pi is a small board. A 10 inch rack unit is a lot wider than it is. Mount the Pi in the middle and you've got a strip of open rack on the left and another on the right, and you can see straight through into the cables.

That's usually the moment somebody decides their rack looks a mess and spends an evening redoing the cable management, which isn't the problem. The problem is that you're looking through the front of the rack into the back of it.

Three ways out. Put something else in the same U, which works if you've got two small things and a mount that holds both. Use a mount with a full width face, so the front of the U is closed by the mount itself. Or close the U's you're not using, so the eye stops at the front of the rack instead of travelling into it.

What goes in the U above and the U below

Once the Pi's in, the U's around it are worth two minutes of thought. Anything with a fan, or a case that vents out of the front, wants the U above it left open or filled with a vented panel rather than a blank. Ours isn't finished yet, and there's a list you can join for the day it is.

Everything else gets closed. A blanking panel in a small home rack does four things and only one of them is about air. It puts the front of the rack back. It keeps dust off the boards. It keeps fingers and cables out of an open U. And it makes the whole thing read as one flat surface rather than a shelf of holes. In a rack with a Pi in it, the last one is doing most of the work, and there's nothing wrong with that.

The build order most people land on is the heavy things low down, anything warm with air above it, and blanks in the gaps until there's something real to put there.

See the 1U blanking panel

Will any of it fit your rack

Ten inch racks don't all agree with each other. There's no official standard for the format, so the thing to check before you buy a mount, a shelf or a panel is the spacing between the mounting holes on your rails. It takes two minutes with a tape measure and it's the only number that decides anything.

If your tape says something odd, send us a photo of the rails instead. We'd rather answer a question than take a return.

The two minute check with a tape measure

More of these as we write them

We're Jon and Steve, we make parts for 10 inch racks in Tewkesbury, and we write these up as we work them out. There's a vented panel on the bench, our own rack now on sale, and one email when something's finished. That's the whole list, and one click stops it.

Tell me when the next one lands

Check your rack in two minutes

Before you go

Every guide here exists because somebody emailed and asked. If yours is not answered, ask it, and one of the two of us will answer.

Check it fits your rack Tell me when the next product lands