Cannot delete Shadow Copies or change their storage location if Continuous Protection Server is installed. Error 0x8004231d: The specified shadow copy storage association is in use and so can't be deleted

Article:TECH64257  |  Created: 2008-01-21  |  Updated: 2012-02-15  |  Article URL http://www.symantec.com/docs/TECH64257
Article Type
Technical Solution

Product(s)

Issue



Cannot delete Shadow Copies from Microsoft Volume Shadow Copy Services (VSS) or change their storage location if Continuous Protection Server (CPS) is installed.  The snapshot "shadow copies" (Snapshot GUIDs) also cannot be deleted via Windows Explorer or automatically by Windows. 

 

 


Error



Error 0x8004231d: The specified shadow copy storage association is in use and so can't be deleted

 

 


Cause



This issue occurs if there are active Snapshots in CPS.

 

 


Solution



Step 1:

a. Go to the Properties of a Drive in Windows Explorer.  Go to the Shadow Copies tab.  Select a Drive and click Settings

 
b. Stop the CPS and VSS services and attempt to delete Snapshots by lowering the "Use limit" to 300 MB.
 

 


If this fails, proceed to step 2.


Step 2:

To delete the Snapshots, go to a command prompt (Start > Run > CMD), type the following, and press Enter:

Syntax:

vssadmin delete shadowstorage /for=X: [/on=X:] [/quiet]

Remarks
* X: represents a specific volume
* Deletes an existing shadow copy storage association between volumes specified
* If the /on switch is not used, all shadow copy storage associations will be deleted for the volume specified i the command


If this fails to delete the Snapshot, proceed to step 3


Step 3:

Delete the snapshots under the CPS console:

a. Stop the Volume Shadow Copy Service.

b. Open the CPS console, go to Tools > CPS Services > Restart All Services.

c. Within CPS, click the Setup tab and go to Backup Destinations. Right-click on the backup destination on the drive to delete snapshots and select "View Snapshots".  Delete all snapshots listed.

 

 


d. Open Windows Explorer.  Go to any Properties of any drive and select the Shadow Copies tab.  Click on the desired volume and ensure that the "Used" column reads "0 bytes on X:\" (where X:\ is the current Snapshot destination for VSS).

e.  To re-associate a partition, click Settings, Select the pull down under "Located on this volume:" and select the new destination volume. Set the appropriate limits and click "Ok". Click "Ok" again.

 


If all steps above do not resolve the issue, proceed to step 4.


Step 4:

Reboot the media server
 

Supplemental Materials

Value0x8004231d
Description

Specified shadow copy storage association use and cannot be deleted



Legacy ID



311964


Article URL http://www.symantec.com/docs/TECH64257


Terms of use for this information are found in Legal Notices