2

We sell an integrated system, where we use a set of SSDs as exchangeable data storage. The system has a built-in Compact-Flash disk used for the OS (Windows 10) and several SSDs attached via SATA in removable enclosures that store recorded data.

The system works quite well, but since we're stressing the SSDs to their data rate limit, disk performance is absolutely critical. Now we observed that sometimes, the "System Volume Information" folder on the removable disks start growing and if that happens, the disks eventually become significantly slower. Reformatting the disks gets the performance back.

I wonder what these folders contain and whether there's anything useful in them? I actually think that Windows is writing backup information from the C: drive out there, although that would be completely pointless - the drives are later removed and eventually put into a different system or formatted before reuse.

  • Is there a way I can tell the Volume Shadow Service not to use these drives at all? vssadmin lets me configure a few things, but it doesn't seem possible to set the shadow size to 0 for a specific volume.
  • Or should I just completely disable the VSS service? What risks does that have? If the OS breaks, the standard procedure is anyway to re-flash it.
2
  • Have you got system restore turned on for this drive? Commented Jun 29, 2021 at 11:41
  • @djones It seems to be off alltogether. It is definitely not enabled for the removable drives - at least not willingly.
    – PMF
    Commented Jun 29, 2021 at 11:42

2 Answers 2

1

Among others, Windows uses the System Volume Information folder for System Protection, which will then track changes of files that Windows considers need protection.

Check in Control Panel > System > Advanced system settings > System Protection if Protection is enabled for the drives.

If it is enabled, then disable it.


To view the contents of the System Volume Information directory, using the PsExec utility:

  • Run PowerShell with SYSTEM privileges:

       "C:\path\PsExec.exe" -i -s powershell.exe
    
  • To view the contents of the folder, enter the command:

      Get-ChildItem 'X:\System Volume Information\'
    
  • The folder size can be found with:

      (Get-ChildItem 'C:\System Volume Information\' | measure Length -s).sum
    
3
  • They're all off. And there are no system files on any of the external disks (not even anything executable)
    – PMF
    Commented Jun 29, 2021 at 11:07
  • I added more info on how to find what this growing data is in the folder.
    – harrymc
    Commented Jun 29, 2021 at 12:40
  • I'll test this and report back. It takes a bit of trying to get the system into the undesired state.
    – PMF
    Commented Jun 30, 2021 at 6:46
-1

This does not look like a VSS problem.

VSS is not enabled by default for removable drives.

The issue you actually have: people delete files from the removable drives to "recycle bin", not permanently. So basically some meta-files end up moved in the "System Volume Information" folder.

Just train users to permanently delete their removable data (like using Shift+Delete) or to use a proper file manager.

If VSS and recycled files are not causing it, it may be a 3rd party program doing something.

4
  • Even though the drives are physically removable, Windows recognizes them as fixed (we even put great effort in supporting unmounting them, but finally gave up because it was not working reliably and would cause the disk management to hang).
    – PMF
    Commented Jun 29, 2021 at 8:11
  • 2
    Are you sure that files that are moved to the recycle bin end up in the System Volume Information folder? Isn't that what the $Recycle.Bin folder is for?
    – PMF
    Commented Jun 29, 2021 at 8:14
  • 1
    Recycle bin is NOT in System Volume Information Commented Jun 29, 2021 at 11:34
  • I did not explained clearly, not the actual deleted files, but some meta-data. Anyway, it should be investigated if the size of SVI is excessive.
    – Overmind
    Commented Jul 2, 2021 at 7:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .