This section explains error/warning messages regarding dsmount.pl.
ERROR: Option option requires an argument. usage: usage
No parameter value has been specified on the command line.
Enter the required parameter value on the command line.
ERROR: Required command option option not specified. usage: usage
The required option has not been specified on the command line.
Check if the parameter on the command line is correct.
ERROR: Option unmount should not have an argument. usage: usage
The command line option -unmount contains a parameter value.
Delete the parameter value for the -unmount option.
ERROR: Unknown option: option. usage: usage
An invalid option has been included on the command line.
Delete the invalid option.
ERROR: Error connecting to server at server: Perhaps host is not a vCenter or ESX server
There is an error in the connected VMware vCenter Server or VMware ESX.
Modify the parameter value for server which has been entered on the command line to VMware vCenter Server or VMware ESX.
ERROR: Cannot complete login due to an incorrect user name or password.
There is an error in the user name or password entered on the command line.
Correct the user name or password entered on the command line.
ERROR: Option type's argument must be "vmfs" or "nfs". usage: usage
The command line option -type does not exist or there is an error in the parameter value.
Specify vmfs or nfs for the -type option on the command line.
ERROR: Failed to open file: file.
The specified file cannot be opened.
Check that the specified file exists and is readable.
ERROR: Invalid file format. Correct file format should be: #operation,type,vstorage_name,datastore_name,mountpath,vmhosts. Detail:line number in inputfile.
An error has occurred in line number in input_file.
Modify the format of line number in input_file:
#operationtype,vstorage_name,datastore_name,mountpath,vmhosts
ERROR: Datastore type must be "nfs" or "vmfs". Detail: line number in input_file.
There is an error in the type of the datastore that requires resignaturing in input_file.
Specify vmfs or nfs for the type of the datastore that requires resignaturing in input_file.
ERROR: Invalid file format. Correct file format should be: #datastore_name,server_name,sharepath. Detail: line number in listfile.
There is an error in the format in line number in listfile.
Modify the format of line number in listfile:
datastore_name,server_name,sharepath
ERROR: Failed to find datastore datastore_name in listfile listfile. Detail: line number in input_file.
The nfs datastore name specified in input_file does not exist in the file listfile.
Check if the datastore name on the corresponding line of input_file is correct.
Check also if the content of the listfile file is correct.
ERROR: Failed to find any host in server server.
There are no hosts on the ESX server.
Check if there is a host on the ESX server. If there is not, add the necessary host.
ERROR: Failed to find host host in server server.
The host described in the input file specified using the input option is not included in vCenter.
Check if the host described in the input file specified using the input option is included in vCenter.
If it is not, add the necessary host.
ERROR: Failed to mount datastore datastore_name to host host1,host2....
From the datastore_name described in the input file specified using the input option, of all of the destination hosts, mounting host1,host2... failed.
Refer to the error details described in the log file, dsmount.log.
For details on the dsmount.log file, refer to "D.3 Logs Regarding the dsmount Command".
Take corrective action based on the causes of the failed mounting, then execute the dsmount.pl command again.
Mounting of datastores may fail depending on the disk recognition process of the VM host on VMware and the timing of execution of the dsmount.pl command. Considering such cases, if the cause of the error is unknown, execute the dsmount.pl command again.
WARNING: Failed to mount datastore datastore_name to all VMhosts (VMhost=host1,host2...). Rcxrecovery command can be executed though the images contained in the datastore will not be imported.
As the mounting destination host is not specified for the datastore_name described in the input file specified using the input option, mounting on all hosts, host1,host2... has failed.
Refer to the error details described in the log file, dsmount.log.
For details on the dsmount.log file, refer to "D.3 Logs Regarding the dsmount Command".
Take corrective action based on the causes of the failed mounting, then execute the dsmount.pl command again.
Mounting of datastores may fail depending on the disk recognition process of the VM host on VMware and the timing of execution of the dsmount.pl command. Considering such cases, if the cause of the error is unknown, execute the dsmount.pl command again.