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
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:
- Log into the FS1-2 GUI as a user with either Primary Administrator or Admininstrator1 roles and navigate to the System tab.
- In the navigation tree, click Storage Domains.
- On the main page select the appropriate Storage Domain.
- Either right mouse click or from the Menu bar, select Actions and then select Compact Storage Domain.
- Answer Yes in the pop-up window to continue.
- 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:
- Log into the FS1-2 CLI as a user with either Primary Administrator or Admininstrator1 roles
- 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:
- Log into the FS1-2 GUI as a user with either Primary Administrator or Admininstrator1 roles and navigate to the System tab.
- In the navigation tree, click Storage Domains.
- On the main page select the appropriate Storage Domain.
- Either right mouse click or from the Menu bar, select Actions and then select Cancel Storage Domain Compact.
From CLI:
- Log into the FS1-2 CLI as a user with either Primary Administrator or Admininstrator1 roles
- 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