All comparisons

Best ways to mount a Google Cloud Storage bucket as a file system (2026)

To mount a Google Cloud Storage bucket for read-mostly work, start with Cloud Storage FUSE (gcsfuse): it's free, supported by Google, and with its file cache on local SSD and parallel downloads it serves large and repeated reads quickly. If agents or apps need a real file system over the bucket, with in-place edits, atomic renames, locks and several machines writing, while every file stays an ordinary object at its key, use Archil. For pandas and DuckDB analytics you may not need a mount at all: DuckDB reads gs:// Parquet directly and fetches only the parts a query needs.

Updated . Competitor facts are from each vendor's own docs and pricing pages.

The short list

  1. Cloud Storage FUSE (gcsfuse): Best for read-mostly access to a bucket from Compute Engine or GKE, at no extra cost
  2. Archil: Best for agents and apps that need a real file system over an existing bucket, shared by many machines
  3. DuckDB httpfs and pandas with gcsfs (no mount): Best for read-only analytics on Parquet or CSV in a bucket, from one machine
  4. Filestore: Best for a fully POSIX NFS share inside Google Cloud, for data you're willing to copy out of the bucket
  5. Google Cloud Managed Lustre: Best for large AI and HPC jobs that need a parallel file system with very high throughput
  6. JuiceFS: Best for teams that want an open-source POSIX file system they run themselves, on Cloud Storage or another store
  7. rclone mount: Best for one machine that needs file access to Cloud Storage, or to several clouds at once

Side by side

OptionEdit existing filesRenameSeveral writersCachingFiles stay objects at their keysCost
Cloud Storage FUSE (gcsfuse)Reuploads the whole object; appends to files of 2 MB or more upload only the new dataAtomic folder rename on hierarchical-namespace buckets; directory rename not supported by default on flat bucketsDifferent objects are fine; on the same object the first flush winsPer-process file cache on local SSD, persistent disk or RAM; stat and list cachesYesFree; Cloud Storage operations and transfer
ArchilYes, random writes and appendsAtomic, files and directoriesUp to 5,000 clients per disk, coordinatedShared SSD cache replicated across zones, up to 1 hour after last access, plus an in-memory client cacheYes, synced in the background$0.20 per GiB-month of active data; $0.07 per GB to compute outside Archil on Developer and Team
DuckDB httpfs and pandas with gcsfs (no mount)Not a file system; DuckDB attaches database files in Cloud Storage read-onlyNot applicableNot applicableReads only the byte ranges a query needs; fsspec can cache files locally for pandasYesFree; Cloud Storage operations and transfer
FilestoreYes, NFSYesYes, NFS with file lockingNFS client cachingNo; a separate copy outside the bucketProvisioned capacity, from 100 GiB (zonal and regional tiers)
Managed LustreYes, POSIXYesYes, parallel file systemData lives on the Lustre instance; incremental import and export with Cloud StorageOnly what you exportProvisioned capacity, from 9,000 GiB, priced by throughput tier
JuiceFSYesAtomicYes, close-to-open consistencyLocal disk cache on each clientNo; blocks plus a metadata databaseOpen source; you run the metadata database
rclone mountOnly with --vfs-cache-mode writes or fullDirectory rename copies and deletes every objectNo coordination; others' changes appear after the directory cache expiresLocal VFS cache on one machineYes, uploaded on closeOpen source; Cloud Storage operations and transfer

