Solved

How do I maximize the amount I am able to shrink a volume in Server2008 R2

Posted on 2011-02-24
7
761 Views
Last Modified: 2012-05-11
We have a couple of 2TB hard drives that were mistakenly put in a RAID 0 configuration producing a 4TB volume. Our imaging software has a 2TB limit on source drives so we thought we could just shrink the partition since there is only about 250GB of data stored on it.

After querying the volume for available shrink space Disk Management reports the resultant drive would still be over 2TB.

What strategies can you recommend to maximize the available shrink space?

Note: This is a data drive not an OS drive, it has no paging file. Fragmentation of the volume is only 3%. There are shadow copies on this drive.


0
Comment
Question by:juniorsa
  • 3
  • 2
  • 2
7 Comments
 
LVL 1

Expert Comment

by:jeff77tor
ID: 34974910
Maybe I'm way off base, but I'm guessing you're over-complicating things.

You say the the RAID 0 config was a mistake and you want to take an image of the drive, but it is not an system (OS) drive. From that, I'm guessing you want to break the volume and configure as a RAID 1 (or something along those lines?)

Because this is not a system drive, I wouldn't think that imaging is necessary. Just use Windows Server Backup to make a backup of the files on the 4TB volume. This will preserve file permissions as well. You can use optical or removable media, just like your imaging software probably does.

Next, you can just delete the partition and create it with the correct configuration. Followed by restoring the files back to the new volume of the correct size.

In theory, none of this would require a reboot. So long as the RAID is handled by the OS or you don't want to change it.

Hope this helps.
0
 

Author Comment

by:juniorsa
ID: 34974971
Does Windows Backup store the share information so that when the data is restored all the shares and permissions are recreated?
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 34975776
No, the share information is stored in the registry under the lanmanserver service. In fact, if you just blow away the disk without deleting the directories (and shares), you can recreate the disk, restore the data, and then reenable the original shares and permissions by restarting the Server service. This does disrupt remote connections. Otherwise you need recreate the shares after you restore the data.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:juniorsa
ID: 34976055
So without rebooting:

Use Windows backup to backup drive E: to external drive.
Delete Raid 0 partition.
Create new Raid 1 disk
Create partition
restore files to new drive E:

Reboot and everything is back where it was before?

All shares, permissions...
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 34976059
Correct. It's almost magic. ;-)
0
 

Author Comment

by:juniorsa
ID: 34999891
I guess we got off track.

The question was how to shrink the drive, does anyone have any advice on how to compact all the used space at the front of the drive?

I have tried defrag, which only makes sure that all files are contiguous, but not packing all files together.

Thanks,

0
 
LVL 1

Accepted Solution

by:
jeff77tor earned 500 total points
ID: 35001191
Diskeeper will perform a full defragmentation of the disk, including consolidation of free space and the current version does run on Server 2008 R2. You might not be able to shrink it to anything smaller because it is a spanned volume. The span might need to occupy a portion of both disks.

I'm sticking with my original advice.
- Abandon the original plan and don't bother trying to shrink the volume
- Backup the data
- Stop the Server service
- Delete the partition(s) and volume in question
- Create your Raid 1 volume
- Restore the data
- Start the Server service
- Done

This should not take any more than an hour given you only have 250 GB of data.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

840 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