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 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 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 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, performing periodic snapshots, atime.

Format

change file_system enabled file_system_id=? { checksum_enabled=? | atime_enabled=? | show_enabled=? | auto_delete_snapshot_enabled=? | timing_snapshot_enabled=? | isolate_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 of 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 periodic snapshots.

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

  • "yes": To enable the function of automatically deleting periodic snapshots.
  • "no": Not to enable the function of automatically deleting periodic 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 isolate function.

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

  • "yes":To enable set isolate switch function.
  • "no":Not to enable set isolate switch 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.
  • This command do not support

    Usage Guidelines

    None.

    V3 storage system.

Example

  • Check the pre-modified configuration of 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
  • 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
    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
  • 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

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 365611

Downloads: 1594

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