Dell EMC Unity: Enabling ABE on SMB share fails with error code 0x4
Summary: Enabling ABE on SMB share fails with error code 0x4.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Attempts to enable or disable ABE on existing SMB share using Unisphere and uemcli command fails with error message:
The share was migrated with IMT from VNX or eNAS system.
Operation failed. Error code: 0x4
The specified operation could not be completed. Search for the error code on the support website or product forums, or contact your service provider, if available. (Error Code:0x4)
Job ID = N-XXX
The specified operation could not be completed. Search for the error code on the support website or product forums, or contact your service provider, if available. (Error Code:0x4)
Job ID = N-XXX
The share was migrated with IMT from VNX or eNAS system.
Cause
It is not possible to create a share description containing double quotes on Unity. This naming convention causes an error message.
This can only be the result of an IMT migration from VNX or eNAS.
This can only be the result of an IMT migration from VNX or eNAS.
Resolution
Check the share description field and remove any double quotes in text, either using Unisphere or uemcli. This KB only applies when the affected share has double quotes with share description text:
To change the share description:
Once the description is corrected, enabling ABE should work:
08:07:55 service@Unity spa:~/user# uemcli /stor/prov/fs/cifs -name myshare show -detail
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: ID = SMBShare_123
Name = myshare
Description = drive X. "do not remove" ! <=== Remove double quotes from text.
File system = res_88
Local path = /myshare
Export path = \\smbserver.domain.local\myshare, \\19X.1XX.1.9X\myshare
Availability enabled = no
Encryption enabled = no
Creation time = 2021-07-12 19:14:43
Last modified time = 2021-07-15 11:54:22
Umask = 022
ABE enabled = no
BranchCache enabled = no
DFS enabled = no
Offline availability = manual
08:08:37 service@hh1-enas-01 spa:~/user#
08:11:00 service@Unity spa:~/user# uemcli /stor/prov/fs/cifs -name myshare set -enableABE yes
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
Operation failed. Error code: 0x4
The specified operation could not be completed. Search for the error code on the support website or product forums, or contact your service provider, if available. (Error Code:0x4)
Job ID = N-123
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: ID = SMBShare_123
Name = myshare
Description = drive X. "do not remove" ! <=== Remove double quotes from text.
File system = res_88
Local path = /myshare
Export path = \\smbserver.domain.local\myshare, \\19X.1XX.1.9X\myshare
Availability enabled = no
Encryption enabled = no
Creation time = 2021-07-12 19:14:43
Last modified time = 2021-07-15 11:54:22
Umask = 022
ABE enabled = no
BranchCache enabled = no
DFS enabled = no
Offline availability = manual
08:08:37 service@hh1-enas-01 spa:~/user#
08:11:00 service@Unity spa:~/user# uemcli /stor/prov/fs/cifs -name myshare set -enableABE yes
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
Operation failed. Error code: 0x4
The specified operation could not be completed. Search for the error code on the support website or product forums, or contact your service provider, if available. (Error Code:0x4)
Job ID = N-123
To change the share description:
08:12:23 service@Unity spa:~/user# uemcli /stor/prov/fs/cifs -name myshare set -descr "drive X."
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
ID = SMBShare_123
Operation completed successfully.
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
ID = SMBShare_123
Operation completed successfully.
Once the description is corrected, enabling ABE should work:
08:15:39 service@Unity spa:~/user# uemcli /stor/prov/fs/cifs -name myshare set -enableABE yes
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
ID = SMBShare_123
Operation completed successfully.
Storage system port: 443
HTTPS connection
ID = SMBShare_123
Operation completed successfully.
Affected Products
Dell EMC Unity FamilyArticle Properties
Article Number: 000189665
Article Type: Solution
Last Modified: 12 Nov 2021
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.