What to look for

  • POSIX semantics: writes, renames, appends

    Cloud Storage stores whole objects. Cloud Storage FUSE reuploads a whole object when you change it, only appends to files of 2 MB or more efficiently, has no hard links or file locks, and renames directories atomically only in buckets with hierarchical namespace. Git, SQLite and many build tools need more than that; Archil, Filestore, Managed Lustre and JuiceFS provide it.

  • Small files and random reads

    Every uncached file open or read is a Cloud Storage request. Parquet reads are random: a query engine reads the footer, then the row groups it needs. Look for a cache that holds what was read (gcsfuse's file cache, Archil's SSD layer) or a reader that requests only byte ranges (DuckDB).

  • Several writers

    When two gcsfuse mounts write the same object, the first flush wins, and Google recommends against it. rclone doesn't coordinate writers either. Archil coordinates up to 5,000 clients per disk, and Filestore and Managed Lustre are shared file systems with locking.

  • Caching

    gcsfuse caches per process on each machine's local SSD, persistent disk or RAM, and the cache is lost on unmount. Archil keeps one shared cache on SSD servers replicated across zones, so a file one agent read is warm for every other client for up to an hour.

  • Whether the bucket stays readable

    gcsfuse, rclone, DuckDB and Archil keep each file as an object at its key, so BigQuery, Dataflow and gcloud storage keep working. JuiceFS stores numbered blocks only JuiceFS can read, and Filestore and Managed Lustre hold a separate copy.

  • Where it runs and what it costs

    Google doesn't charge to move data from a bucket to Google Cloud services in the same location, and charges $0.12 per GiB for the first 10 TiB a month leaving Google Cloud for most destinations. Open-source clients add nothing but Cloud Storage operations. Filestore and Managed Lustre bill provisioned capacity. Archil bills active data, plus data transfer to compute outside Archil on Developer and Team.

Each option in detail

1. Cloud Storage FUSE (gcsfuse)

docs.cloud.google.com

Best for: read-mostly access to a bucket from Compute Engine or GKE, at no extra cost

Cloud Storage FUSE is Google's open-source (Apache 2.0) FUSE adapter that mounts a bucket as a local file system on Linux, Compute Engine, GKE or on-premises machines. The tool is free; you pay for the Cloud Storage storage, operations and network transfer it generates. Its file cache keeps what you read on local SSD, a persistent disk or tmpfs, and with the cache on, parallel downloads fetch large files with several workers, which Google says can make model loads up to nine times faster. It offers close-to-open consistency.

Strengths

  • Supported by Google, on Compute Engine, on GKE through the Cloud Storage FUSE CSI driver, and on-premises
  • File cache with parallel downloads (on by default from version 2.12 when the file cache is enabled); cache-file-for-range-read fetches the whole file on a first random read, which helps repeated Parquet scans
  • Streaming writes, the default since version 3.0, upload new files sequentially without staging them on disk
  • Hierarchical-namespace buckets give atomic folder renames and 40,000 initial object reads per second, against 5,000 for flat buckets

Tradeoffs

  • Changing an existing file reuploads the whole object; no hard links and no file locking, so Google calls it unsuitable for version control repositories
  • Two mounts writing the same object: the first flush wins, and Google recommends against it
  • The cache belongs to one gcsfuse process on one machine and isn't kept across unmounts, so each VM warms its own copy
  • POSIX permissions don't apply; access is controlled by IAM. Google notes that caching reduces consistency and recommends read-only mounts when you cache

Best for: agents and apps that need a real file system over an existing bucket, shared by many machines

Archil mounts an existing Cloud Storage bucket as a POSIX file system without copying it. A managed SSD layer, replicated across zones, sits between the clients and the bucket: writes are durable when fsync returns, and Archil syncs changes back to the bucket as ordinary objects at matching keys, usually tens of seconds after the last write. Archil's public Google Cloud region is gcp-us-central1 (Iowa), with gcp-us-west1 and gcp-europe-west4 in preview; a disk there can be backed by your bucket and mounted from Compute Engine, GKE or anywhere else. Archil reaches the bucket with a Cloud Storage HMAC key.

Strengths

  • Random writes, appends, atomic file and directory renames, symbolic and hard links, flock and fcntl locks
  • Up to 5,000 clients per disk; one shared cache, so data one agent read is warm for every other client for up to an hour after last access
  • Up to 8 GiB/s of reads per client, with no cap on reads per disk; a prefetch API warms files before a job starts
  • Delete the disk and the objects stay in your bucket, under your control

