CrushMFT Documentation

S3-compatible storage#

Many storage products and services speak the protocol of Amazon S3: MinIO, Ceph, Wasabi, Cloudflare R2, DigitalOcean Spaces, NetApp StorageGRID, Dell ECS and others. The item type S3 of a VFS works with them. Everything on Amazon S3 holds; this page is about what differs.

CrushMFT itself can be such a storage: it has an S3 server of its own. One CrushMFT server can so use another as S3 storage.

The address#

The Server list of the dialog holds Amazon's endpoints. For other storage, type the address into URL yourself:

s3://ACCESSKEY:SECRETKEY@storage.example.com/bucket/folder/
Part What it is
the host the endpoint of your storage, with a port if it has one: storage.example.com:9000
the first folder the bucket
the rest a folder in the bucket

The connection is made with HTTPS, with one exception: a port of 80, 8080, 9090, or any other that ends in 80, is spoken to with plain HTTP. The storage's certificate must be trusted by the server: for a product in your own network with a certificate of your own authority, see SSL.

Settings that usually matter#

Setting For compatible storage
Use bucket in the path turn it on. Amazon puts the bucket into the host name (bucket.host); most other storage wants it in the path (host/bucket), and a host name per bucket would need DNS and certificates for each.
SHA256 enabled on signing (Signing Version 4) leave it on (a new item has it): without it requests are signed with the old Version 2, which most current storage refuses
List version 2 either works on most products; try the other when listings fail or come back empty
Don't check bucket at login on, when the key may only use this one bucket
Fast S3 item lookup leave it on; turn it off only if single files are "not found" although they are listed
Canned ACL, Storage class, Server Side Encrypt?, Accelerate features of Amazon. Leave them as they are unless your product says it supports them; some products refuse requests that name a storage class they do not know.
Assume Role ARN, Web Identity ARN, Roles Anywhere, iam_lookup Amazon's ways of logging in. Use an access key.

Region#

A Version 4 signature names a region, and storage that checks it refuses a wrong one. The server does not ask you for the region: it reads it from the host name, as the part between s3. and the next dot.

Host in the address Region used
s3.eu-central-1.amazonaws.com eu-central-1
s3.us-east-1.storage.example.com us-east-1
a Cloudflare R2 or Google endpoint auto
an Oracle Cloud endpoint the region in its name
storage.example.com not a region: the letters after the third, up to the first dot

For storage that checks the region, give its endpoint a name of the form s3.REGION.…, in DNS or in the machine's hosts file, and use that name in the address. Most products are set up with us-east-1 unless you chose another.

Trying it#

  1. Make the item with Use bucket in the path on.
  2. Press Test: it logs in and lists.
  3. With a test user, upload a small file and a large one (more than 100 MB, to see the upload in parts work), rename one, delete one.

Renames and uploads in parts are where products differ most. Test them before users depend on them.

When it does not work#

What you see Usually
the host bucket.storage.example.com cannot be found Use bucket in the path is off
"SignatureDoesNotMatch" the secret key; the clock; or the signing options above
a certificate error the storage's certificate is not trusted, or is issued for another name
large uploads fail at the end the product's limits for the number or size of parts: change Upload Buffer under Multithreaded S3 Uploads?
"NotImplemented" an option the product does not have: ACL, storage class, encryption