No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change object_storage_compatible_s3_garbagebuckettime

change object_storage_compatible_s3_garbagebuckettime

Function

The change object_storage_compatible_s3_garbagebuckettime command is used to set the time for data in the Recycle Bin to be permanently deleted.

Format

change object_storage_compatible_s3_garbagebuckettime <delayTime>

Parameters

Parameter

Description

Value

<delayTime> Set the time for data in the Recycle Bin to be permanently deleted. The value ranges from 1 to 9,223,372,036,854,775,807ms.

The value ranges from 1 to 9,223,372,036,854,775,807ms.

Level

Device administrator

Usage Guidelines

  • In the object storage, asynchronous deletion is adopted: When a user deletes data, the data is removed to the recycle bin and will be permanently deleted by a background task after a certain delay (8 hours by default). This delay can be controlled by running the change object_storage_compatible_s3_garbagebuckettime command on the CLI. When the load of the deletion service is light or the average size of objects to be deleted is larger than 10 GB, you can extend the delay to reduce resource consumption, thereby enhancing the read and write performance. When the deletion service volume and the write service volume are almost the same and the available capacity is insufficient, decrease the delay to accelerate reclaiming space. You are advised to change the deletion delay time in the unit of 30 minutes. After the change and wait 30 minutes before checking the available capacity on DeviceManager to ensure that the delay time is no less than 30 minutes. Otherwise, the read and write performance of the system deteriorates.
  • The command is a string of long variables, such as: change object_storage_compatible_s3_garbagebuckettime 172800000.

Example

The change object_storage_compatible_s3_garbagebuckettime command is used to set the time for data in the Recycle Bin to be permanently deleted.

admin:/>change object_storage_compatible_s3_garbagebuckettime 172800000
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24221

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next