Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2347414.1
Update Date:2018-03-05
Keywords:

Solution Type  Technical Instruction Sure

Solution  2347414.1 :   FS System: How to Start/Stop a Storage Domain Compaction  


Related Items
  • Oracle FS1-2 Flash Storage System
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Flash Storage>SN-EStor: FSx
  •  




In this Document
Goal
Solution
 To start a manual compaction
 To cancel a manual compaction
References


Applies to:

Oracle FS1-2 Flash Storage System - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Goal

To provide steps through GUI and FSCLI on starting and cancelling a Storage Domain Compaction.

Note: The FS1 does periodically checks to see if a compaction is needed and will run it according to your background activity settings.  However, this can be done

manually if there is a moderate amount of unavailable space in a Storage Domain and/or if available space is running low.

Solution

To start a manual compaction

From GUI:

  1. Log into the FS1-2 GUI as a user with either Primary Administrator or Admininstrator1 roles and navigate to the System tab.
  2. In the navigation tree, click Storage Domains.
  3. On the main page select the appropriate Storage Domain.
  4. Either right mouse click or from the Menu bar, select Actions and then select Compact Storage Domain.
  5. Answer Yes in the pop-up window to continue.
  6. In the Tasks window there will be a PerfromDefragmentation background process running, once the process reaches 100% or disappears check the increase in available free space.
     

From CLI:

  1. Log into the FS1-2 CLI as a user with either Primary Administrator or Admininstrator1 roles
  2. Execute the compact option against the Storage Domain:
    # fscli storage_doamin -compact -storageDomain <STORAGE_DOMAIN_NAME> -start

    Command Succeeded
     
    NOTE: It is not advisable to delete LUNs while a compaction is underway.  Doing so may cause performance issues.  It is better to delete LUNs prior to compaction and then wait until the zeroing tasks associated with the deletions completes before doing a compaction.
     

To cancel a manual compaction

From GUI:

  1. Log into the FS1-2 GUI as a user with either Primary Administrator or Admininstrator1 roles and navigate to the System tab.
  2. In the navigation tree, click Storage Domains.
  3. On the main page select the appropriate Storage Domain.
  4. Either right mouse click or from the Menu bar, select Actions and then select Cancel Storage Domain Compact.

From CLI:

  1. Log into the FS1-2 CLI as a user with either Primary Administrator or Admininstrator1 roles
  2. Execute the cancel option against the Storage Domain:
    # fscli storage_domain -compact -storageDomain <STORAGE_DOMAIN_NAME> -cancel

    Command Succeeded


     
    NOTE: User-requested defragmentation should be cancellable at any point, but if the FS1 determines a defragmentation is necessary, it will not be cancellable and the user must wait for the task to complete.

     

    Example of an attempt to cancel a task:

    # fscli storage_domain -compact -storageDomain <STORAGE_DOMAIN_NAME> -cancel

    Error - The user cannot cancel the Compact Storage Domain request. (COMPACT_STORAGEDOMAIN_NOT_CANCELLABLE)
    Command Failed

     

This can be confirmed in the logs via the events.xml file. (Search for keyword "DEFRAG")

AK00XXXXXX-180109034539-180109190428-MANUAL_COLLECTION-m-01-01/A13661E0D7XXXXXX.events.xml

CM_EVT_BS_TRIAGE_INFO 2018-01-03T15:11:31.864 5080020001XXXXXX sd:0x0 Slat Defrag User request - reason: BS_SLAT_DEFRAG_USER_REQUESTED

CM_EVT_BS_TRIAGE_INFO 2018-01-03T15:21:31.882 5080020001XXXXXX sd:0x0 tier:0x1 geometry:0x5 Slat Defrag count request - reason: BS_SLAT_DEFRAG_SS_DECOM

The 1st event is the user initiated one, the second one is called out from Block Services.

 

References

<NOTE:2015849.1> - FS System: Deleting Auto-Tier LUNs May Not Increase Free Space for a Storage Domain

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback