Dell EMC Unity: Error Message: The value specified for the '-lunHosts' qualifier is invalid: hostname OBSOLETE. The specified host was not found. (Error Code:0x6401060). (User Correctable)
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
The script in this case was not using the proper syntax.
Tech Tip: When troubleshooting your custom script, try running the specific command on it's own. If it works on it's own then the problem is with the specific script. If the standalone command takes awhile to run then ensure to insert the appropriate pauses to all the commands to finish prior to starting the next .
Customer wants to use a script to create LUNs as well as assign it to a host. In this case the commands in the script failed as it used the Host Name versus using the HOST_IDBut it failed.
C:\>uemcli -d "xxx.xxx.xxx.xxx" -u "local/adminACCT" -p "PASSWORD" /stor/prov/luns/lun create -name "LUNNAME" -pool "POOLNAME" -size 1G -thin yes -lunHosts "SERVERNAME"
Storage system address: xxx.xxx.xxx.xxx
Storage system port: 443
HTTPS connection
Operation failed. Error code: 0x6401060
The value specified for the '-lunHosts' qualifier is invalid: SERVERNAME
OBSOLETE. The specified host was not found. (Error Code:0x6401060)
Tech Tip: When troubleshooting your custom script, try running the specific command on it's own. If it works on it's own then the problem is with the specific script. If the standalone command takes awhile to run then ensure to insert the appropriate pauses to all the commands to finish prior to starting the next .
Customer wants to use a script to create LUNs as well as assign it to a host. In this case the commands in the script failed as it used the Host Name versus using the HOST_IDBut it failed.
C:\>uemcli -d "xxx.xxx.xxx.xxx" -u "local/adminACCT" -p "PASSWORD" /stor/prov/luns/lun create -name "LUNNAME" -pool "POOLNAME" -size 1G -thin yes -lunHosts "SERVERNAME"
Storage system address: xxx.xxx.xxx.xxx
Storage system port: 443
HTTPS connection
Operation failed. Error code: 0x6401060
The value specified for the '-lunHosts' qualifier is invalid: SERVERNAME
OBSOLETE. The specified host was not found. (Error Code:0x6401060)
Cause
The value specified for the '-lunHosts' qualifier should be the "host id" and not the "host name"
Resolution
Getting the host ID using uemcli and remote/host show command.
Example:
C:\>uemcli -d "xxx.xxx.xxx.xxx" -u "local/adminACCT" -p "PASSWORD" /remote/host show
Storage system address: xxx.xxx.xxx.xxx
Storage system port: 443
HTTPS connection
1: ID = Host_1
Name = SERVERNAME
Description = OS TYPE
Type = host
Address = xxx.xxx.xxx.xxx
Netmask =
OS type = Windows Server
Ignored address =
Health state = OK (5)
Health details = "The component is operating normally. No action is required."
C:\>uemcli -d "xxx.xxx.xxx.xxx" -u "local/adminACCT" -p "PASSWORD" /stor/prov/luns/lun create -name "LUNNAME" -pool "POOLNAME" -size 1G -thin yes -lunHosts Host_1
Storage system address: xxx.xxx.xxx.xxx
Storage system port: 443
HTTPS connection
ID = sv_3
Operation completed successfully.
Example:
C:\>uemcli -d "xxx.xxx.xxx.xxx" -u "local/adminACCT" -p "PASSWORD" /remote/host show
Storage system address: xxx.xxx.xxx.xxx
Storage system port: 443
HTTPS connection
1: ID = Host_1
Name = SERVERNAME
Description = OS TYPE
Type = host
Address = xxx.xxx.xxx.xxx
Netmask =
OS type = Windows Server
Ignored address =
Health state = OK (5)
Health details = "The component is operating normally. No action is required."
C:\>uemcli -d "xxx.xxx.xxx.xxx" -u "local/adminACCT" -p "PASSWORD" /stor/prov/luns/lun create -name "LUNNAME" -pool "POOLNAME" -size 1G -thin yes -lunHosts Host_1
Storage system address: xxx.xxx.xxx.xxx
Storage system port: 443
HTTPS connection
ID = sv_3
Operation completed successfully.
Additional Information
Note: Scripts are not supported by Dell EMC support. Support can assist to provide stand alone commands only. If scripting is required please communicate with your account team to engage professional services.
Affected Products
Dell EMC Unity FamilyProducts
Dell EMC Unity FamilyArticle Properties
Article Number: 000052317
Article Type: Solution
Last Modified: 20 Nov 2020
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.