检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Unmounting a Parallel File System If you do not need to access a mounted parallel file system or you need to add, modify, or delete parameters it has configured, you can unmount it. Unmounting a parallel file system does not affect data stored in the parallel file system.
Ways to Delete a Bucket You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to delete a bucket. Using OBS Console In the navigation pane of OBS Console, choose Object Storage. In the bucket list, select the bucket you want to delete, and then click Delete on the right.
if (ret_status == OBS_STATUS_OK) { printf("delete bucket successfully. \n"); } else { printf("delete bucket failed(%s).\n", obs_get_status_name(ret_status)); } // Release the allocated global resources.
If the number of created buckets has reached 100 (the maximum number allowed), delete some unneeded buckets and try again. If the new bucket name already exists, use another one and try again. Each OBS bucket name must be globally unique.
NOTE: At the same time, the system attempts to delete the fragments in the part records. c Optional (additional parameter) Deletes the part records of all multipart copy tasks.
Click Fragments, select the fragment that you want to delete, and click Delete on the right. You can also select multiple fragments and click Delete above the fragment list to batch delete them. Click OK to confirm the deletion.
Deleting an expired delete marker The expired delete marker is deleted. After all noncurrent versions of an object are deleted, the current delete marker version will be deleted to improve the List performance.
Alternatively, you can click Delete All above the list to delete all fragments. obsutil With obsutil, you can delete the failed or interrupted multipart upload task to delete fragments generated by the task.
If you delete a version with the Delete Marker, the file will be recovered and retained in the Objects list. If you delete a version without the Delete Marker, that version will be permanently deleted.
Figure 3 Object with a delete marker After Historical Versions is enabled, you can permanently delete any object version (including the one with a delete marker). All object versions except those with Delete Marker stored in OBS are charged.
If you delete a version without the Delete Marker, that specific version is deleted permanently. Even if the object is recovered later, this version will not be recovered. At least one version without the Delete Marker exists in the Deleted Objects list.
Alternatively, you can click Delete All above the list to delete all fragments. obsutil With obsutil, you can delete the failed or interrupted multipart upload task to delete fragments generated by the task.
Using a Lifecycle Rule to Delete Objects from a WORM-Enabled Bucket You can configure a lifecycle rule to let OBS automatically expire and delete objects in a WORM enabled bucket.
You can select an object and click Delete on the right to delete the object. After the object is deleted, OBS generates a Delete Marker with a unique version ID for the deleted object, and the deleted object is displayed in the Deleted Objects list.
In the Fragments window, select the unwanted fragments and click Delete above the list. You can also click Delete All above the list to delete all fragments. Click in the upper right corner to refresh the fragment list, as shown in Figure 1.
Sample Request 1 2 3 4 5 DELETE /objectname?
To delete historical tasks, go to the Task Management page, select the completed tasks that you no longer need, and delete them, as shown in Figure 1. Figure 1 Deleting completed tasks Parent topic: FAQs
Remove Expired Delete Marker Enabled An expired delete marker is the only single delete marker that remains after all historical versions of an object are deleted. This action will remove expired delete markers and help improve the list performance.
This operation can be performed only by the bucket owner and users who have been authorized (via a policy) with the permission to delete the bucket. The bucket to be deleted must be an empty bucket. If a bucket has an object or a multipart task, the bucket is not empty.
to delete objects in a batch.