Attach or detach object store buckets using the CLI
This page describes how to attach or detach object store buckets to or from filesystems using the CLI.
Using the CLI, you can:
Attach an object store bucket to a filesystem
Command: weka fs tier s3 attach
To attach an object store to a filesystem, use the following command:
weka fs tier s3 attach <fs-name> <obs-name> [--mode mode]
Parameters
Name | Value | Default |
---|---|---|
| Name of the filesystem to attach with the object store. | |
| Name of the object store to attach. | |
| The operational mode for the object store bucket. The possible values are:
|
|
Detach an object store bucket from a filesystem
Command: weka fs tier s3 detach
To detach an object store from a filesystem, use the following command:
weka fs tier s3 detach <fs-name> <obs-name>
Parameters
Name | Value |
---|---|
| Name of the filesystem to be detached from the object store |
| Name of the object store to be detached |
To recover from a snapshot uploaded when two local
object stores have been attached, use the --additional-obs
parameter in the weka fs download
command. The primary object store should be the one where the locator has been uploaded to