Skip to content

VADP Recovery Error “media is write protected.” OR “Error Writing to VMDK: 0 bytes written intstead of”

November 16, 2011

Recovery of a VM using SAN or hotadd transport mode on Windows 2008

When using SAN transport or HotAdd mode on a Windows Server 2008 proxy, make sure to set the Windows SAN policy to onlineAll, otherwise writes produce the error messages “media is write protected.” OR “Error Writing to VMDK: 0 bytes written intstead of”

Perform the following one-time configuration on the proxy host before initiating the recovery:

1. Open a command prompt on the proxy host.

2. Run the following command:

DISKPART

3. Enter SAN and check for the SAN policy.

4. If the policy indicates offline, enable the policy by entering the following:

SAN POLICY=OnlineALL

You can now initiate the VM recovery using san or hotadd mode.

Note 1: If recovery is initiated from a Windows machine other than the proxy, these steps need to be performed on the machine where the recovery is initiated.

 Note 2: For image recovery via SAN mode, ensure that the VADP proxy has read-write access to the SAN LUNs hosting the virtual machines. To ensure read-write access, add the VADP proxy to the same fabric zones to which the ESX server system belongs.

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: