Solved

Reclaim disk space

Posted on 2014-07-22
2
425 Views
Last Modified: 2014-07-22
I have a windows 2008 server that I would like to recover some disk space it has allocated.
The server is running on a VM and running MSQL. The database at one time was running all on the “C” drive (disk 0).   I have moved the DB to different disk (disk 1 and disk 2) in doing this I now have Disk 0 with 727 GB of unallocated disk space and another 500 GB that I can reclaim from the active partition. How do I remove the unallocated disk space from Disk 0?
This is running on a SAN as well.
disk-space.png
0
Comment
Question by:JaysonJackson
2 Comments
 
LVL 9

Accepted Solution

by:
Lieven Embrechts earned 500 total points
ID: 40212701
Best option is to create a NEW volume, and migrate the data to the new volume, and then delete the old volume.

You didn't describe your san. is it iscsi ? with direct native iSCSI mounted volumes this can be challenging  If you are using a virtual machine (with virtual disks) you can reclaim storage by creating a new VMFS datastore, using sdelete to zero out unused space (within the Windows OS), then performing a storage migration and choosing "thin" provisioning on the virtual disk. While still requiring a new (VMFS) volume, the virtualized disk can be left intact avoiding any reconfiguration within the Windows server itself.
0
 

Author Closing Comment

by:JaysonJackson
ID: 40212767
thank you.. I just did this in a test environment and it seemed to work.  I have ISCSI disk.   Thanks again.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question