ONTAP S3 Commands

The ONTAP S3 bucket needs to be empty before it can be deleted.

Delete the objects of the S3 bucket by the AWS CLI on the client side:

  1. The S3 Browser GUI can be used to delete objects, although this may time out if the bucket contains many objects
  2. For buckets containing a large number of objects, the following can be run on the AWS CLI:
    aws --endpoint-url  http://ip/path_to_endpoint s3 rm s3://bucketname --recursive
    Example: aws --endpoint-url  http://<strong>10.x.x.x</strong><span> </span>s3 rm s3://<strong>OntapS3bucket</strong> --recursive
  3. If the bucket still contains objects after running the rm command, refer to the following: Objects in ONTAP S3 bucket not seen in S3 Browser