Avatar of bsternfield
bsternfield
 asked on

Exchange 2013 mailbox migration problem

Hello--

I'm using EMS to migrate 300 mailboxes from our Exchange 2010 server to Exchange 2013 (CU3).  All but 9 of the mailboxes show "completed."  The others show either "stalledduetowritecpu" or "stalledduetowritethrottle"  If I look at the mailboxes in the console, it shows that they're on the correct database.

How do I verify whether the move request has completed or not?  I don't want to suspend or cancel it and risk corrupting anything.
Microsoft Server AppsExchange

Avatar of undefined
Last Comment
bsternfield

8/22/2022 - Mon
Simon Butler (Sembee)

Suspend/Cancel does not corrupt anything.
Move mailbox doesn't actually move the content, it copies it, then verifies it, before deleting it on the source. Therefore it is completely safe.
As such the first thing I would do is suspend them all. Once the suspension is complete start them off again one at a time.

Simon.
bsternfield

ASKER
How do I suspend them?  The command I used to initiate the migration was:

Get-Mailbox -Database <2010 DB> | New-MoveRequest -TargetDatabase <2013 DB> -BatchName "<name>"

I tried suspend-moverequest -identity "user@domain" (for the users with stalled status) and also

get-moverequest -status stalledduetowritecpu | suspend-moverequest

and they both error out.
Simon Butler (Sembee)

When you say they error out, what is the error?

When you run get-moverequest does it show the requests?

Simon.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
bsternfield

ASKER
Error is as follows:

[PS] C:\>get-moverequest -movestatus stalledduetowritecpu | suspend-moverequest
Cannot process argument transformation on parameter 'MoveStatus'. Cannot convert value "stalledduetowritecpu" to type
"Microsoft.Exchange.Data.Directory.Recipient.RequestStatus". Error: "Unable to match the identifier name
stalledduetowritecpu to a valid enumerator name.  Specify one of the following enumerator names and try again: None,
Queued, InProgress, AutoSuspended, CompletionInProgress, Synced, Completed, CompletedWithWarning, Suspended, Failed"
    + CategoryInfo          : InvalidData: (:) [Get-MoveRequest], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-MoveRequest
    + PSComputerName        : argon.xxx.org

And for one of the stalled users, I get the following, which is confusing because that user still shows as stalled when I run the get-moverequeststatistics command

[PS] C:\>suspend-moverequest -identity "xxx@xxx.org"
You can't modify move request 'xxx'  because it has already completed.
    + CategoryInfo          : InvalidArgument: (xxx@xxx.org:MoveRequestIdParameter) [Suspend-MoveRequest], Recipi
   entTaskException
    + FullyQualifiedErrorId : [Server=ARGON,RequestId=1bef0f87-8138-4231-8b1c-c366b383ecdb,TimeStamp=12/22/2013 7:54:0
   2 PM] 26F30416,Microsoft.Exchange.Management.RecipientTasks.SuspendMoveRequest
    + PSComputerName        : argon.xxx.org
bsternfield

ASKER
I just checked the move request status with:

get-moverequest -batchname <name>  and the problem mailboxes show up there as completed, while the output of:

get-moverequeststatistics -moverequestqueue "<name>

shows those mailboxes as stalled.

EMC shows all mailboxes in the correct database.  I still need to migrate mailboxes out of our archive database on the old server, and this fails on each one with the following error:

xxxx@xxx.org,"Mailbox 'xxxx, xxx' has a completed move request associated with it. Before you create a new move request for the mailbox, run the Remove-MoveRequest cmdlet to clear the completed move request.

Running the remove-moverequest cmdlet does clear the mailbox and lets me migrate that user's archive mailbox.  So it appears that the original migration never completed and cleared the move requests, even though all of the mailboxes were migrated?  Is there some way to clear all of the move requests without having to do it for each mailbox?
ASKER CERTIFIED SOLUTION
Simon Butler (Sembee)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
bsternfield

ASKER
Thanks, I was able to clear the move requests with that command.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.