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 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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 modify parameters related to deduplication and compression of a file system, including the compression switch, compression algorithm, deduplication switch, and 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=? | dedup_checksum_enabled=? } *

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 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" parameter only when "compression_enabled" is set to "yes".
  • You can specify the "intelligent_dedup_enabled", "bytecomparison_enabled", and "dedup_metadata_sample_ratio" parameters 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=1
      ID                                   : 1            
      Name                                 : FileSystem002 
      Pool ID                              : 1            
      Smart Cache Partition ID             : --           
      Cache Partition ID                   : --           
      Initial Distribute Policy            : Automatic    
      Health Status                        : Normal       
      Running Status                       : Online       
      Capacity                             : 100.000GB    
      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                   : 79.854GB     
      Capacity Threshold(%)                : 90           
      Auto Delete Snapshot Enabled         : No           
      Snapshot Used Capacity               : 0.000B       
      Timing Snapshot Max Number           : 16           
      Snapshot Reserve Capacity            : 20.000GB     
      Timing Snapshot Enabled              : No           
      Timing Snapshot Schedule ID          : --           
      Snapshot Background Freeing Capacity : --           
      Used Capacity Ratio(%)               : 0            
      Dedup Enabled                        : Yes          
      Byte_by_byte Comparison Enabled      : No          
      Compression Enabled                  : Yes          
      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                 : Yes          
      Traverse Dir Adapter                 : No           
      Dedup MetaData Sample Ratio          : 1            
      Isolate Enable                       : Yes          
      Vstore ID                            : --           
      Application Scenario                 : User Defined 
      Hyper Metro Pair ID(s)               : --           
      Hyper Vault Pair ID(s)               : --           
      Clone                                : No           
      Clone Parent                         : --           
      Clone Children Number                : 0            
      Clone Split Speed                    : --           
      Clone Split Status                   : --           
      Clone Split Progress(%)              : --   
      Dedup Checksum Enabled               : Yes
  • Enable compression, use the deep compression algorithm, enable deduplication, and enable byte-by-byte comparison.

    admin:/>change file_system dedup_compress file_system_id=1 dedup_enabled=yes bytecomparison_enabled=yes compression_enabled=yes compression_method=deep 
    Command executed successfully.If the block size of the file system is greater than 16 KB, you are advised to change it to 16 KB.
  • Check the post-modified deduplication and compression configurations of a file system.

    admin:/>show file_system general file_system_id=1
      ID                                   : 1            
      Name                                 : FileSystem002 
      Pool ID                              : 1            
      Smart Cache Partition ID             : --           
      Cache Partition ID                   : --           
      Initial Distribute Policy            : Automatic    
      Health Status                        : Normal       
      Running Status                       : Online       
      Capacity                             : 100.000GB    
      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                   : 79.854GB     
      Capacity Threshold(%)                : 90           
      Auto Delete Snapshot Enabled         : No           
      Snapshot Used Capacity               : 0.000B       
      Timing Snapshot Max Number           : 16           
      Snapshot Reserve Capacity            : 20.000GB     
      Timing Snapshot Enabled              : No           
      Timing Snapshot Schedule ID          : --           
      Snapshot Background Freeing Capacity : --           
      Used Capacity Ratio(%)               : 0            
      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            
      Isolate Enable                       : Yes          
      Vstore ID                            : --           
      Application Scenario                 : User Defined 
      Hyper Metro Pair ID(s)               : --           
      Hyper Vault Pair ID(s)               : --           
      Clone                                : No           
      Clone Parent                         : --           
      Clone Children Number                : 0            
      Clone Split Speed                    : --           
      Clone Split Status                   : --           
      Clone Split Progress(%)              : --
      Dedup Checksum Enabled               : Yes

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 380120

Downloads: 54

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next