Skip to main content

hone-drive

CI

A storage dashboard for AI developers. Find out what is filling your disks (Ollama, ComfyUI, Hugging Face, Docker, package caches), how fast each drive really is, how long your own models take to load from each one, and get a step-by-step plan, with the exact commands for your system, to free space. Move the models you don't need now to an external SSD and bring them back when you do, with every copy checked byte for byte before anything is removed. Linux, macOS and Windows. Runs locally, works offline, needs no administrator rights, and changes nothing unless you ask it to.

Part of honeworks: small, standalone tools for reliable generative-AI workflows.

The overview: a headline, a card per drive, the plan and the biggest things on disk

Why this exists

If you run models locally, your disk fills up fast. A few dozen Ollama models, a ComfyUI install with video models, a Hugging Face cache, Docker images and a uv cache add up to hundreds of gigabytes. The day the disk is full, you buy an external SSD, and the questions start:

  • Where did the space go? The usual tools miss the biggest folders. Model servers run as their own user (Ollama on Linux keeps its models in /usr/share/ollama, which your user can't read), Docker hides its images behind root, and du quietly skips what it can't open. On the machine this tool started from, a normal scan found 424 GB of an 830 GB disk. The missing 362 GB were Ollama models.
  • Is the new drive fast enough for models? The box says 2,000 MB/s. On that machine the drive connected at 10 Gbps instead of 20, on both ports tried, and read at 1 GB/s. Nothing on screen said so, or that a cable might be the cause.
  • How much slower will my models load? You want the answer in seconds for your models, not in MB/s at queue depth 32. Many quick benchmarks also measure RAM instead of the drive, because they don't bypass the operating system's cache.
  • Is my internal drive OK? A nearly full SSD writes slowly. The internal drive in that session read at 3 GB/s but wrote at 0.17 GB/s at 89% full, five times slower than the external drive.
  • What should I move, and how? Every tool has its own setting for where models live (OLLAMA_MODELS, HF_HOME, ComfyUI's extra_model_paths.yaml, LM Studio's folder). Some caches must stay on the same drive as your projects. An exFAT drive can't hold files owned by the Ollama service user. Most people learn this by breaking something.

Answering those questions took an afternoon of shell commands, sudo round trips and two wrong guesses. hone-drive answers them in a minute. The full story, with every measurement, is in design/history/0000-research.md.

What it does

  • Finds every drive and how it's connected. Internal and external, NVMe, SATA, USB and Thunderbolt, with the speed the connection actually negotiated against what the port can do: "connected at 10 Gbps on 1 of 2 lanes; this port can do 20 Gbps".
  • Shows what fills each drive. Ollama (through its local server when its folder belongs to another user), Hugging Face, ComfyUI (including extra_model_paths.yaml), LM Studio, llama.cpp, Docker (including the containerd image store), and about a dozen package caches (uv, pip, npm, pnpm, conda, PyTorch hub, Whisper, Playwright, pacman, apt, dnf, Homebrew). Files shared between two model names are counted once.
  • Finds the space nobody can see. An optional walk compares what your user can read with what the drive reports as used, and says where the rest is probably hiding and which command would measure it.
  • Measures real speed. Sequential write and read, a long write that shows when a drive's fast cache runs out, random reads, and reads of your own model files, always with the operating system's cache bypassed, so the numbers are the drive's and not your RAM's.
  • Speaks in seconds. "gemma4:31b loads in about 6.5 s from the internal drive and 19 s from the PNY." Only loading gets slower on a slower drive: once loaded, a model runs just as fast.
  • Gives you a plan. Ordered steps (clean caches, prepare the external drive, move model folders, get full speed), each with what it frees and the commands for your system to copy. hone-drive never runs them.
  • Moves models to a drive and back. Tick models on the Models screen and move them to your external drive: each is copied, read back from the drive and compared with SHA-256, and only then removed from your computer. Click "Bring back" when you need one again; the drive keeps its copy, so moving it out again later takes a second. Works with Ollama, ComfyUI, Hugging Face, LM Studio, llama.cpp and your own folders. A model that is loaded or open is left alone, and when hone-drive can't reach a tool's folder (Ollama's service folder on Linux), it shows you the one command that fixes it.
  • Keeps history and makes reports. Compare two scans after changing a cable or freeing space. Share a report with serial numbers, user and computer names removed.
The plan: findings, then ordered steps with checkboxes Drives and speed compared
Every model with its load time from each drive What fills each drive

Install and run

With uv, run it straight from PyPI:

uvx hone-drive

That opens the dashboard in your browser. Click Scan this computer, then Test all drives. To install it instead:

uv tool install hone-drive
# or: pipx install hone-drive
hone-drive

Python 3.11 or newer. It depends only on psutil and pydantic, and uses nothing but the tools your operating system already has (nvidia-smi and Docker are used when present).

The command line

Everything in the dashboard is also a command; add --json for machine-readable output.

hone-drive                                # the dashboard (127.0.0.1, a free port)
hone-drive scan                           # drives, connections, volumes and what fills them
hone-drive scan --account --duplicates    # also find hidden space and duplicate files (slower)
hone-drive bench --tests seq,model        # measure your home drive and every external drive
hone-drive bench /mnt/models --size 8G    # measure one drive with a bigger test file
hone-drive shelf                          # which models are on which drive, connected or not
hone-drive shelf move gemma4:31b --dry-run   # what moving it would do; nothing changes
hone-drive shelf move gemma4:31b          # copy to the external drive, check it, remove it here
hone-drive shelf restore gemma4:31b       # bring it back (the drive keeps its copy)
hone-drive shelf check                    # can hone-drive reach each tool's folder? the fix if not
hone-drive advise                         # the plan, with commands for your system
hone-drive compare 20261018T193558Z-b61168   # what changed since an earlier scan
hone-drive report > report.md             # a report to share, private details removed
hone-drive runs                           # stored scans, newest first

Example output of hone-drive scan on the machine it was built on:

nvme0n1: WD PC SN560 SDDPNQE-1T00-1102 · 1.0 TB · nvme, internal · PCIe 4.0 x4
sda: PNY RP60 PSSD · 1.0 TB · usb-ssd, external · 10 of 20 Gbps, 1 of 2 lanes  ← LIMITED

/: ext4 · 892 GB used of 1.0 TB (89%) · 61.7 GB free
/run/media/user/PNYRP60PSSD: exfat · 2.2 MB used of 1.0 TB (0%) · 1.0 TB free

   388 GB  Ollama models  /usr/share/ollama/.ollama/models (via the Ollama server: its folder is not readable)
   123 GB  ComfyUI models  ~/ComfyUI/models
  95.6 GB  Package and tool caches  several folders
  43.7 GB  Docker  /var/lib/containerd

Use it from Python

from pathlib import Path
from hone_drive import BenchOptions, advise, bench, load_time, scan

run = scan()  # drives, volumes and stores, in seconds
run = bench(run, [str(Path.home()), "/mnt/models"], ["seq", "model"], BenchOptions(size=4 * 1024**3))
for item in advise(run, str(Path.home())):
    print(item.severity, item.title, item.gain.bytes_freed)

model = next(i for s in run.stores if s.id == "ollama" for i in s.items)
print(load_time(model, "/mnt/models", run))  # seconds, a range, and what it is based on

hone_drive.testing has FakeProbe, recorded machines and a contract checker for tests of your own.

What it will never do

  • Change anything you didn't ask for. It never formats or mounts, and the plan's commands are for you to read and run. It moves models only when you click Move or Bring back, and removes a file only after its copy was read back and matched byte for byte; a stop, a crash or a pulled cable leaves every model whole in at least one place. Removing a model from the drive asks you to type its name when the drive holds the only copy. Otherwise the only file it writes outside its own data folder is the benchmark's temporary file, removed afterwards (if the process is killed, the next run cleans it up).
  • Need administrator rights. When a folder can't be read, it says so and shows the command that would measure it, or the one that lets you move its models; it never runs either. It never counts an unreadable folder as empty.
  • Guess. A fact the operating system can't provide is shown as unknown, with the reason. Every speed is measured and labelled with how the cache was bypassed, or marked as an estimate with what it's based on.
  • Send anything anywhere. No telemetry and no network access: the dashboard is served on 127.0.0.1 only, refuses other host names, and accepts changes only from its own page.
  • Fill your drive. A write test checks for room first and stops if free space falls under 2 GB.

Platform support

Linux macOS Windows
Drives, volumes, usage yes (sysfs) yes (diskutil) yes (storage cmdlets)
Connection speed and lanes USB, Thunderbolt, PCIe, SATA USB, NVMe not reported by Windows
Benchmarks with the cache bypassed O_DIRECT F_NOCACHE FILE_FLAG_NO_BUFFERING
Tested on a real laptop in CI on GitHub's macOS runners in CI on GitHub's Windows runners

The macOS and Windows code is tested against hand-written fixtures and on CI runners, not yet on a real Mac or PC with an external drive. If you run hone-drive on a Mac or a PC, a recording of your machine helps a lot: python -m hone_drive.testing my-machine.json records what the probe sees with serial numbers, UUIDs and names replaced. Please open an issue with it.

Questions

Why is my USB SSD stuck at about 1 GB/s? A 10 Gbps USB connection carries about 1.05 GB/s. If the Drives screen says the port can do 20 Gbps, try the cable that came with the drive (20 Gbps needs a full-featured USB-C cable), plug it in without a hub or adapter, then scan again.

Will my models run slower from an external drive? Only loading is slower. Generation runs from GPU memory and RAM. A model you loaded recently may even load from the operating system's cache.

Should I keep the drive as exFAT? Only if you move it between Windows, macOS and Linux. For a drive that stays with one machine, use its native filesystem (ext4, APFS, NTFS): exFAT can't store file owners, links or a journal, and a service such as Ollama on Linux can't own its files there.

Where are scans stored? In ~/.local/share/hone-drive on Linux (or $XDG_DATA_HOME/hone-drive), ~/Library/Application Support/hone-drive on macOS and %LOCALAPPDATA%\hone-drive on Windows (or HONE_DRIVE_HOME). They never leave your computer unless you share a report.

Development

uv sync --all-extras
scripts/check.sh            # lint, format, types, tests with coverage, build, wheel smoke test
uv run hone-drive           # the dashboard from your checkout

Read CONTRIBUTING.md first; contributors using AI coding tools will find a brief in AGENTS.md. The design is in design/current.md, and every design change has a record in design/changes/.

How this was built

Specified by a human; designed and built by AI against a written design and tests; every decision reviewed by a human. The design history is in design/changes/ and design/decisions.md; the session that started it is in design/history/0000-research.md.

License

Apache-2.0.

Metadata

Release files for hone-drive 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hone-drive 0.1.0
File Size Uploaded Provenance Actions
hone_drive-0.1.0.tar.gz 913.4 kB With provenance Details for hone_drive-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hone-drive 0.1.0
File Interpreter ABI Platform Actions
hone_drive-0.1.0-py3-none-any.whl Python 3 none any Details for hone_drive-0.1.0-py3-none-any.whl

Total release size: 1.1 MB

Release files / hone_drive-0.1.0.tar.gz

Download URL hone_drive-0.1.0.tar.gz
Size 913.4 kB
Tags Source
SHA-256 checksum
How to use checksums
48dcdccbbb39c1d09a2b67152af936e2e59df9329b7cb4a2c3f322a967f10c74
BLAKE2b-256 checksum
How to use checksums
f5339ce9cf75629013eaea4f828de3bb7800e114bfbba05003c23999118c2e5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / hone_drive-0.1.0-py3-none-any.whl

Download URL hone_drive-0.1.0-py3-none-any.whl
Size 141.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8fa4055c0decb068d95f17fc126db676fb23e5f25c829a5b60ac802c9c1296d
BLAKE2b-256 checksum
How to use checksums
c4a77d261e4ebd07b2e078a0179f79948b378d1e21f047672f205c4d0e5f7fe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for hone-drive 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hone_drive-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page