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

Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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 file_system_tier_task

change file_system_tier_task

Function

The change file_system_tier_task command is used to change a tiering task.

Format

change file_system_tier_task file_system_id=? [ switch=? | ssd_capacity_upper_limit_of_user_data=? | background_compression_enabled=? | background_dedup_enabled=? | schedule_type=? | ssd_high_water_level=? | ssd_low_water_level=? | ssd_free_space=? | force_initial_distribute_policy=? | snapshot_occupied_ssd_max_ratio=? | period=? | start_time=? | duration=? | immediately_duration=? | monday_enable=? | monday_start_time=? | monday_duration=? | tuesday_enable=? | tuesday_start_time=? | tuesday_duration=? | wednesday_enable=? | wednesday_start_time=? | wednesday_duration=? | thursday_enable=? | thursday_start_time=? | thursday_duration=? | friday_enable=? | friday_start_time=? | friday_duration=? | saturday_enable=? | saturday_start_time=? | saturday_duration=? | sunday_enable=? | sunday_start_time=? | sunday_duration=? | force_relocate_to_hdd_file_lower_limit_size=? ] *

Parameters

Parameter

Description

Value

file_system_id

File system ID.

0 to 65535.

switch

Whether the tiering function is enabled.

The value can be "enable" or "disable", where:

  • "enable": The tiering function is enabled.
  • "disable": The tiering function is disabled.

background_compression_enabled

Indicates whether to enable the background compression function.

The value can be "yes" or "no", where:

  • "yes": to enable the background compression function.
  • "no": not to enable the background compression function.

The default value is "no".

background_dedup_enabled

Indicates whether to enable the background deduplication function.

The value can be "yes" or "no", where:

  • "yes": to enable the background deduplication function.
  • "no": not to enable the background deduplication function.

The default value is "no".

schedule_type

Schedule type.

The value can be "frequency", "immediately", "weekly", or "automatically", where:

  • "frequency": periodic task scan.
  • "immediately": immediately executed task scan.
  • "weekly": weekly task scan.
  • "automatically": automatically executed task scan.

period

Period of a periodic task scan.

1 to 30 days.

start_time

Start time of a periodic task scan.

The value is in the format of hh:mm and ranges from 00:00 to 23:59.

duration

Duration of a periodic task scan.

The value is in the format of hh:mm and ranges from 00:30 to 24:00, or is until_relocation_completes.

immediately_duration

Duration of an immediately executed task scan.

The value is in the format of hhh:mm and ranges from 00:30 to 168:00, or is until_relocation_completes.

monday_enable

Whether to scan tasks on Monday.

The value can be "enable" or "disable", where:

  • "enable": scans tasks on Monday.
  • "disable": does not scan tasks on Monday.

monday_start_time

Start time of scanning tasks on Monday.

The value is in the format of hh:mm and ranges from 00:00 to 23:59.

monday_duration

Duration of scanning tasks on Monday.

The value is in the format of hh:mm and ranges from 00:30 to 24:00.

tuesday_enable

Whether to scan tasks on Tuesday.

The value can be "enable" or "disable", where:

  • "enable": scans tasks on Tuesday.
  • "disable": does not scan tasks on Tuesday.

tuesday_start_time

Start time of scanning tasks on Tuesday.

The value is in the format of hh:mm and ranges from 00:00 to 23:59.

tuesday_duration

Duration of scanning tasks on Tuesday.

The value is in the format of hh:mm and ranges from 00:30 to 24:00.

wednesday_enable

Whether to scan tasks on Wednesday.

The value can be "enable" or "disable", where:

  • "enable": scans tasks on Wednesday.
  • "disable": does not scan tasks on Wednesday.

wednesday_start_time

Start time of scanning tasks on Wednesday.

The value is in the format of hh:mm and ranges from 00:00 to 23:59.

wednesday_duration

Duration of scanning tasks on Wednesday.

The value is in the format of hh:mm and ranges from 00:30 to 24:00.

thursday_enable

Whether to scan tasks on Thursday.

