Mount OpenStack Swift on Linux — NetDrive's Experimental Build

4 min read provider-guide openstack linux
Alex
AlexPrincipal Engineer
Mount an OpenStack Swift container as an Ubuntu mount point with NetDrive's experimental Linux build. Keystone credentials, mount point setup, and verification steps.

A data engineering team running its own OpenStack cluster has analysis scripts on an Ubuntu box that all expect a plain filesystem path — open(), pandas.read_csv(), a grep across a directory of exports. The dataset actually lives in a Swift container, reachable only through Keystone-authenticated HTTPS calls. Rewriting every script to speak the Swift API isn’t worth it when the alternative is mounting the container at a regular path and letting existing tools read it unmodified.

NetDrive drive manager showing Google Drive, S3 and pCloud mounted as drive lettersMounted clouds appearing as native drives in Windows File Explorer

Mount OpenStack Swift on Ubuntu

NetDrive lets Google Drive, OneDrive, S3, SFTP, WebDAV and more appear as native drives on Windows and macOS — no syncing, no full downloads.

  • Swift containers appear at a regular Ubuntu mount point
  • Works with Keystone v2 and v3 authentication
  • Runs alongside S3, Wasabi, and 20+ other providers on the same install
WindowsmacOS
Download NetDrive for Linux →

Free trial. Lifetime and subscription plans available.

Why Mount Swift Instead of Scripting the API

OpenStack Swift’s own tooling — python-swiftclient or a direct REST call — is fine when you control the code doing the reading. It’s a worse fit for anything you don’t control: a legacy analysis pipeline, a tar job, or a colleague’s notebook that was never going to be rewritten around an object-storage SDK. NetDrive resolves file operations against the container through the mount point instead, so any process that opens a path works without changes.

NetDrive has supported OpenStack Swift since version 3.1, with HTTPS support added in 3.1.234 — Swift auth tokens should never travel over plain HTTP, so HTTPS is the expected setup on any current install. The recommended release across every platform, Linux included, is the current 3.19.7.

NetDrive mounting a cloud storage account as a local drive — the same core interaction the Linux build provides at a mount point

Installing NetDrive on Ubuntu

NetDrive’s Linux build ships through GitHub rather than Ubuntu’s package repositories:

  1. Go to github.com/NetDrive/installer and download the release for your Ubuntu version.
  2. Follow that repository’s release notes to install the driver component NetDrive needs before it can mount anything.
  3. Install the NetDrive package itself.
  4. Launch NetDrive — first run loads the driver component and may prompt for sudo.

The minimum supported version is Ubuntu 16.04, and this build carries the same experimental label NetDrive’s own comparison page applies across the board. Windows and macOS get the bulk of NetDrive’s testing; a Swift mount on Linux is a solid fit for a dev box or an analytics node, less so for an unattended production job you haven’t validated yourself first.

What You Need Before Connecting

Gather these from your OpenStack administrator or the cluster’s Horizon dashboard:

  • Auth URL — the Keystone identity endpoint, including the version path, e.g. https://keystone.example.org:5000/v3.
  • Username and Password — your OpenStack credentials (an application credential if your deployment issues those separately from Horizon logins).
  • Project / Tenant name — the project (Keystone v3) or tenant (v2) that owns the container.
  • Region — only needed if the cluster spans more than one region.
  • Container name — leave blank to mount the account root and list every container as a top-level folder, or name one container to mount it directly.

OpenStack Swift logo — the object storage component of the OpenStack platform

Step-by-Step: Connect OpenStack Swift on Ubuntu

  1. Open NetDrive’s Drive Manager and click + Add Drive.
  2. Select OpenStack Swift from the provider list.
  3. Enter the Auth URL, Username, Password, and Project/Tenant Name, plus Region and Container Name if they apply.
  4. Set a mount point — a path like /mnt/swift-data, or any empty directory you have write access to.
  5. Choose Network Drive for read-write access, or Read-only Drive if the box should never write back to the cluster.
  6. Click Connect. NetDrive authenticates and mounts the container at that path.

Confirm the mount from a terminal rather than trusting the GUI alone — worthwhile due diligence on an experimental build:

mount | grep swift-data
ls /mnt/swift-data

Confirming that a cloud drive connected successfully after mounting

If the listing comes back empty, give a large container a moment to populate its root before assuming something’s wrong; if it’s still empty after that, recheck the Auth URL and Project/Tenant name first — a mismatched project is the most common reason a Swift connection fails silently on the first attempt. For write-heavy jobs pushing processed output back to the container, NetDrive queues the transfer in the background instead of blocking the process that triggered it.

Background upload queue showing file transfer progress to a mounted cloud drive

Where the Linux Build Differs

  • Separate release cadence — the Linux driver component ships on its own schedule, independent of the Windows and macOS builds.
  • No apt integration — updates arrive as GitHub releases, not through apt upgrade.
  • Windows and macOS remain the hardened targets — NetDrive’s own guidance treats them as production-ready; Linux is labeled experimental until you’ve validated it against your own hardware and workload.

Wrap-up

Mounting OpenStack Swift on Ubuntu gets a Linux analytics box the same path-based access NetDrive provides on Windows and macOS, through an installer distributed on GitHub instead of apt. For the same provider on a more heavily tested platform, see Mount OpenStack Swift on Windows with NetDrive or Mount OpenStack Swift on macOS with NetDrive. For the broader picture of running NetDrive on Ubuntu, see NetDrive on Ubuntu Linux.

— Alex, NetDrive