I have a couple of 2U racks vertically mounted behind a door.
Takes up zero usable space!
It took me way too long to realize this option - many builds using miniture casings with cooling issues later, when buying large 2U cases with 120mm fan walls is the ticket.