Tradeoffs

  • On Developer and Team, data read out to your own Compute Engine or GKE machines costs $0.07 per GB; Enterprise private networking avoids it, and BYOC runs Archil in your own Google Cloud project
  • Archil's sandboxes and serverless tool calls run in its AWS regions; in Google Cloud they need BYOC (Enterprise). An AWS-region disk can be backed by a Cloud Storage bucket, but Google bills transfer out of Google Cloud for every read that misses Archil's cache
  • Bucket sync is asynchronous, and new objects written straight to the bucket can take minutes to appear on the disk
  • Mounting your own bucket needs Developer or above, and a disk that keeps files as ordinary objects in your bucket can't be checkpointed or branched

3. DuckDB httpfs and pandas with gcsfs (no mount)

duckdb.org

Best for: read-only analytics on Parquet or CSV in a bucket, from one machine

Analytics code often doesn't need a file system. DuckDB's httpfs extension reads gs:// paths directly once you create a TYPE gcs secret with an HMAC key, and on Parquet it fetches only the columns and row groups a query needs. pandas hands non-local URLs to fsspec, which uses gcsfs (BSD-3) for Cloud Storage; fsspec's simplecache:: prefix keeps a local copy for the session.

Strengths

  • Nothing to install beyond the libraries; no mount, no daemon
  • Range reads plus Parquet statistics mean a filtered query reads a small part of a large dataset
  • Files stay ordinary objects, readable by BigQuery and everything else

Tradeoffs

  • Not a file system: shell tools, ls, grep and libraries that expect paths can't use it
  • DuckDB attaches database files in Cloud Storage read-only, and needs an HMAC key rather than the VM's service account
  • No shared cache: every machine and every run fetches from the bucket again

Best for: a fully POSIX NFS share inside Google Cloud, for data you're willing to copy out of the bucket

Filestore is Google's managed NFS file server: NFSv3 on every tier and NFSv4.1 on the zonal, regional and enterprise tiers. Google lists file locking, hard links and POSIX compliance among the things it does that Cloud Storage FUSE doesn't, and many clients can mount one instance read-write. It doesn't mount a bucket; it holds its own copy of the data.

Strengths

  • Full NFS semantics with locking, so git, SQLite and build tools behave as on local disk
  • Managed by Google, with zonal and regional tiers

Tradeoffs

  • Data has to be copied in from the bucket and kept in step yourself
  • Billed on provisioned capacity whether you use it or not; zonal and regional instances start at 100 GiB, Basic HDD at 1 TiB, Basic SSD at 2.5 TiB

5. Google Cloud Managed Lustre

docs.cloud.google.com

Best for: large AI and HPC jobs that need a parallel file system with very high throughput

Managed Lustre is Google's fully managed parallel file system for AI and HPC, POSIX compliant, from 9,000 GiB up to 80.1 PiB and up to 10 TBps. It imports from and exports to Cloud Storage incrementally, with gcloud lustre instances import-data and export-data, rather than serving the bucket in place.

Strengths

  • POSIX file system with throughput tiers from 125 to 1,000 MB/s per TB, plus a dynamic tier
  • Throughput and IOPS are included in the capacity price

Tradeoffs

  • Minimum 9,000 GiB, billed on provisioned capacity even if unused
  • A copy of the data, moved by import and export jobs; changes reach the bucket only when you export them
  • Sized for clusters, not for one agent reading a dataset

Best for: teams that want an open-source POSIX file system they run themselves, on Cloud Storage or another store

JuiceFS (Apache 2.0) stores file data in an object store, including Cloud Storage with --storage gs, and metadata in a database such as Redis, PostgreSQL or TiKV. It's close to fully POSIX, with atomic renames, links and locks. Files are split into chunks and numbered blocks, so after writing through JuiceFS you can't find the original files in the bucket.

Strengths

  • Atomic renames, locks and close-to-open consistency across clients
  • Runs anywhere, with many storage backends

