2697: VSS Locks Partition after Running a Backup

Unlock the partition using diskpart

Symptoms

  1. Using Acronis Backup & Recovery with using Volume Shadow Copy Service or Acronis True Image with Enabled Microsoft VSS support you back up your system;
  2. After the backup, the partition is locked. As a result, Database stops working, because it cannot write data to the locked partition.

Cause

VSS may lock the partition after a backup by changing the partition's attribute to read-only.

Solution 

See Microsoft Knowledge Base Article 840781.

Unlock the partition using diskpart:

  • Click Start -> Run;
  • Issue diskpart;
  • In the command-line issue list disk;
  • select disk [number of the disk that has the locked partition];
  • list partition
  • select partition [number of the locked partition]
  • att vol clear readonly
  • att vol clear nodefaultdriveletter
  • att vol clear hidden
  • att vol clear shadowcopy

Check the partition attributes:

  • detail volume

It should display the following attributes:

  • Readonly: No 
  • Hidden: No

More information

Troubleshoot other VSS-related issues with the free Acronis VSS Doctor tool.

See also Using Acronis True Image to Back Up a System with VSS.

You can also use batch files to stop the database for a second before the snapshot is taken and then immediately start it, while Acronis True Image proceeds with creating the backup. See Using Batch Files in Acronis True Image.

To investigate why exactly the partition was locked up, please do the following:

  1. Use AcronisInfo Utility to collect the necessary information;
  2. Get the VssShadowStorageReport.txt file by issuing the following command:
    vssadmin list shadowstorage > c:\VssShadowStorageReport.txt
  3. Contact Acronis Customer Central with the collected information and a reference to this article.

Tags: 

You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
6 + 11 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.