Skip to main content

Coming soon...New Support-Specific categorization of Knowledge Articles in the NetApp Knowledge Base site to improve navigation, searchability and your self-service journey. 

NetApp Knowledge Base

Unable to delete an empty S3 bucket

Views:
712
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9.8
  • ONTAP 9.9.1
  • ONTAP S3
  • Bucket delete

Issue

  • Cannot delete an S3 bucket:

::> vserver object-store-server bucket delete -vserver S3_svm -bucket bucket1

Error: command failed: Failed to remove bucket "bucket1" for Vserver "S3_svm". Reason: Failed to check if the bucket is empty. Reason: No such file or directory.

  • The bucket does not contain any objects

::> bucket show -vserver S3_svm -bucket bucket1 -fields object-count
(vserver object-store-server bucket show)

vserver           bucket   object-count
----------------- -------- ------------
S3_svm            bucket1  0

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device