The value can be "enable" or "disable", where:

  • "enable": scans tasks on Thursday.
  • "disable": does not scan tasks on Thursday.

thursday_start_time

Start time of scanning tasks on Thursday.

The value is in the format of hh:mm and ranges from 00:00 to 23:59.

thursday_duration

Duration of scanning tasks on Thursday.

The value is in the format of hh:mm and ranges from 00:30 to 24:00.

friday_enable

Whether to scan tasks on Friday.

The value can be "enable" or "disable", where:

  • "enable": scans tasks on Friday.
  • "disable": does not scan tasks on Friday.

friday_start_time

Start time of scanning tasks on Friday.

The value is in the format of hh:mm and ranges from 00:00 to 23:59.

friday_duration

Duration of scanning tasks on Friday.

The value is in the format of hh:mm and ranges from 00:30 to 24:00.

saturday_enable

Whether to scan tasks on Saturday.

The value can be "enable" or "disable", where:

  • "enable": scans tasks on Saturday.
  • "disable": does not scan tasks on Saturday.

saturday_start_time

Start time of scanning tasks on Saturday.

The value is in the format of hh:mm and ranges from 00:00 to 23:59.

saturday_duration

Duration of scanning tasks on Saturday.

The value is in the format of hh:mm and ranges from 00:30 to 24:00.

sunday_enable

Whether to scan tasks on Sunday.

The value can be "enable" or "disable", where:

  • "enable": scans tasks on Sunday.
  • "disable": does not scan tasks on Sunday.

sunday_start_time

Start time of scanning tasks on Sunday.

The value is in the format of hh:mm and ranges from 00:00 to 23:59.

sunday_duration

Duration of scanning tasks on Sunday.

The value is in the format of hh:mm and ranges from 00:30 to 24:00.

force_relocate_to_hdd_file_lower_limit_size

Minimum size of a file forcibly relocated to HDDs.

  • The value is in the format of "capacity value + unit" or is "clear". The unit can be MB, GB, or TB.
  • The value ranges from 1 to 4,294,967,295 MB, 1 to 4,294,967,295 GB, or 1 to 1024 TB.
  • "clear" indicates clearing previous settings.

ssd_capacity_upper_limit_of_user_data

Maximum SSD capacity of user data.

  • The value is in the format of "capacity value + unit". The unit can be MB, GB, TB, or Blocks.
  • The value ranges from 1 GB to the total capacity of the file system.
  • One block equals 512 bytes.

Level

Administrator,vstore admin

Usage Guidelines

None

Example

  • Modify a periodic tiering task.
    admin:/>change file_system_tier_task file_system_id=0 switch=enable ssd_capacity_upper_limit_of_user_data=50GB background_compression_enabled=yes schedule_type=frequency period=20 
    Command executed successfully.
  • Modify an automatic tiering task.
    admin:/>change file_system_tier_task file_system_id=0 switch=enable ssd_capacity_upper_limit_of_user_data=50GB schedule_type=automatically force_relocate_to_hdd_file_lower_limit_size=20GB 
    CAUTION: You are about to modify the SmartTier task for a file system and set the schedule type to automatically.This operation will delete all configured file policies of SmartTier in the file system. 
    Suggestion: Before performing this operation, ensure that the risk is acceptable. 
    Do you wish to continue?(y/n)y 
    Command executed successfully.
  • Modify an immediate tiering task.
    admin:/>change file_system_tier_task file_system_id=0 switch=enable ssd_capacity_upper_limit_of_user_data=50GB schedule_type=immediately immediately_duration=00:30 
    CAUTION: You are about to change the "Schedule Type" of the file system SmartTier task to "Immediately". The immediate relocation is triggered only once and will not run after the task is complete. If the file system is the secondary end of HyperReplication and HyperVault, the file system starts to run after the "Read-write Status" changes to "Read-write".  
    Suggestion: Before performing this operation, ensure that the risk is acceptable. 
    Do you wish to continue?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 228631

Downloads: 150

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