Where’s my disk space?

I have worked a few customer cases lately that have had the same issue. Explorer shows that a disk has plenty of disk space available. When you look at the same disk in Disk Management, you see that it is almost full.

 

One thing that can cause this is leftover shadow copies. Some backup software will create a persistent shadow copy and after they have backed up the shadow copy to the designation, they fail to delete the original copy that is stored on the volume.

 

Here’s an example:

 

Drive F: on your server is backed up weekly. This drive stores files for users on your network. When checking in Explorer, you notice that it says you have 250GB of free space left. You look in Disk Management and you notice that the F: drive only shows to have 10GB of free space left. Some of my customers have noticed the difference in disk space after running a chkdsk also.

 

The first thing that I have had my customers do is go to the properties of the drive in Explorer and then click on the Shadow Copies tab. When you look here, you can see that there is space being used for Shadow Copies on the drive.

 

clip_image001[4]

 

A word of caution: Avoid deleting snapshots if you don’t need to. They may have been setup so that users could revert to Previous Copies of their files.

If you do not need these shadow copies, then there are two ways that you can delete them.

 

1. Use the VSSAdmin Delete Shadows command.

Example:

Vssadmin delete shadows /For=F:

 

clip_image003[4]

 

2. In some cases, the shadow copies could not be deleted this way. In order to remove the shadow copies, we had to set the maximum storage down to 300MB and Windows deleted the entries automatically.

 

clip_image004[4]

 

Once you set the maximum to 300MB and click on OK, any shadow copies that are over 300MB will be removed from the drive and your drive space should be reclaimed.

 

“But Wait AskCore, I am missing space on a drive that has no data on it and on the Shadow Copies tab, it shows that there’s not any space used for shadow copies.”

This too could be shadow copies also. There is a term called “Shadow Storage” that is used to describe where the shadow copies of a drive will be stored. You can choose the have the shadow copies for a drive to be stored on another drive.

 

Here’s an example:

 

I have an E: drive with data on it, but don’t want to use my free space to store shadow copies of the drive, so I am going to place the shadow copies on my F: drive. In order to set this up, go to the properties of the E: drive and then click on the Shadow Copies tab. Select the E: drive and then click on Settings. The following dialog box will pop-up.

 

clip_image006[4]

 

Under the “Located on this volume:” option, you can click the drop-down and select another drive to store the shadow copies on. In this case, I have chosen my F: drive.

 

After changing these settings, any snapshot of the E: drive that I create will be stored on the F: drive. My F: drive on this machine has nothing on it, but after taking some snapshots, Explorer will show that space has been used even though I can’t see any files.

clip_image007[4]

clip_image009[4]

When looking on the Shadow Copies tab, the F: drive doesn’t show to use any space for shadow copies. If you notice beside the E: drive, it states that it is using 300MB on the F: drive. By default, this column is too narrow to see past 300MB, so you may not realize that the F: drive is being used for storage.

clip_image010[4]

 

 

Well, there you have it. I hope that this helps you out.

James Burrage
Senior Support Escalation Engineer
Microsoft Enterprise Platforms Support.