ASR Backup fails as the C:\ partition exceeds 300GB.

Hi,

Wondering if anyone can shed any light here, we have a Terminal Server that we are trying to set up with ASR, the person that originally set the TS up created a 1 TB Dynamic disk from the Hyper-V Host before extending the C:\ partition into this unallocated space.

End result is a 1TB C:\

Unfortunately we can't shrink this down whilst the TS is on, we have tried defragmenting and shrinking the disk down but the original image for the TS came from some heavily fragmented Laptop disks which I am led to believe is the cause, due to files that sit at the end of the disk and can't be moved whenever we try to carry out a shrink operation on the disk.


If we try to set up ASR we get an error message on the Azure portal stating that the local C:\ exceeds the 300GB limit.

I'm at a bit of a loss really with what to do next, we have tried defragment, disabling hibernate, shadow copies, pagefile, and we are still unable to shrink the partition due to the above issues.

My next thought was to try using Windows Server Backup to backup the existing C:\ volume, my concern is though that this backup will just back the C:\ as a 1TB partition despite the C:\ only using 270 odd GB of this.

Other thought was to use Storagecraft to backup the TS before conducting a shrink on the partition from Storagecrafts recovery environment although I do believe their technology uses Microsofts inbuilt shrink so we could potentially run into the same issues.

do any of you tech gurus have any suggestions as to how I can shrink this C:\ down to less than 300GB or somehow get ASR to accept and backup a Generation 1 C:\ volume larger than 300GB.

Many thanks

Tim
Tim ElseAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
What server OS?
What is ASR in this context? (could mean several things)
0
Tim ElseAuthor Commented:
Windows Server 2016 Virtualised

ASR is Microsoft Azure Site Recovery (Failover).
0
McKnifeCommented:
Can you use a setup ISO and boot it at the hypervisor? From that setup ISO, partition operations are easily done offline (OS not running) using diskpart on the command line.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Tim ElseAuthor Commented:
Hi McKnife,

We have tried both shrink and diskpart whilst the OS is running and this hasn't worked, do you think we would have more joy trying to use diskpart whilst the VM is offline?

The issue is with specific files that sit at the end of the disk that can't be moved whenever we try to run a shrink/diskpart operation while it's online.

I ask as whether the OS is running or not the disk fragmentation issue is still the same?

Kind regards,
Tim
0
McKnifeCommented:
"do you think we would have more joy trying to use diskpart whilst the VM is offline? " - yes, that is why I am suggesting it: offline is more fun, it simply works, while online, you won't be able to shrink to less than 50% (if at all).
0
Tim ElseAuthor Commented:
I will propose this as a solution, we are hesitant to test this on the live VM so will need to shutdown and copy the .VHDX first and attempt this solution on that.

Thanks for your input, I'll report back on findings.
0
noxchoGlobal Support CoordinatorCommented:
You can shrink it using third party partitioning tool. Will take some time but it will be less than taking backup and restoring it.
0
Tim ElseAuthor Commented:
We managed to resolve this by using Easeus Partition Master in the end.

I did attempt a Diskpart from a Windows recovery disc but this still failed.

Thanks for your insight anyway.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
McKnifeCommented:
It failed how, if I may ask? What was the error message?
0
noxchoGlobal Support CoordinatorCommented:
Wasn't it me who suggested to use a third party partitioning tool which you've used at the end?
0
Tim ElseAuthor Commented:
Thanks both, Noxcho we had already decided to try a third party partition manager before I saw your comment, but I appreciate your input none the less. Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.