Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Reclaim disk space

Posted on 2014-07-22
2
Medium Priority
?
451 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 2000 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Suggested Courses

783 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