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.
Last updated
This page describes how to attach or detach object store buckets to or from filesystems using the CLI.
Last updated
Using the CLI, you can:
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
Type
Value
Limitations
Mandatory
Default
fs-name
String
Name of the filesystem to be attached to the object store
Must be a valid name
Yes
obs-name
String
Name of the object store to be attached
Must be a valid name
Yes
mode
String
local
or remote
A local
bucket can only be attached as local
and a remote
bucket can only be attached as remote
No
local
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
Type
Value
Limitations
Mandatory
Default
fs-name
String
Name of the filesystem to be detached from the object store
Must be a valid name
Yes
obs-name
String
Name of the object store to be detached
Must be a valid name
Yes
Note: To that has been uploaded when two local
object stores have been attached, use the --additional-obs
parameter in weka fs download
command. The primary object-store should be the one where the locator has been uploaded to