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 DeviceManager, 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 enabled

change file_system enabled

Function

The change file_system enabled command is used to enable file system related functions, such as to enable checksum, to perform periodic snapshots, and to modify atime.

Format

change file_system enabled file_system_id=? { checksum_enabled=? | atime_enabled=? | show_enabled=? | auto_delete_snapshot_enabled=? | timing_snapshot_enabled=? | isolate_enabled=? | alternate_data_streams_enabled=? } *

Parameters

Parameter

Description

Value

file_system_id=?

Indicates the file system ID.

The value is an integer between 0 and 65535. If the value is not specified, the system automatically allocates an ID to the newly created file system.

checksum_enabled=?

Indicates whether to enable the checksum function.

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

  • "yes": To enable the checksum function.
  • "no": Not to enable the checksum function.

atime_enabled=?

Indicates whether to enable the atime function.

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

  • "yes": To enable the atime function.
  • "no": Not to enable the atime function.

show_enabled=?

Indicates whether to show the snapshot directory.

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

  • "yes": To show the snapshot directory.
  • "no": Not to show the snapshot directory.

auto_delete_snapshot_enabled=?

Indicates whether to enable the function of automatically deleting snapshots.

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

  • "yes": To enable the function of automatically deleting snapshots.
  • "no": Not to enable the function of automatically deleting snapshots.

timing_snapshot_enabled=?

Indicates whether to enable the periodic snapshot function.

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

  • "yes": To enable the periodic snapshot function.
  • "no": Not to enable the periodic snapshot function.

isolate_enabled=?

Indicates whether to enable the object-based isolation function.

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

  • "yes": To enable the isolation flag setting function.
  • "no": Not to enable the isolation flag setting function.

alternate_data_streams_enabled=?

Indicates whether to enable the alternate data streams function.

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

  • "yes": To enable the alternate data streams function.
  • "no": Not to enable the alternate data streams function.

Level

Administrator

Usage Guidelines

  • Before running this command, check that you have selected the correct file system.
  • You must enter the file system ID.

Example

  • Check the pre-modified configuration of the file system.
    admin:/>show file_system general file_system_id=0  
    ID : 0  
    Name : fs003  
    Pool ID : 0  
    Cache Partition ID :  
    Health Status : Normal  
    Running Status : Online  
    Capacity : 10.000GB  
    Description :  
    Type : Thin  
    Snapshot Reserve(%) : 20  
    Owner Controller : 0B  
    Work Controller : 0B  
    IO Priority : Middle  
    Block Size : 64.000KB  
    Checksum Enabled : Yes  
    Atime Enabled : No  
    Show Snapshot Directory Enabled : Yes  
    Available Capacity : 7.874GB  
    Capacity Threshold(%) : 50  
    Auto Delete Snapshot Enabled : No  
    Snapshot Used Capacity : 0.000B  
    Timing Snapshot Max Number : 20  
    Snapshot Reserve Capacity : --  
    Timing Snapshot Enabled : No  
    Timing Snapshot Schedule ID :  
    Snapshot Background Freeing Capacity : --  
    Used Capacity Ratio(%) : 1  
    Initial Distribute Policy : Automatic 
    Alternate Data Streams Enabled : No
  • Enable all features of the file system.
    admin:/>change file_system enabled file_system_id=0 atime_enabled=yes auto_delete_snapshot_enabled=yes checksum_enabled=yes show_enabled=yes timing_snapshot_enabled=yes alternate_data_streams_enabled=yes 
    WARNING: You are about to run a command to set the auto delete snapshot switch used by the system to delete the snapshot in this filesystem when the filesystem has insufficient capacity. 
    If the switch is set to yes, there may be risks. 
    Suggestion: Before running this command, ensure that you have selected the correct filesystem. 
    Have you read warning message carefully?<y/n>y 
    Are you sure you really want to perform the operation?<y/n>y 
    Command executed successfully.
  • Check the post-modified results.
    admin:/>show file_system general file_system_id=0 
    ID : 0  
    Name : fs003  
    Pool ID : 0  
    Cache Partition ID :  
    Health Status : Normal  
    Running Status : Online  
    Capacity : 10.000GB  
    Description :  
    Type : Thin  
    Snapshot Reserve(%) : 20  
    Owner Controller : 0B  
    Work Controller : 0B  
    IO Priority : Middle  
    Block Size : 64.000KB  
    Checksum Enabled : Yes  
    Atime Enabled : Yes  
    Show Snapshot Directory Enabled : Yes  
    Available Capacity : 7.874GB  
    Capacity Threshold(%) : 50  
    Auto Delete Snapshot Enabled : Yes  
    Snapshot Used Capacity : 0.000B  
    Timing Snapshot Max Number : 20  
    Snapshot Reserve Capacity : --  
    Timing Snapshot Enabled : Yes  
    Timing Snapshot Schedule ID :  
    Snapshot Background Freeing Capacity : --  
    Used Capacity Ratio(%) : 1  
    Initial Distribute Policy : Automatic 
    Alternate Data Streams Enabled : Yes
  • Check file system configuration.
    admin:/>show file_system general file_system_id=0  
    ID : 0  
    Name : fs003  
    Pool ID : 0  
    Cache Partition ID :  
    Health Status : Normal  
    Running Status : Online  
    Capacity : 10.000GB  
    Description :  
    Type : Thin  
    Snapshot Reserve(%) : 20  
    Owner Controller : 0B  
    Work Controller : 0B  
    IO Priority : Middle  
    Block Size : 64.000KB  
    Checksum Enabled : Yes  
    Atime Enabled : No  
    Show Snapshot Directory Enabled : Yes  
    Available Capacity : 7.874GB  
    Capacity Threshold(%) : 50  
    Auto Delete Snapshot Enabled : No  
    Snapshot Used Capacity : 0.000B  
    Timing Snapshot Max Number : 20  
    Snapshot Reserve Capacity : --  
    Timing Snapshot Enabled : No  
    Timing Snapshot Schedule ID :  
    Snapshot Background Freeing Capacity : --  
    Used Capacity Ratio(%) : 1  
    Initial Distribute Policy : Automatic 
    Isolate Enable : Yes 
    Alternate Data Streams Enabled : Yes

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 235668

Downloads: 150

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