Problem: Mount fails with “No such file or directory”
archil mount. Create it first:
Problem: Mount fails with permission denied
The Archil client cannot authenticate against the disk. This usually means the disk token is wrong or has been regenerated, or the IAM role is not listed as an authorized disk user.Problem: Mount hangs or times out
The client cannot reach the Archil control plane. Common causes are a wrong region, a network connectivity issue, or DNS resolution failure.Problem: Files not appearing in S3
This is expected behavior. Archil provides eventual synchronization consistency between the disk and the backing data source. Writes sync to S3 within a few minutes, not instantly.Problem: Another client cannot write to files
Only one Archil client can have write ownership (a “delegation”) over any given file or directory at a time. When a client mounts without--shared, it checks out the entire root, blocking all other clients from writing. Mounting that same disk from a second location will also fail outright, since the first client holds the root delegation — pass --shared on every mount to allow concurrent access.
Solutions:
Problem: Permission denied when accessing files
This is expected. The Archil FUSE client mounts as root, so all files start with root ownership.Problem: There’s a .archil directory at the root of my mount
Every Archil disk has a hidden .archil/ directory at its root. Archil uses it to hold data that still needs to exist on the disk but is no longer reachable through the normal filesystem — most commonly, files that have been unlinked while a client still has them open. POSIX requires those files to keep working until the last handle is closed, so Archil parks them under .archil/ until they can be reclaimed.
The directory and its contents synchronize back to your backing S3 bucket along with the rest of the disk, so you’ll see a .archil/ prefix there as well. The exact layout is an implementation detail and may change between releases. Treat it as opaque: don’t read from, write to, or delete anything inside .archil/, either on the mount or in S3.
Problem: Data not appearing after writing to S3 directly
Objects created directly in S3 (or another backing store) are subject to eventual synchronization consistency. It can take a few minutes for new objects to appear on the Archil disk. To get faster updates, reduce the directory cache expiry:Lower cache expiry values improve freshness but increase the number of requests to the Archil server, which may affect read performance.
Problem: SDK connection fails
The TypeScript SDK cannot connect to the disk. Check the following:- Credentials — Ensure a valid disk token is set in
ARCHIL_DISK_TOKEN, or that IAM credentials are available (e.g., running on EC2 with an attached role). Note that a disk token is different from a Control Plane API key. - Disk name — Use the owner-qualified format
org/disk-name, not just the disk name alone. - Region — The region string must match exactly (e.g.,
aws-us-east-1, notus-east-1). - Node.js version — The native module requires Node.js 18 or later.