Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

VMware vCenter Server Site Recovery Manager test failover fails with the error: Unable to recover datastore (1008283)

Last Updated: 9/16/2015Categories: TroubleshootingTotal Views: 24125Language:
Portuguese (European)JapaneseSpanishEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Details

Site Recovery Manager (SRM) test failover fails

Cannot perform SRM test failover

You see this error:

Error: Unable to recover datastore

The vmware-dr.log file shows an error similar to this:

[#7]},
[#7]reason = (vmodl.MethodFault) null,
[#7]msg = "",
[#7]}

The vmware-dr.log file shows an error similar to:

[2010-03-22 12:30:54.472 07456 warning 'SecondarySanProvider'] Failed to prepare shadow vm for recovery: (dr.san.fault.RecoveredDatastoreNotFound) {
[#2] dynamicType = <unset>,
[#2] faultCause = (vmodl.MethodFault) null,
[#2] datastore = (dr.vimext.SanProviderDatastoreLocator) {
[#2] dynamicType = <unset>,
[#2] primaryUrl = "sanfs://vmfs_uuid:4ba32868-c2b59bc2-8e91-0024e82f80a3/",
[#2] },
[#2] reason = (vmodl.MethodFault) null,[#2] msg = "",

Solution

This issue might occur under one of these circumstances:

The storage array is unable to discover the snapshots of failed-over LUNs during SRM test and recovery.

Two instances of the same datastore occur on the Disaster Recovery site. The datastores have the same data, but different names. When you perform a rescan of the HBA on the DR site, one of the datastores disappears.

To resolve this issue:

Note: This resolution applies only to iSCSI and FC datastores.

Ensure that SRM is configured to see your storage array. For more information, see Site Recovery Manager test failover with iSCSI LUNs fails with the error: failed to recover datastore (1010240).

Some storage arrays require a second rescan to discover the snapshots of failed-over LUNs. To enable an additional rescan:

On SRM 5.1.1 and later versions, a new setting is available that allows you to delay the rescans after an SRA promotes a storage device, called hostRescanRescanDelaySec. This removes the need for multiple rescans.

To set the hostRescanRescanDelaySec value:

Open the vSphere Web client.

Right-click the SRM site that you want to modify and select Advanced Settings.

Click StorageProvider.

Set the storageProvider.hostRescanDelaySec parameter to delay the storage rescans for few seconds. Values ranging from 20 to 180 seconds are recommended.

Log in to the SRM server and restart the SRM service to apply the change.

For more information about the new hostRescanRescanDelaySec variable, seeSRM 5.1.1 Resolved issues

In earlier versions of SRM 5.1, use the Advanced Settings > StorageProvider dialog to set the hostRescanRepeatCnt parameter.

Note: The hostRescanRepeatCnt parameter is not available in SRM 5.0. It was introduced in SRM 5.0.1.

On SRM 4.x, use the Advanced Settings > SanProvider dialog to set the hostRescanRepeatCnt parameter.

On SRM versions prior to 4.0, edit the vmware-dr.xml file and set the host rescan count value to 2:

Note: The vmware-dr.xml file is located in these directories depending on the operating system of SRM server. For 64-bit, the location is C:\Program Files(x86)\VMware\VMware Site Recovery Manager\config. For 32-bit, the location is C:\Program Files\VMware\VMware Site Recovery Manager\config.

Open the vmware-dr.xml file using a plain text editor.

Add the <hostRescanRepeatCnt> element within the <SanProvider> element.

Note: The <hostRescanRepeatCnt> element is available with SRM 1.0 Update 1 and later.

Set the value of <hostRescanRepeatCnt> to 2. For example, the <SanProvider> element must be similar to this:

<SanProvider>
.
.
<hostRescanRepeatCnt>2</hostRescanRepeatCnt>
.
.
</SanProvider>

Restart the SRM server.

For more information, see:

Site Recovery Manager Administration Guide

Site Recovery Manager test failover with iSCSI LUNs results in error: "failed to recover datastore" (1010240)

Additional Information
For translated versions of this article, see:

日本語: VMware vCenter Server Site Recovery Manager のテスト フェイルオーバーに次のエラーで失敗する：データストアをリカバリできません (2110628)

Português: O failover de teste do Site Recovery Manager do VMware vCenter Server falha com o seguinte erro: Unable to recover datastore (2131367)

Español: La prueba de conmutación por error de VMware vCenter Server Site Recovery Manager presenta el siguiente error: Unable to recover datastore (2132256)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
VMware Tools を使用して、特定の VSS ライタを無効にするについて (1031200)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Site Recovery Manager

Related Versions:

VMware vCenter Site Recovery Manager 5.5.x

VMware vCenter Site Recovery Manager 5.1.x

VMware vCenter Site Recovery Manager 5.0.x

VMware vCenter Site Recovery Manager 4.1.x

VMware vCenter Site Recovery Manager 4.0.x

VMware vCenter Site Recovery Manager 1.0.x

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant