Carbonite Support > Managing VSS Shadowstorage Spa...

Managing VSS Shadowstorage Space for Carbonite Safe Server Backup

  • This article is for Windows only

Summary:

Carbonite Safe Server Backup, like all VSS-based backup applications, requires space for VSS snapshots on any disk which contains data that is part of a backup. This space is known as shadowstorage. Backups will usually fail if there is not enough shadowstorage space for snapshots.

Solution:

The sections below are collapsed. Please click the section title to open / close a particular section.

Automatic Shadowstorage Assignment

CSSB requires shadowstorage for each disk that contains data to be backed up. It will attempt to automatically create shadowstorage and ensure it is the proper size according to the following logic:

  • When you save a backup set, CSSB will check for appropriate shadowstorage on each local disk that is part of the backup set.
    • If no shadowstorage exists at all, CSSB will create shadowstorage and assign it 10% of the drive.
    • If shadowstorage exists, but is assigned less than 10% of the drive, CSSB will increase shadowstorage to 10% of the drive.
    • If shadowstorage exists, but is assigned 10% or more of the drive, CSSB will do nothing.

Only local disks will be managed automatically. If you have an SMB3 network share that is eligible for snapshots, you must manually configure space for snapshots.

Manual Shadowstorage Assignment

You may manage shadowstorage manually via the Windows command prompt using the vssadmin commands, as shown in the following Microsoft Knowledge Base article: https://technet.microsoft.com/en-us/library/cc754968.aspx.

Below are examples of how to add or resize shadowstorage manually.

How to Add Shadowstorage Space if None Exists

To add shadowstorage space if none exists, please follow these steps:

  1. Open an elevated command prompt using the run as administrator option.
    1. To open an elevated command prompt, navigate to your Start menu and search for "cmd". Right-click Command Prompt and select Run as Administrator.
  2. Enter the command: vssadmin add shadowstorage /for=X: /on=X: /maxsize=10%.
    1. You may substitute any drive letter for X: in the above command. This includes allotting space for one drive on another.
      1. For example, if you entered vssadmin add shadowstorage /for=C: /on=D: /maxsize=10%, then any snapshots for the C: drive would be created on the D: drive. This allows you to allot space for snapshots for any drive, even if a drive does not have enough free space to hold them.
    2. You may also substitute other values for the /maxsize value. Examples include 20%, 10GB, 5000MB, and so on.
    3. The vssadmin add shadowstorage command is described in full on Microsoft's website at https://technet.microsoft.com/en-us/library/cc788051.aspx.

How to Resize Existing Shadowstorage Space

Please be cautious if you change the Maximum Shadow Copy Storage space. If you lower the amount of space available, Windows will automatically remove any excess snapshots, starting with the oldest. This is most common when the shadowstorage space is changed from UNBOUNDED to some smaller value, but may occur any time the shadowstorage space is reduced.

CSSB itself does not need old snapshots for any reason. Your backups on disk and/or cloud are safe. However, this may not be true for other applications, especially other backup applications. Please consult your system administrator before resizing your shadowstorage.

To resize existing shadowstorage space, please follow these steps:

  1. Open an elevated command prompt using the run as administrator option.
    1. To open an elevated command prompt, navigate to your Start menu and search for "cmd". Right-click Command Prompt and select Run as Administrator.
  2. Enter the command: vssadmin resize shadowstorage /for=X: /on=X: /maxsize=10%.
    1. You may substitute any drive letter for X: in the above command. This includes allotting space for one drive on another.
      1. For example, if you entered vssadmin resize shadowstorage /for=C: /on=D: /maxsize=10%, then any snapshots for the C: drive would be created on the D: drive. This allows you to allot space for snapshots for any drive,, even if a drive does not have enough free space to hold them.
    2. You may also substitute other values for the /maxsize value. Examples include 20%, 10GB, 5000MB, and so on.
    3. The vssadmin resize shadowstorage command is described in full on Microsoft's website at https://technet.microsoft.com/en-us/library/cc788050.aspx.

How to Verify the Amount of Shadowstorage Space Currently in Use

To verify the amount of shadowstorage space currently in use, please follow these steps:

  1. Open an elevated command prompt using the run as administrator option.
    1. To open an elevated command prompt, navigate to your Start menu and search for "cmd". Right-click Command Prompt and select Run as Administrator.
  2. Enter the command: vssadmin list shadowstorage.
  3. The command will return information on the used, allocated, and maximum shadowstorage space allowed for snapshots.
    1. We are concerned with the Maximum Shadow Copy Storage space value.
  4. Maximum Shadow Copy Storage space must be equal to or be greater than 10% of the drive's size.
    1. If a drive is not listed, then there is no space allotted for snapshots at all. You must add space for the snapshots.
    2. If the Maximum Shadow Copy Storage space for a drive is lower than 10%, please resize the value to 10%.
    3. If the Maximum Shadow Copy Storage space is equal to or higher than 10%, and you have received any of the common errors above, please resize the value to 20%.
    4. If the Maximum Shadow Copy Storage space is set to UNBOUNDED, you should consider resizing the value to 10% or 20%.
      1. When UNBOUNDED, Windows will never automatically delete old snapshots. These snapshots can fill up the entire drive.
Feedback