Increasing the WMI create disk time-out value
It can take a long time to create a large virtual disk of type fixed (as opposed to a dynamic virtual disk). If a Hyper-V VM with a large fixed disk was backed up with the WMI method and is then restored, note: The restore job may time out before the restored virtual disk is fully written. The restore job fails with status 2821 and the VM's data is not restored.
Note:
The default time-out period for Hyper-V disk creation is 24 hours.
Do the following to allow the restore job to complete.
To increase the WMI create disk time-out value
- Use the NetBackup nbsetconfig command as follows:
nbsetconfig -h host
Where host is the name of the NetBackup primary server where the configuration is to be updated.
- At the nbsetconfig prompt, enter the following to allow more time for creation of the virtual disk.
This example sets the period to 48 hours:
HYPERV_WMI_CREATE_DISK_TIMEOUT = 48
The range for HYPERV_WMI_CREATE_DISK_TIMEOUT is 0 hours to 240 hours.
Note:
A value of 0 means the restore job never times out during virtual disk creation.
- To escape the command, enter the following:
On UNIX: ctl-D
On Windows: ctl-Z
More information on the nbsetconfig command is available in the NetBackup Commands Reference Guide.