Tradeoffs

  • Can't mount data already in the bucket; it has to be written through JuiceFS
  • BigQuery, DuckDB and other tools can't read the files from the bucket
  • You run and back up the metadata database, or pay for JuiceFS Cloud

7. rclone mount

rclone.org

Best for: one machine that needs file access to Cloud Storage, or to several clouds at once

rclone (MIT) mounts any remote, including Cloud Storage, as a FUSE file system. With --vfs-cache-mode writes or full it supports normal file operations by staging files on local disk and uploading the whole file on close. It stores modification times in object metadata compatible with gsutil.

Strengths

  • Works with Cloud Storage, S3, Azure and dozens of other providers
  • The local VFS cache makes repeated reads fast

Tradeoffs

  • Without a VFS cache mode, writes are sequential only
  • No coordination between clients; other machines' changes appear only after the directory cache expires (5 minutes by default)
  • Empty directories can't be stored unless you turn on --gcs-directory-markers

For a 2 TB dataset with pandas and DuckDB

Run the agent's compute in the bucket's region first: Google doesn't charge to move data from a bucket to Google Cloud services in the same location, and charges $0.12 per GiB for the first 10 TiB a month leaving Google Cloud for most destinations, so reading 2 TB (about 1,860 GiB) from another cloud costs about $225 a pass. Store the data as Parquet if you can. 2 TB doesn't fit in pandas memory, so let DuckDB filter and aggregate and hand pandas the result.

Read-only, one machine: query the bucket directly. Create a DuckDB TYPE gcs secret with an HMAC key and run SELECT ... FROM read_parquet('gs://bucket/path/*.parquet') WHERE .... DuckDB uses Parquet metadata and HTTP range requests to download only the columns and row groups the query needs, and .df() turns the result into a pandas DataFrame. Nothing else to set up.

Read-only, but the agent wants paths (ls, grep, scripts that open files): mount with Cloud Storage FUSE, read-only, with the file cache on a local SSD big enough for the working set and cache-file-for-range-read on so repeated Parquet scans hit local disk. This is free apart from the Compute Engine local SSD.

Several agents or VMs share the dataset, or the agent writes intermediate files, notebooks or DuckDB databases next to the data: use an Archil disk backed by the bucket. One shared cache serves every agent, writes are durable on fsync, and results sync back to the bucket as normal objects. Put the bucket in us-central1 and the disk in gcp-us-central1. On Developer and Team, reading to your own VMs costs $0.07 per GB, about $140 for a full pass over 2 TB, and keeping all 2 TB (about 1,860 GiB) active costs about $0.51 an hour at $0.20 per GiB-month. Most filtered DuckDB queries read far less. Enterprise private networking or BYOC removes the transfer charge.

If the questions are SQL over tables rather than an agent poking at files, BigQuery can query Parquet and CSV in Cloud Storage as external tables, and Google recommends BigLake tables where possible.

Where Archil runs on Google Cloud

Archil disks run in Google Cloud in the public gcp-us-central1 region, with gcp-us-west1 and gcp-europe-west4 in preview. Active disk data stays in the cloud and region you choose for the disk, so a gcp-us-central1 disk reads a us-central1 bucket without leaving the region. Archil's sandboxes and serverless tool calls run only in its AWS regions; a gcp-us-central1 disk works for storage, but exec on it returns Exec is not enabled.

Transfer from Archil to compute outside Archil, such as your own Compute Engine VMs, is $0.07 per GB on Developer and Team, and free to Archil sandboxes and tool calls. Enterprise customers can use private networking to avoid Archil's transfer charges, or run Archil with BYOC inside their own Google Cloud project, where disks, sandboxes and serverless execution can all run and disk data never leaves your environment. See region availability and BYOC.

Which one should you use?

