● Granary · distributed filesystem

A whole tree.
One atomic publish.

One namespace across the machines that need it. Content-addressed data is reused; readers see the complete new tree—or keep seeing the old one.

grain → bin → manifest → root/toolchains/rust/stableatomic_publish()content_addressed
adrian@lab — ~/src/granary

~/src/granary main

❯ ▋

273d27a merge: mountinfo fuzz replay

~/src/granary main

❯ ▋

PASS fuzz_corpus_replay::the_committed_corpus_replays_clean

PASS fuzz_corpus_replay::corpus_covers_selected_rows_and_refusals

✓ 7 tests passed · committed corpus replayed

~/src/granary main

❯ ▋

#10000 DONE

✓ mountinfo_body · no crashes

GranaryFS · RustATOMIC PUBLISH · FUZZ REPLAY
01 / PUBLISHWhole-tree publicationGrains become manifests; a signed root makes the complete tree visible in one step.
Adrian Ana

01 / CURRENT WORK

Filesystems.
Clients. Identity.

All projects ↗
grnaryGranaryFSHarvest
OpenAFS Windows client About and Sign-in interfacesOpenAFS Windows client About pageView full size ↗

Harvest

Start with the software tree.

I’m building GranaryFS in Rust to distribute software across many machines. File content is split into grains, each identified by its BLAKE3 hash.

Pack

Reuse content that already exists.

Grains are packed into bins while retaining their content identities. A client can reuse unchanged content across versions instead of fetching it again.

Name the tree

One root identifies the version.

A manifest describes the paths, metadata, and content references. A signed root identifies the complete software tree.

Publish

Publish a complete tree.

Once the new tree is ready, its root is published atomically. Readers continue with their existing tree or switch to the complete new version.

Clients

The same software. The same path.

Build machines, lab systems, and other clients share a global namespace. Each client can refresh independently, without every machine updating at once.

More about GranaryFS

Windows client

A native interface for OpenAFS.

I built a Windows UI for the existing OpenAFS client, bringing sign-in, mounts, settings, service controls, and diagnostics into one application.

Sign-in

See and manage your access.

The UI shows cell sign-in state and Kerberos credentials, with controls for renewal and Windows sign-in settings.

Files and mounts

Manage mounts. Open your files.

Configure AFS mounts, open their paths in Explorer, and reach common actions from the tray.

Cloud Files research

A smaller failure boundary.

Separately from the UI, I’m developing a userspace Cloud Files path. The aim is to isolate integration faults and simplify updates while working toward parity with the driver-backed client.

On-demand content

Open a file. Fetch what it needs.

Windows presents local NTFS placeholders. CFAPI requests missing content from the provider; the planned afsd read service remains responsible for AFS access checks and data.

Recovery

The source disconnects. Local content stays.

Already hydrated bytes stay local. Requests for missing content fail explicitly until the source returns. Current development tests exercise this behavior with generated data.

More about the Windows work

Account Events

Login history with your own token.

I built Account Events so an application can show a user’s sign-ins, failed logins, and logouts without receiving a realm-wide administrator credential.

Explore Account Events

Account Credentials

Manage your own credentials.

Account Credentials exposes the caller’s credential metadata without returning secrets. Removal applies permission checks and the configured recent-authentication and step-up policies.

Explore Account Credentials

Event Enrichment

Give sign-in events useful context.

I wanted GeoIP lookups and User-Agent parsing to happen once in Keycloak. Event Enrichment attaches available location and device details before events are stored.

Explore Event Enrichment
Selected work

01 / HARVEST

DISTRIBUTED FILESYSTEM · SOFTWARE DISTRIBUTION

Start with the software tree.

GranaryFS delivers software trees across many machines. A publish begins by splitting file content into grains and naming each grain by its BLAKE3 hash.

Content gets a stable identity, independent of its filename or location.

Open the project file ↗
HOW GRANARYFS PUBLISHES SOFTWARE01 / HARVEST

A signed root identifies the complete software tree.

03 / BLOG

Projects, ideas,
and the details.

Project updates, technical articles, and other things I’m working on.

Browse the blog
ARTICLES & PROJECT UPDATES

No published posts yet.

This is where I’ll share the work behind the projects, from implementation details to lessons learned.

Visit the blog

04 / PHOTOGRAPHY

Away from
the terminal.

Wildlife, landscapes, sports, and portraits.

View the galleries ↗
An American bison grazes in golden grass with forest and mountains beyond.
A bald eagle banks against a pale blue sky with wings raised and talons extended.
A fluffy white swan cygnet stands on the muddy edge of a pond.

Cookie preferences

Choose whether to share visit statistics with Google Analytics. I use them to understand this site’s traffic, not to serve ads.

Analytics cookies

Page visits, scrolling, public link clicks, and downloads. Check your current setting below.

Global Privacy Control keeps analytics off when enabled.

Turning analytics off stops future collection and removes this site’s analytics cookies. It does not delete information already sent to Google.

What stays in this browser?

Your theme, motion preference, and cookie choice. These settings work with analytics off. An allow choice lasts up to six months; an opt-out stays until you change it or clear browser storage.

When enabled, this integration sets Google Analytics cookies (_ga and _ga_<ID>) to expire after 30 days.

Read the privacy & cookie policy