[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 454
  • Last Modified:

Reclaim disk space

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
JaysonJackson
Asked:
JaysonJackson
1 Solution
 
Lieven EmbrechtsSenior IT ConsultantCommented:
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
 
JaysonJacksonAuthor Commented:
thank you.. I just did this in a test environment and it seemed to work.  I have ISCSI disk.   Thanks again.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now