Skip to main content

Shadowcopy storage on 100% when rebooting during backup

Thread needs solution
Regular Poster
Posts: 198
Comments: 120

Dear ladies and gentlemen,

over a longer period of time we had the shadowcopy storage set to 100% on some machines, not knowing what was causing this.
Now we found out, Acronis 11.7 does this by design: Somewhere about the creation of the VSS snapshot, the shadowcopy storage is set to 100% and reduced to 5% (Windows default) afterwards.
When rebooting the machine during an active backup task, shadowcopy storage is not reset to 5% (but sits at 100%).

Workaround

The idea is to set the shadowcopy storage to 5% before every task.

Windows' VSS providers are able to be configured by vssadmin. The following sets the value to 5%
vssadmin resize shadowstorage /for=C: /on=C: /maxsize=5%

The command is working when typed into cmd and from batch file, but not when launched from Pre-backup command.

 

Errorlog from AB 11.7

Fehlercode: 1024
Module: 0
Zeileninfo: 858cc05f488a8dcc
Felder:  ExitCode : 2, $module : mms_vs_50088
Nachricht: Child-Prozess endete mit dem Code '2'.
--------------------
Fehlercode: 3
Module: 167
Zeileninfo: 6bf76712d83410c4
Felder:  $module : mms_vs_50088
Nachricht: Ausführen des Befehls 'vssadmin 1.1 - Verwaltungsbefehlszeilenprogramm des Volumeschattenkopie-Dienstes
(C) Copyright 2001-2005 Microsoft Corp.

Error: Unerwarteter Fehler bei einer Komponente des Volumeschattenkopie-Diensts.
Weitere Informationen finden Sie im Anwendungsereignisprotokoll.

 

Windows Errorlog

0050: 2D 20 43 4D 44 3A 20 20 - CMD:
0058: 76 73 73 61 64 6D 69 6E vssadmin
0060: 2E 65 78 65 20 72 65 73 .exe res
0068: 69 7A 65 20 73 68 61 64 ize shad
0070: 6F 77 73 74 6F 72 61 67 owstorag
0078: 65 20 2F 46 6F 72 3D 43 e /For=C
0080: 3A 20 2F 4F 6E 3D 43 3A : /On=C:
0088: 20 2F 6D 61 78 73 69 7A /maxsiz
0090: 65 3D 35 25 20 20 20 20 e=5%

  Error 1

  <Data>{0b5a2c52-3eb9-470a-96e2-6c6d4570e40f}</Data>

  <Data>Coordinator</Data>

  <Data>0x80040154, Klasse nicht registriert</Data>

 

 Error 2

  <Data>CoCreateInstance</Data>

  <Data>0x80040154, Klasse nicht registriert</Data>

  <Data />

 

Any Idea would be great.
Kind regards

0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 250
Comments: 7092

You may want trying to use the Windows Task Scheduler as workaround to control the size of the shadowstorage.  Schedule the execution several minutes prior the backup plan start. 

Regular Poster
Posts: 198
Comments: 120

Thanks for the reply.

I would like to set the size of the shadowcopy by pre-backup command, as backup tasks cause the problem (so they fix it themselves).

Do you have an idea, how to make it work? As mentioned above: CMD and batch files are working, pre-backup is not.

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 250
Comments: 7092

If Windows scheduler is not an option, please raise a support ticket at https://www.acronis.com/en-eu/support/contact-us/ so that our engineers can investigate why the pre/post commands do not allow using this script.