# Attach or detach object store bucket using the GUI

Using the GUI, you can:

* [Attach object store bucket to a filesystem](#attach-or-detach-object-store-bucket-to-a-filesystem)
* [Detach object store bucket from a filesystem](#detach-object-store-bucket-from-a-filesystem)

## Attach object store bucket to a filesystem

**Before you begin**

Verify that an object store bucket is available.

**Procedure**

1. From the menu, select **Manage > Filesystems**.
2. On the **Filesystem** page, select the three dots on the right of the filesystem that you want to attach to the object store bucket. Then, from the menu, select **Attach Object Store Bucket**.
3. On the Attach Object Store Bucket dialog, select the relevant object store bucket.

![Attach object store bucket](https://661826007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuOB5D2WMRjXBnChPFTrk%2Fuploads%2FDbAPCo0AeDylkI0TmVyl%2Fwmng_attach_obs.gif?alt=media\&token=c07cfa10-d3b3-4f6d-bcdd-8ec1aa586648)

## Detach object store bucket from a filesystem

Detaching a local object store bucket from a filesystem migrates the filesystem data residing in the object store bucket either to the writable object store bucket (if one exists) or to the SSD.

**Procedure**

1. From the menu, select **Manage > Filesystems**.
2. On the **Filesystem** page, select the filesystem from which you want to detach the object store bucket.
3. From the **Detach Object Store Bucket** dialog, select **Detach.**\
   If the filesystem is attached to two object store buckets (one is read-only and the other is writable), you can detach only the one that is read-only. The data of the detached object store bucket is migrated to the writable object store bucket.
4. In the message that appears, to confirm the detachment, select **Yes**.

![Detach an object store bucket from a filesystem](https://661826007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuOB5D2WMRjXBnChPFTrk%2Fuploads%2F0y1lBMKJxy9KuHKbtRcQ%2Fwmng_detach_obs.gif?alt=media\&token=85667ab8-9598-40d8-9685-783bf5efdb64)

5\. If the filesystem is tiered and only one object store is attached, detaching the object store\
&#x20;   bucket opens the following message:

![Detach](https://661826007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuOB5D2WMRjXBnChPFTrk%2Fuploads%2Fe83xlWhbSBKMypuaQrP7%2Fwmng_detach_obs_and_untier.png?alt=media\&token=38a56bd5-26d0-4d29-92ea-22f329b7ac0d)

6\. Object store buckets usually expand the filesystem capacity. Un-tiering of a filesystem requires\
&#x20;   adjustment of its total capacity. Select one of the following options:

* Increase the SSD capacity to match the current total capacity.
* Reduce the total filesystem capacity to match the SSD capacity or the used capacity (the decrease option depends on the used capacity).
* Configure a different capacity.

{% hint style="info" %}
**Note:** Used capacity must be taken into account. Un-tiering takes time to propagate the data from the object store to the SSD. When un-tiering an active filesystem, to accommodate the additional writes during the detaching process, it is recommended to adjust to a higher value than the used capacity.
{% endhint %}

7\. Select the option that best meets your needs, and select **Continue**.

8\. In the message that appears, select **Detach** to confirm the action.
