Skip to main content
NetApp Knowledge Base

Unable to delete an empty S3 bucket

Views:
548
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