If you needPick
Free, read-mostly access to a bucket from Compute Engine or GKECloud Storage FUSE with the file cache
SQL or pandas over Parquet in a bucket, from one machineDuckDB reading gs:// directly
Git, SQLite, editors or in-place edits on files in an existing bucketArchil
Many agents or VMs sharing one warm copy of a dataset and writing resultsArchil
A fully POSIX NFS share inside Google Cloud, data copied out of the bucketFilestore
Cluster-scale AI or HPC throughput on 9,000 GiB or moreManaged Lustre
An open-source file system you run yourselfJuiceFS
One machine with access to several cloudsrclone mount

Questions people ask

How do I mount a Google Cloud Storage bucket as a file system?

Install Cloud Storage FUSE and run gcsfuse my-bucket /path/to/mount (add -o ro for read-only), or use the Cloud Storage FUSE CSI driver on GKE. Turn on the file cache, on local SSD if you have one, for faster repeat reads. If you need in-place edits, atomic renames, locks or several writers, mount the bucket through Archil instead.

What are the best alternatives to Cloud Storage FUSE (gcsfuse)?

Archil for full POSIX semantics and a shared cache over the same bucket; DuckDB or gcsfs for analytics without a mount; Filestore for an NFS share inside Google Cloud; Managed Lustre for cluster-scale throughput; JuiceFS for a self-hosted POSIX file system; rclone mount for single-machine, multi-cloud access.

How can my agent analyze a 2 TB dataset in Google Cloud Storage with pandas and DuckDB?

Run the agent in the bucket's region and let DuckDB read the Parquet files with read_parquet('gs://...'), pushing filters and aggregations down before handing results to pandas, since 2 TB won't fit in memory. If the agent needs file paths, mount the bucket read-only with Cloud Storage FUSE and a local SSD file cache. If several agents share the data or write results back, use an Archil disk backed by the bucket.

Can I write files or run git and SQLite on a gcsfuse mount?

You can write files, but changing an existing file reuploads the whole object, and gcsfuse has no hard links or file locking, so Google says it isn't suitable for version control repositories. Archil, Filestore, Managed Lustre and JuiceFS support the operations git and SQLite need.

Does Archil support Google Cloud Storage, and does it run in Google Cloud?

Yes. Archil disks can be backed by a Cloud Storage bucket, using an HMAC key, and Archil runs disks in Google Cloud in gcp-us-central1, with gcp-us-west1 and gcp-europe-west4 in preview. Archil's sandboxes and serverless tool calls run in its AWS regions, or anywhere with BYOC on Enterprise.

Will I pay egress to read my bucket?

Not to Google, if your compute or Archil disk is in the bucket's location. Google charges $0.12 per GiB for the first 10 TiB a month leaving Google Cloud for most destinations, which applies when compute in another cloud reads the bucket. Archil charges $0.07 per GB to deliver data to your own machines on Developer and Team; Enterprise private networking or BYOC avoids it.

Should I use Filestore or Cloud Storage FUSE?

Cloud Storage FUSE reads the bucket in place and costs nothing extra, but has limited write semantics. Filestore is a full NFS file system with locking, but holds its own copy of the data and is billed on provisioned capacity. Archil sits between them: full POSIX over the bucket itself.

Can BigQuery and other tools still read the bucket after I mount it?

Yes with Cloud Storage FUSE, rclone, DuckDB and Archil, which keep every file as an object at its key; Archil syncs writes back in the background. Not with JuiceFS, which stores blocks only JuiceFS can read, and Filestore and Managed Lustre keep a separate copy.

How we chose

We compared the ways people give agents and applications file access to Cloud Storage, on what each documents about POSIX operations, writes, renames, multi-client behavior, caching, bucket format and cost. Competitor facts come from Google Cloud's documentation and pricing pages for Cloud Storage FUSE, Cloud Storage, Filestore, Managed Lustre and BigQuery, from DuckDB's, pandas', gcsfs', rclone's and JuiceFS' own docs, and from the projects' GitHub repositories. Archil facts come from docs.archil.com. Archil makes Archil. We rank Cloud Storage FUSE first because, for read-mostly work inside Google Cloud, it's free and good enough; Archil is the pick when you need full POSIX semantics or one cache shared by many machines.