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

OceanStor 2600 V3 Video Surveillance Edition V300R006 Basic Storage Service Configuration Guide for File

This document is applicable to OceanStor OceanStor 2600 V3 Video Surveillance Edition. This document describes the basic storage services and explains how to configure and manage basic storage services for storage system.
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 has been created for the file storage service.
  • You are an administrator or super administrator.

Context

The long file name function is available inV300R006C50 and later to control whether a file system supports long file names (255 bytes < a long file name ≤ 1023 bytes). By default, the long file name function is enabled for a new file system. Once the long file name function is enabled, you cannot disable it.

NOTE:
  • To query whether the long file name function is enabled for a file system, run the show file_system general file_system_id=? command.
  • To create a file system that does not support long file names, run the create file_system general name=? pool_id=? long_filename_enabled=no command.
  • To enabled the long file name function for a file system, run the change file_system general file_system_id=? long_filename_enabled=yes command.
  • If a file system is paired with another file system, you cannot modify the long file name settings.
  • If you upgrade a storage system to V300R006C50 or later, the long file name function is disabled by default for existing file systems.

Procedure

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

    The Create File System dialog box is displayed.

    NOTE:

    GUIs may vary with product versions and models. The actual GUIs prevail.

  4. Set parameters for a file system.

    Table 3-6 describes related file system parameters.
    Table 3-6 File system parameters

    Parameter

    Description

    Value

    Name

    Name of the file system.

    [Value range]

    • The name must be unique.
    • The name can contain letters of any language, digits, and underscores (_).
    • The name must contain 1 to 255 characters.

    [Example]

    filesystem001

    Description

    Description of the file system.

    [Example]

    -

    Thin Provisioning

    Enables or disables thin provisioning to allow or forbid the creation of thin file systems.

    NOTE:

    If thin provisioning is enabled, the storage system dynamically allocates storage capacity to file systems based on the actual capacity used by hosts instead of allocating a preset capacity, achieving on-demand allocation.

    [Example]

    Enable

    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

    Capacity

    File system capacity.

    [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.

    [Example]

    Disable

    Application Scenario

    Application scenarios of file systems.

    • VM: After this scenario is selected, the system will set the file system block size to 8 KB, and automatically adjust system resources to adapt to this scenario.
    • Database: File systems apply to databases.
    • User-defined: In this scenario, you must manually specify the file system block size.

    [Value range]

    The value can be VM, Database, or User-defined.

    [Example]

    User-defined

    File System Block Size

    If Application Scenario is set to User-defined, this parameter must be specified.

    Data in a file system consists of fixed-length blocks. The size of the blocks (also known as file system block size) affects disk space usage and performance. You are advised to configure the block size following the principles below:

    • Select 16 KB when the size of most files in the file system is smaller than 100 KB, the data deduplication or data compression function will be enabled, or the file size and scenarios are not specified.
    • Select 32 KB when the size of most files in the file system is between 100 KB and 1 MB.
    • Select 64 KB when the size of most files in the file system is larger than 1 MB or the file system mainly processes bandwidth-consuming large I/Os (in scenarios such as Media & Entertainment (M&E) industry, and archive and backup of large files).

    [Value range]

    4KB, 8KB, 16KB, 32KB, or 64KB.

    [Example]

    16KB

    Quantity

    Number of file systems created to be created in batches. 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 created in a batch have the same capacity.

    [Value range]

    1 to 100

    [Example]

    5

    Manually specify the suffix

    When creating multiple file systems, the system automatically appends a suffix number to the name of each file system for file system distinction. You can manually set the start suffix number after selecting this option.

    NOTE:

    If this option is not selected, the suffix number starts at 0000 by default.

    [Example]

    -

    Start Number

    This parameter is valid after Manually specify the suffix is selected. From the start number you configured, the system incrementally appends a suffix number to the name of each file system for file system distinction.

    [Value range]

    0 to (10000 - the quantity of file systems to create)

    NOTE:

    For example, if you want to create 30 file systems, the start number is from 0 to 9970.

    Security Mode

    Select a security mode based on service requirements. The security mode defines the access control mechanism of the file system accessible through multiple protocols.

    • Mixed

      Applies to the scenario in which both CIFS and NFS users can access and control the file system. Either CIFS or NFS permissions are valid. The latest configured permissions prevail.

    • Native

      Applies to the scenario in which Windows NT ACLs control CIFS users' permissions and UNIX mode bits control NFS users' permissions. In this mode, Windows NT ACLs and UNIX mode bits will neither affect nor synchronize with each other.

      • For CIFS share access, the system checks whether a Windows user has the access permission based on the Windows NT ACLs.
      • For NFS share access, the system checks whether a UNIX user has the access permission based on the UNIX mode bits.
    NOTE:

    This parameter applies to V300R006C60 and later versions.

    [Value range]

    The value can be Mixed or Native.

    [Example]

    Mixed

  5. 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.
      Table 3-7 describe related parameters.
      Table 3-7 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

      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

      Capacity Autonegotiation Policy

      A storage system supports the following capacity autonegotiation policies:

      • Not Use Capacity Autonegotiation: The storage capacity used by a file system is fixed and is not flexibly adjusted by the storage system.
      • Auto Expand Capacity: The storage system automatically increases file system capacity to meet users' requirements in data write when the percentage of a file system's used capacity to its total capacity reaches Auto Expand Trigger Threshold (%) and the storage pool has available space.
      • Auto Reduce or Expand Capacity: The storage system automatically adjusts the file system capacity based on file system space usage. When the percentage of a file system's used capacity to its total capacity reaches Auto Expand Trigger Threshold (%) and the storage pool has available space, the storage system automatically increases file system capacity. When the percentage of a file system's used capacity to its total capacity is smaller than Auto Reduce Trigger Threshold (%), the storage system automatically reduces the file system capacity and reclaims released storage space into the storage pool for other file systems' data writes.

      [Example]

      Auto Expand Capacity

      [Default]

      Not Use Autonegotiation

      Capacity Reclamation Mode

      A storage system supports the following capacity reclamation modes:

      • Preferentially Expand Capacity: Expands the capacity to increase the file system capacity.

      [Example]

      Preferentially Expand Capacity

      [Default]

      Preferentially Expand Capacity

      Auto Adjust Capacity

      After you select Auto Adjust Capacity, automatic capacity expansion or reduction policy for a file system will take effect during the service running.

      [Example]

      Enable

      [Default]

      Enable

      Auto Expand Trigger Threshold (%)

      When the percentage of the file system's used capacity to its total capacity is greater than the value of this parameter, the storage system automatically triggers file system capacity expansion.

      [Value range]

      The value is an integer ranging from 1 to 99.

      [Example]

      85

      [Default]

      85

      Auto Reduce Trigger Threshold (%)

      When the percentage of the file system's used capacity to its total capacity is smaller than the value of this parameter, the storage system automatically triggers file system space reclamation and reduces file system capacity.

      [Value range]

      The value is an integer ranging from 1 to 99.

      [Example]

      50

      [Default]

      50

      Auto Expand Upper Limit

      Upper limit for automatic expansion.

      [Value range]

      The value is an integer ranging from file system capacity to 16PB.

      [Example]

      120 GB

      [Default]

      File system capacity * 120%

      Auto Reduce Lower Limit

      Set the auto reduce lower limit.

      [Value range]

      The value is an integer ranging from 1 GB to Auto Expand Upper Limit.

      [Example]

      100 GB

      [Default]

      File system capacity

      Auto Expanded/Reduced Capacity Each Time

      Auto expanded or reduced capacity each time.

      [Value range]

      The value is an integer ranging from 64 MB to 100 GB.

      [Example]

      1 GB

      [Default]

      1 GB

    3. Click OK.

      The Create File System dialog box is displayed.

  6. Click OK.

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

  7. Click Close.
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100021203

Views: 44773

Downloads: 68

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