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 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these 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 dedup_compress

change file_system dedup_compress

Function

The change file_system dedup_compress command is used to set deduplication and compression parameters, including compression switch, compression method, deduplication switch, and deduplication byte_by_byte comparison switch.

Format

change file_system dedup_compress file_system_id=? { compression_enabled=? | compression_method=? | dedup_enabled=? | intelligent_dedup_enabled=? | bytecomparison_enabled=? | dedup_metadata_sample_ratio=? } *

Parameters

Parameter

Description

Value

file_system_id=? File system ID.

The value ranges from 0 to 65535.

compression_enabled=? Whether compression is enabled.

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

  • "no": Compression is disabled.
  • "yes": Compression is enabled.
The default value is "no".
compression_method=? File system compression method.

The value can be "fast" or "deep", where:

  • "fast": high performance.
  • "deep": high compression ratio.
The default value is "fast".
dedup_enabled=? Whether deduplication is enabled.

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

  • "no": Deduplication is disabled.
  • "yes": Deduplication is enabled.
The default value is "no".
intelligent_dedup_enabled=? Whether the intelligent deduplication is enabled.

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

  • "no": The intelligent deduplication is disabled.
  • "yes": The intelligent deduplication is enabled.
The default value is "yes".
bytecomparison_enabled=? Whether deduplication byte_by_byte comparison is enabled.

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

  • "no": Byte_by_byte comparison is disabled.
  • "yes": Byte_by_byte comparison is enabled.
The default value is "no".
dedup_metadata_sample_ratio=? Indicates the deduplication metadata sample ratio.

The value can be "1", "2", "4", "8", "16", or "32". A larger sample ratio means a smaller impact on performance. However, the ratio of space saved by deduplication may be affected.

Level

Administrator

Usage Guidelines

  • You can specify the "compression_method" operand only when "compression_enabled" is set to "yes".
  • You can specify the "intelligent_dedup_enabled", "bytecomparison_enabled" and "dedup_metadata_sample_ratio"operand only when "dedup_enabled" is set to "yes".

Example

  • Check the pre-modified deduplication and compression configurations of a file system.

    admin:/>show file_system general file_system_id=0
      ID                                   : 0                
      Name                                 : fs1              
      Pool ID                              : 0                
      Smart Cache Partition ID             : --               
      Cache Partition ID                   : --               
      Initial Distribute Policy            : Automatic        
      Health Status                        : Normal           
      Running Status                       : Online           
      Capacity                             : 16.000PB         
      Description                          :                  
      Type                                 : Thin             
      Snapshot Reserve(%)                  : 20               
      Owner Controller                     : 0A               
      Work Controller                      : 0A               
      IO Priority                          : Low              
      Block Size                           : 64.000KB         
      Checksum Enabled                     : Yes              
      Atime Enabled                        : No               
      Show Snapshot Directory Enabled      : Yes              
      Available Capacity                   : 1010.803GB       
      Capacity Threshold(%)                : 90               
      Auto Delete Snapshot Enabled         : No               
      Snapshot Used Capacity               : 0.000B           
      Timing Snapshot Max Number           : 16               
      Snapshot Reserve Capacity            : --               
      Timing Snapshot Enabled              : No               
      Timing Snapshot Schedule ID          : --               
      Snapshot Background Freeing Capacity : --               
      Used Capacity Ratio(%)               : 99               
      Dedup Enabled                        : No               
      Byte_by_byte Comparison Enabled      : No               
      Compression Enabled                  : No               
      Compression Method                   : Fast             
      Dedup Saved Capacity                 : 0.000B           
      Dedup Saved Ratio(%)                 : 0                
      Compression Saved Capacity           : 0.000B           
      Compression Saved Ratio(%)           : 0                
      Total Saved Capacity                 : 0.000B           
      Total Saved Ratio(%)                 : 0                
      Smart Cache Cached Size              : 0.000B                         
      Smart Cache Hit Rage(%)              : 0                              
      Sub Type                             : Normal                         
      Remote Replication ID(s)             : --                             
      Intelligent Dedup Enabled            : Yes              
      Dedup Running Status                 : No               
      Traverse Dir Adapter                 : No               
      Dedup MetaData Sample Ratio          : 1   
  • Enable compression, use the deep compression method, enable deduplication, and enable deduplication byte_by_byte comparison.

    admin:/>change file_system dedup_compress file_system_id=0 dedup_enabled=yes bytecomparison_enabled=yes compression_enabled=yes compression_method=deep 
    Command executed successfully.
  • Check the post-modified deduplication and compression configurations of a file system.

    admin:/>show file_system general file_system_id=0
      ID                                   : 0                
      Name                                 : fs1              
      Pool ID                              : 0                
      Smart Cache Partition ID             : --               
      Cache Partition ID                   : --               
      Initial Distribute Policy            : Automatic        
      Health Status                        : Normal           
      Running Status                       : Online           
      Capacity                             : 16.000PB         
      Description                          :                  
      Type                                 : Thin             
      Snapshot Reserve(%)                  : 20               
      Owner Controller                     : 0A               
      Work Controller                      : 0A               
      IO Priority                          : Low              
      Block Size                           : 64.000KB         
      Checksum Enabled                     : Yes              
      Atime Enabled                        : No               
      Show Snapshot Directory Enabled      : Yes              
      Available Capacity                   : 1010.803GB       
      Capacity Threshold(%)                : 90               
      Auto Delete Snapshot Enabled         : No               
      Snapshot Used Capacity               : 0.000B           
      Timing Snapshot Max Number           : 16               
      Snapshot Reserve Capacity            : --               
      Timing Snapshot Enabled              : No               
      Timing Snapshot Schedule ID          : --               
      Snapshot Background Freeing Capacity : --               
      Used Capacity Ratio(%)               : 99               
      Dedup Enabled                        : Yes              
      Byte_by_byte Comparison Enabled      : Yes              
      Compression Enabled                  : Yes              
      Compression Method                   : Deep             
      Dedup Saved Capacity                 : 0.000B           
      Dedup Saved Ratio(%)                 : 0                
      Compression Saved Capacity           : 0.000B           
      Compression Saved Ratio(%)           : 0                
      Total Saved Capacity                 : 0.000B           
      Total Saved Ratio(%)                 : 0                
      Smart Cache Cached Size              : 0.000B                         
      Smart Cache Hit Rage(%)              : 0                
      Sub Type                             : Normal           
      Remote Replication ID(s)             : --               
      Intelligent Dedup Enabled            : Yes              
      Dedup Running Status                 : Yes              
      Traverse Dir Adapter                 : No               
      Dedup MetaData Sample Ratio          : 1       

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 317589

Downloads: 253

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