Hello, everyone!
The post will share with you how to solve the SmartDedupe & SmartCompression function fails to be enabled on the DeviceManager.
Symptoms
After the SmartDedupe&SmartCompression license is imported, the Tuning tab cannot be found during LUN creation. As a result, the SmartDedupe&SmartCompression function fails to be enabled.
Cause
During LUN creation, the DeviceManager determines whether to display the Tuning tab after checking the related license, such as SmartCache, SmartTier, SmartQos, SmartPartition, and SmartDedupe&SmartCompression). The Tuning tab is displayed after the SmartCache, SmartTier, SmartQos, or SmartPartition license is imported. The SmartDedupe&SmartCompression feature is a new value-added feature, so the DeviceManager does not check the license of the feature. Besides, the customer has not purchased any of the preceding features. As a result, the Tuning tab is not displayed and this feature cannot be configured.
Identification Method
1. Check whether the device version is earlier than V300R002C10TR5. If yes, go to the next step.
2. Check whether the system has the SmartDedupe&SmartCompression license and has no SmartCache, SmartTier, SmartQos, or SmartPartition license. If yes, this problem can be identified.
Solution
1. Workaround
In the CLI, run a specified command to create a LUN, set dedup_enabled and compression_enabled to yes. The SmartDedupe&SmartCompression function can be enabled. The command is as follows:
create lun name=sdas pool_id=0 capacity=1GB lun_type=thin initial_capacity=1GB dedup_enabled=yes compression_enabled=yes compression_method=fast
Parameter description:
pool_id: indicates the storage pool ID, which can be queried using the show storage pool general command. When creating a storage pool for the LUN, set use type to lun.
capacity: indicates the specified capacity.
lun_type: indicates the LUN type. You can enable dedup_enabled and compression_enabled only when lun_type is set to thin.
Initial_capacity: indicates the initially allocated capacity.
dedup_enabled: indicates whether to enable the deduplication function. If this parameter is ser to yes, the deduplication function is enabled.
compression_enabled: indicates whether to enable the data compression function. If this parameter is set to yes, the data compression function is enabled.
compression_method: indicates the compression algorithm. This parameter is available only when compression_enabled is set to yes. The default value is fast.
2. Preventive measures
Upgrade the storage system to V300R002C10TR5 or later.
Check After Recovery
In the CLI, create a LUN and enable the SmartDedupe&SmartCompression function. The SmartDedupe&SmartCompression function can be enabled.
Application Scope
OceanStor V3 V300R001SPC100 and later.
This is my solution, how about yours? Go ahead and share it with us!