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

Administrator Guide

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Routine maintenance activities are the most common activities for the storage device, including powering on or off the storage device, managing users, modifying basic parameters of the storage device, and managing hardware components. This document is intended for the system administrators who are responsible for carrying out routine maintenance activities, monitoring the storage device, and rectifying common device faults.
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).
Shrinking a File System (Applicable to V500R007C10 and Later)

Shrinking a File System (Applicable to V500R007C10 and Later)

This section describes how a user with super administrator permissions shrinks storage space on DeviceManager. Both automatic and manual capacity shrinking modes are supported.

Prerequisites

  • The storage system is working properly.
  • The size to which you want the file system to shrink is determined before manual capacity shrinking.
  • Clone file systems and file systems with deduplication and compression enabled do not support automatic capacity shrinking.

Procedure

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

    The File System page is displayed.

  3. Shrink the file system.

    • Manual capacity shrinking
      1. Select a file system that you want to shrink, click More, and select Modify Capacity.

        The Modify File System Capacity dialog box is displayed.

      2. In Capacity of the File System Capacity area, enter the value of the capacity to which you want the file system to shrink and select the unit.
        NOTE:

        The value must be greater than or equal to the minimum capacity. For a thick file system, the minimum capacity is the total of the reserved capacity (mainly for snapshots) and the used capacity of the file system.

      3. Click OK.

        The Execution Result dialog box is displayed.

      4. Click Close. The file system is shrunk.
    • Automatic capacity shrinking
      NOTE:

      Enable the automatic shrinking function for the file system. Then, the storage system checks the available capacity of the file system at an interval of 20 seconds. If the system detects that the available capacity reaches the threshold for triggering automatic capacity shrinking, it automatically shrinks the file system.

      1. Choose Provisioning > File System.

        The File System page is displayed.

      2. Select the file system for which you want to set the capacity autonegotiation policy and click Properties.

        The File System Properties dialog box is displayed.

      3. Choose More > Advanced.

        The Capacity Autonegotiation dialog box is displayed.

      4. In Capacity Autonegotiation Policy, select Auto Reduce or Expand Capacity and set capacity autonegotiation parameters, as described in Table 5-53.
        Table 5-53 Capacity autonegotiation parameters

        Parameter

        Description

        Value

        Capacity Autonegotiation Policy

        The following capacity autonegotiation policies are available:

        • 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 file system capacity is automatically increased to meet user needs for more data writes, when the available space of a file system is about to run out 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 available space of a file system is about to run out and the storage pool has available space, automatic capacity expansion will be triggered to increase file system capacity. When the file system's storage space is released, it can be reclaimed into a storage pool and used by other file systems for data writes.

        [Example]

        Auto Reduce or Expand Capacity

        Capacity Reclamation Mode

        The following capacity reclamation modes are available:

        • Preferentially Expand Capacity: Expand the capacity to increase the file system capacity.
        • Preferentially Delete Old Snapshot: Delete old snapshots to reclaim space for increasing the file system capacity. If HyperReplication and HyperMetro are configured for storage systems, the capacity autonegotiation policy of the primary storage system will be synchronized to the secondary storage system. If Preferentially Delete Old Snapshot is adopted, ensure that Delete Obsolete Read-Only Snapshots is enabled for the secondary storage system.

        [Example]

        Preferentially Expand Capacity

        Auto Adjust Capacity

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

        [Example]

        Enable

        Auto Expand Trigger Threshold (%)

        When the ratio of the used capacity to the total capacity of the file system is greater than the preset value, the storage system automatically triggers file system capacity expansion.

        [Value range]

        The value is an integer ranging from 1 to 99.

        [Example]

        85

        Auto Reduce Trigger Threshold (%)

        When the ratio of the used capacity to the total capacity of the file system is smaller than the preset value, 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

        Auto Expand Upper Limit

        Set the upper limit for automatic expansion.

        [Value range]

        File system capacity to 16 PB.

        [Example]

        120 GB

        Auto Reduce Lower Limit

        Set the lower limit for automatic shrinking.

        [Value range]

        1 GB to Auto Expand Upper Limit.

        [Example]

        100 GB

        Auto Expanded/Reduced Capacity Each Time

        Set the capacity to be expanded or shrunk for each time.

        [Value range]

        64 MB to 100 GB.

        [Example]

        1 GB

      5. Click OK.

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

Follow-up Procedure

Verify and use the storage space.

On the File System page, click the shrunk file system and view its Total Capacity. If the capacity is shrunk to the correct value, the capacity shrinking is successful. If the capacity shrinking is unsuccessful, troubleshoot the fault based on alarm information.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181576

Views: 18622

Downloads: 25

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