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

Basic Storage Service Guide for File 15

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"This document describes the basic storage services and explains how to configure and managebasic storage services."
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).
Creating a File System

Creating a File System

This section explains how to create file systems. File systems can share storage resources in the form of directories.

Prerequisites

  • A storage pool is created and is used for file storage service.
  • Only administrators and super administrators are allowed to create file systems.
  • The file system service for a controller enclosure has been enabled.

Precautions

If a storage pool has thin file systems and the capacity of all file systems exceeds that of the storage pool, services may be interrupted if the capacity of the storage pool is used up.

Procedure

  1. Log in to DeviceManager.
  2. Choose Provisioning > File System.
  3. Click Create.

    The Create File System dialog box is displayed.

  4. Create a file system. Table 3-9 describes related file system parameters.



    Table 3-9  File system parameters.

    Parameter

    Description

    Value

    Name

    Name of the file system.

    [Value range]
    • The name must be unique.
    • The name can only contain letters, digits, and underscores (_).
    • The name can be 1 to 255 characters in length.

    [Example]

    Filesystem001

    Description

    Description of the file system.

    [Example]

    -

    Thin

    Determine whether the thin provisioning function is enabled so that you can create thin file systems.
    NOTE:

    After the function is enabled, the storage system does not allocate the configured capacity to the file system at a time. Within configured capacity, the storage system allocates the storage resource to the file system on demand, based on the actual capacity used by the host.

    [Example]

    Enable

    Capacity

    File system capacity.
    • When the Thin function is enabled, the capacity is the maximum capacity allocated to the thin file system. That is, the total capacity dynamically allocated to the file system cannot exceed the maximum capacity.
    • When the Thin function is disabled, the capacity will be allocated to a thick file system once and for all.
    • The system support creating block-level file system. Select capacity unit Blocks when creating a file system. One Block = 512 Bytes.

    [Value range]

    • The maximum capacity for creating a thick file system does not exceed the available capacity of the storage pool where the thick file system resides.
    • The maximum capacity for creating a file system can exceed the available capacity of the storage pool where the thin file system resides but cannot exceed 1 GB to 16384 TB.
    • The system support creating block-level file system. Select capacity unit Blocks when creating a file system. One Block = 512 Bytes.

    [Example]

    3 GB

    Use all the free capacity of the owning storage pool

    If this option is selected, all free space of the owning storage pool is allocated to this file system.
    NOTE:

    If a thin file system exists in a storage pool, services of the thin file system may fail after all free capacity of the storage pool is used to create a thick file system.

    [Example]

    Enable

    Application Scenario

    Data in the file system consists of fixed-length disk blocks. The size of the blocks (also known as file system block size) affects disk space usage and performance. You can advised to use the block size following the principles below.
    • Based on the file size:
      • Select 4 KB when the size of most files in the file system is smaller than 100 KB.
      • Select 8 KB when the size of most files in the file system is between 100 KB and 1 MB.
      • Select 16 KB when the size of most files in the file system is between 1 MB and 100 MB.
      • Select 32 KB when the size of most files in the file system is between 100 MB and 1 GB.
      • Select 64 KB when the size of most files in the file system is larger than 1 GB.
    • Based on the I/O models of your business scenarios:
      • If your business scenario is with big I/O, such as media or big file archive/backup, you are advised to select 64 KB of block size.
      • If your business scenario is with small I/O, such as small file archive/backup, virtual machine or database, you are advised to select 4 KB of block size.

    [Value range]

    The value can be 4 KB, 8 KB, 16 KB, 32 KB, or 64 KB.

    [Example]

    64 KB

    Quantity

    Number of file systems batch created. Set this parameter based on your need.
    NOTE:
    • This option is invalid when you select Use all the free capacity of the owning storage pool.
    • A maximum of 100 file systems can be created at one time. When multiple file systems are created, the system will automatically add suffixes to distinguish between file systems.
    • File systems batch created have the same capacity.

    [Value range]

    1 to 100

    [Example]

    5

    Owning Storage Pool

    Storage pool to which the file system you are creating belongs.
    NOTE:
    • You can only choose the storage pool which is used for File Storage Service.
    • If the storage system has no storage pool, click Create to create one.

    [Example]

    storagepool002

  5. Optional: Set a timing snapshot policy.
    1. Click Timing Snapshot Policy.

      The Timing Snapshot Policy dialog box is displayed.

    2. Set a timing snapshot policy.

      • Select Hours and Minute to execute the timing snapshot. Begin calculating at 0 o'clock everyday. For example, if Every 6 Hours 10 Minute is specified, then timing snapshot will be executed at 06:10, 12:20, and 18:30 every day.
      • Select Daily and set Hours and execution start time. For example, if Hours: 01:00 and 17:00 are specified, and Minute: 1 is specified, then timing snapshot will be executed at 01:01 and 17:01 every day.
      • Select Weekly and set Week and execution start time. For example, if Week: Day 3, and Time: 11:50 is specified, then timing snapshot will be executed at 11:50 on Sunday and Wednesday every week.
      • Select Monthly and set Date and execution start time. For example, if Date: 2 and 30 are specified, and Time: 12:10 is specified, then timing snapshot will be executed at 12:10 on dates 2 and 30 every month.

    3. Click OK.
  6. Optional: Modify advanced properties of the file system.
    1. Click Advanced.

      The Advanced dialog box is displayed.

    2. Set advanced properties of the file system.

      Click the Properties, Tuning and WORM tabs and set related parameters. Table 3-10, Table 3-11 and Table 3-12 describe related parameters.

      Table 3-10  Property parameters

      Parameter

      Description

      Value

      Owning Controller

      Controller to which the file system belongs.
      NOTE:

      To allocate file systems to controllers for load balancing, you are advised to select Auto select.

      [Value range]

      Based on actual conditions of available controllers of the storage device.

      [Example]

      Auto select

      [Default]

      Auto select

      Capacity Alarm Threshold (%)

      Alarm threshold of the file system capacity.

      [Value range]

      The value is an integer ranging from 50 to 95.

      [Example]

      90

      [Default]

      90

      Initial Capacity Allocation Policy

      Policy for the storage tier to allocate capacity to a file system.
      • Automatic allocation: The storage system automatically allocates capacity to a file system based on the ratio of the available capacity of the performance tier to that of the capacity tier. Capacity is allocated from the high performance tier only when the capacity of the performance tier and capacity tier is insufficient.
      • Allocate from the high performance tier first: The storage system allocates capacity to a file system from the high performance tier first. If the capacity of the high performance tier is insufficient, the storage system allocates capacity from the other storage tiers, first from the performance tier and then from the capacity tier.
      • Allocate from the performance tier first: The storage system allocates capacity to a file system from the performance tier first. If the capacity of the performance tier is insufficient, the storage system allocates capacity from the other storage tiers, first from the capacity tier and then from the high performance tier.
      • Allocate from the capacity tier first: The storage system allocates capacity to a file system from the capacity tier first. If the capacity of the capacity tier is insufficient, the storage system allocates capacity from the other storage tiers, first from the performance tier and then from the high performance tier.

      [Value range]

      The value can be Automatic allocation, Allocate from the high performance tier first, Allocate from the performance tier first, or Allocate from the capacity tier first.

      [Example]

      Automatic allocation

      [Default]

      Automatic allocation

      Snapshot Directory Visibility

      Specifies whether snapshot directories are visible.

      [Value range]

      The value can be Visible or Invisible.

      [Example]

      Visible

      [Default]

      Visible

      Snapshot Space Ratio (%)

      Percentage of the file system snapshot space to the file system space.

      [Value range]

      The value is an integer ranging from 0 to 50.

      [Example]

      20

      [Default]

      20

      Max. Number of Timing Snapshots

      Upper limit of the file system timing snapshots. When the number of created snapshots reaches the upper limit, the system automatically deletes the earliest timing snapshots.

      [Value range]

      The value is an integer ranging from 1 to 2048.

      [Example]

      16

      [Default]

      16

      Delete Obsolete Read-Only Snapshots

      Specifies whether Delete Obsolete Read-Only Snapshots is enabled. When used space of a file system reaches the Capacity alarm threshold and used space of snapshots is larger than reserved space for snapshots, the system automatically deletes the earliest read-only snapshots.

      [Example]

      Enable

      [Default]

      Disable

      Checksum

      Specifies whether Checksum is enabled. This function is used to check data integrity. When it is enabled, checksum will be automatically calculated when data is being written, ensuring integrity of the data to be accessed.
      NOTE:

      Enabling Checksum will impair the system performance.

      [Example]

      Enable

      [Default]

      Enable

      Automatic Update of Atime

      Specifies whether Automatic Update of Atime is enabled. Atime is a time when file systems are accessed. After this function is enabled, Atime will be updated every time data on file systems is accessed.
      NOTE:

      Enabling Automatic Update of Atime will impair the system performance.

      [Example]

      Enable

      [Default]

      Disable

      Table 3-11  Tuning parameters

      Parameter

      Description

      Value

      Priority Control

      Priority control of SmartQoS.
      NOTE:

      To apply this policy, you must purchase the SmartQoS license.

      [Value range]

      The value can be Low, Medium, or High.

      [Example]

      Low

      [Default]

      Low

      Traffic Control

      Traffic control policy of SmartQoS.
      NOTE:

      To apply this policy, you must purchase the SmartQoS license.

      If no traffic control policy exists, click Create to create one.

      [Default]

      -

      Enable data compression

      Enable the data compression function. Storage space saved by using data compression.
      NOTE:

      To apply this policy, you must purchase the SmartCompression license.

      [Example]

      Enable data compression

      Enable deduplication

      Enable the deduplication function. Storage space saved by using deduplication.
      NOTE:

      To apply this policy, you must purchase the SmartDedupe license.

      [Example]

      Enable deduplication

      SmartPartition

      Specify SmartPartition for the file system. SmartPartition allocates cache resources of storage system to the file system to meet the cache hit ratio required by different applications.
      NOTE:
      • To apply this policy, you must purchase the SmartPartition license.
      • Please select the owning controller of file system manually, and this controller must be the same as the owning controllers of SmartPartition, or SmartPartition is unavailable .

      If no SmartPartition exists, click Create to create one.

      [Default]

      -

      SmartCache Partition

      To specify SmartCache partition for the file system. In the scenario that read operations are more than write operations and hot spot data exists, use the SSDs as cache by employing SSD high read performance to improve system read performance.
      NOTE:
      • To apply this policy, you must purchase the SmartCache license.
      • Please select the owning controller of the file system manually, and this controller must be the same as the owning controllers of SmartCache partition, or SmartCache is unavailable .

      If no SmartCache partition exists, click Create to create one.

      [Default]

      -

      Table 3-12  WORM parameters

      Parameter

      Description

      Value

      Enable

      If you want to create a WORM file system, select Enable.

      [Default value]

      Not enabled

      Mode

      Compliance mode of WORM protection. Modes are:
      • Enterprise Compliance Mode
        • Files within the protection period cannot be modified, renamed, or deleted by command users, but can be deleted by system administrators.
        • When the protection period is overdue, the file expires and it can be deleted, but cannot be modified or renamed by common users and system administrators.
      • Regulatory Compliance Mode
        • Files within the protection period cannot be modified, renamed, or deleted by common users and system administrators.
        • When the protection period is overdue, the file expires and it can be deleted, but cannot be modified or renamed by common users and system administrators.

      The current version supports only Regulatory Compliance Mode.

      [Default value]

      Regulatory Compliance

      Min. Retention

      The shortest file protection period supported by WORM file system.

      [Value range]

      0 to 70 years or Indefinite.

      [Default value]

      3 years

      NOTE:
      Min. Retention must be smaller than or equal to Default Retention and Max. Retention.

      Max. Retention

      The longest file protection period supported by WORM file system.

      [Value range]

      1 day to 70 years or Indefinite.

      [Default value]

      70 years

      Default Retention

      If no expiration time is configured for a file, the expiration time of the file is determined by the default retention.

      [Value range]

      No less than Min. Retention and no bigger than Max. Retention or Indefinite.

      [Default value]

      70 years

      NOTE:
      To set Default Retention as Indefinite, you must set Max. Retention to Indefinite. Otherwise, the setting fails.

      Automatic Lock

      If the function is enabled, If a file is not modified within the Lockout Wait Time (hours), files enters locked state automatically. Therefore, the file is under protection, and you can only read the file under locked state, but cannot modify, delete or rename it.

      NOTE:
      Write operation include file data change or metadata change.

      [Default value]

      Enable

      Lockout Wait Time (hours)

      Retention of a file enters the locked state.

      NOTE:
      This parameter is valid only when Automatic Lock is enabled.

      [Value range]

      The value is an integer ranging from 2 to 168.

      [Default value]

      2

      Automatically Delete

      If this mode is enabled, the system automatically deletes files whose protection period is overdue.

      [Default value]

      Disabled

      NOTE:
      • If WORM is enabled, the file system created is a WORM file system. More information about WORM file system, see OceanStor 5300 V3&5500 V3&5600 V3&5800 V3&6800 V3 Storage System V300R003 WORM Feature Guide.
      • Before creating a WORM file system, you must initialize WORM regulatory clock through CLI. The CLI command is change system secure_compliance_clock date=?.

    3. Click OK.

      The Create File System dialog box is displayed.

  7. Confirm that you want to create this file system.
    1. Click OK.

      The Execution Result dialog box is displayed indicating that the operation succeeded.

    2. Click Close.
Translation
Download
Updated: 2019-02-01

Document ID: EDOC1000084198

Views: 39635

Downloads: 827

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