How to delete a FabricPool object-store
[Link]
Updated: Thu, 10 Apr 2025 [Link] GMT
Applies to
• ONTAP 9
• FabricPool
Description
• It is not possible to detach FabricPool object store from an aggregate after it is attached
• The aggregate must be deleted first and then the object store config can be deleted
• If the object store is attached to an aggregate, attempts to delete the object store config will fail
::> storage aggregate object-store config delete -object-store-name
S3Bucket
'NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations
provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations
provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or 1
techniques herein is a customers responsibility and depends on the customers ability to evaluate and integrate them into the customers operational
environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this
document.'
Error: command failed: Cannot delete object store configuration "S3Bucket"
as the store is attached to one or more aggregates. Use the aggregate
object-store show -object-store-name S3Bucket command to view the
aggregates.
Procedure
• If the aggregate has been deleted and space freeing of the objects on the store is complete, the object store
config can be deleted
::> storage aggregate object-store config delete -object-store-name
S3Bucket
• In ONTAP 9.7 and later, it is possible to attach a second object store to an aggregate called a mirror
::> storage aggregate object-store mirror -aggregate <aggregate name>
-name <newMirror>
• This mirror will resync with the primary, which will succeed only if the primary is online and available
• Once the resync completes, the mirror can be made the primary and the original primary can be made the
mirror through a swap
::> storage aggregate object-store modify -aggregate <aggregate name>
-name <newMirror> -mirror-type primary
• The mirror can be detached by unmirroring, which will also delete the object store config
::> storage aggregate object-store unmirror -aggregate <aggregate name>
-name <oldPrimary>
• Refer to Replacing an existing object store using a FabricPool mirror for detailed steps
Additional Information
• Delete the aggregate and create a new one without FabricPool to have an aggregate without an object store
attached
• In ONTAP 9.5 and later, it is possible to replace the object store with another
© 2023 [Link] part of this document covered by copyright may be reproduced in any form or by any means—graphic, electronic, or mechanical,
including photocopying, recording, taping, or storage in an electronic retrieval system—without prior written permission of the copyright owner. For more
information, see Legal Notices. 2
• If one of the object stores in a FabricPool mirror is destroyed or becomes permanently unavailable on a
MetroCluster configuration, follow steps in Replacing a FabricPool mirror on a MetroCluster configuration
• FabricPool Technical Report
© 2023 [Link] part of this document covered by copyright may be reproduced in any form or by any means—graphic, electronic, or mechanical,
including photocopying, recording, taping, or storage in an electronic retrieval system—without prior written permission of the copyright owner. For more
information, see Legal Notices. 3