Mailbox in 2 databases after Move
Exchange 2010-SP3, Rollup7. Running on vSphere, Server 2008-R2
On September 26, 2014 I moved 2 mailboxes from MB1 to MB2 as a test. The next day I moved the mailboxes back from MB2 to MB1. I ran this PS script:
Get-MailboxStatistics -Database "MB01" | Sort totalitemsize -desc | select Database, DisplayName, TotalItemSize
Get-MailboxStatistics -Database "MB02" | Sort totalitemsize -desc | select Database, DisplayName, TotalItemSize
The users mailbox shows up in both Databases.
My Questions:
1. Will the mailboxes under MB02 delete once the retention period has expired?
2. If the mailbox is on Litigation Hold, will the retention be ignored, thus leaving the mailbox in 2 databases indefinitely?
Thanks.
That is by design:
http://technet.microsoft.com/en-us/library/bb232039(v=exchg.141).aspx
Soft-deleted mailboxes When mailboxes are moved from a Microsoft Exchange Server 2010 Service Pack 1 (SP1) database to any other database, Exchange doesn't fully delete the mailbox from the source database upon completion
of the move. Instead, the mailbox in the source mailbox database is switched to a
soft-deleted state. With soft-deleted mailboxes, you can use the
MailboxRestoreRequest cmdlet set to access mailbox data during a mailbox restore operation. Soft-deleted mailboxes are retained in the source database until either the deleted mailbox retention period expires or until the
Remove-StoreMailbox cmdlet is used to purge the mailbox. For more information, see
Restore a Soft-Deleted Mailbox.
Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.
Similar Messages
-
Move mailbox to another database failed with MapiExceptionNoSupport
I am getting a failure when I try to move certain mailboxes from one database to another on my Exchange 2010 environment. Everything I find on the web shows something about permissions and seems to all be related to a Exchange 2003 to 2010 migration. The
fix is to use PFDAVAdmin which seems to be old and I can't really tell if it supports 2010.
Here is the logs (Notice the different build numbers of the mailbox servers... however I verified that bot hservers are the same build)
1/3/2015 2:26:53 PM [MBX05] 'cloud.local/Service Accounts/Cloud Admin' created move request.
1/3/2015 2:26:53 PM [MBX05] 'cloud.local/Service Accounts/Cloud Admin' allowed a large amount of data loss when moving the mailbox (1000 bad items).
1/3/2015 4:26:31 PM [CAS01] The Microsoft Exchange Mailbox Replication service 'CAS01.cloud.local' (14.3.178.0 caps:07) is examining the request.
1/3/2015 4:26:31 PM [CAS01] Connected to target mailbox 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)', database 'DAGMBX12', Mailbox server 'MBX04.cloud.local' Version 14.3 (Build 123.0).
1/3/2015 4:26:32 PM [CAS01] Connected to source mailbox 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)', database 'DAGMBX01', Mailbox server 'MBX05.cloud.local' Version 14.3 (Build 210.0).
1/3/2015 4:26:32 PM [CAS01] Request processing started.
1/3/2015 4:26:32 PM [CAS01] Source mailbox information before the move:
Regular Items: 23075, 3.472 GB (3,728,375,254 bytes)
Regular Deleted Items: 0, 0 B (0 bytes)
FAI Items: 32, 0 B (0 bytes)
FAI Deleted Items: 0, 0 B (0 bytes)
1/3/2015 4:26:33 PM [CAS01] Initializing folder hierarchy in mailbox 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)': 57 folders total.
1/3/2015 4:26:34 PM [CAS01] Folder hierarchy initialized for mailbox 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)': 57 folders total.
1/3/2015 4:26:34 PM [CAS01] Stage: CreatingInitialSyncCheckpoint. Percent complete: 15.
1/3/2015 4:26:39 PM [CAS01] Stage: LoadingMessages. Percent complete: 20.
1/3/2015 4:26:44 PM [CAS01] Stage: CopyingMessages. Percent complete: 25.
1/3/2015 4:26:44 PM [CAS01] Copy progress: 0/23106 messages, 0 B (0 bytes)/3.472 GB (3,728,375,120 bytes).
1/3/2015 4:26:44 PM [CAS01] Messages have been enumerated successfully. 23106 items loaded. Total size: 3.472 GB (3,728,375,120 bytes).
1/3/2015 4:31:44 PM [CAS01] Stage: CopyingMessages. Percent complete: 33.
1/3/2015 4:31:44 PM [CAS01] Copy progress: 16936/23106 messages, 436.4 MB (457,646,004 bytes)/3.472 GB (3,728,375,120 bytes).
1/3/2015 4:36:45 PM [CAS01] Stage: CopyingMessages. Percent complete: 49.
1/3/2015 4:36:45 PM [CAS01] Copy progress: 17818/23106 messages, 1.193 GB (1,281,346,187 bytes)/3.472 GB (3,728,375,120 bytes).
1/3/2015 4:41:45 PM [CAS01] Stage: CopyingMessages. Percent complete: 64.
1/3/2015 4:41:45 PM [CAS01] Copy progress: 18892/23106 messages, 1.939 GB (2,081,746,911 bytes)/3.472 GB (3,728,375,120 bytes).
1/3/2015 4:46:46 PM [CAS01] Stage: CopyingMessages. Percent complete: 77.
1/3/2015 4:46:46 PM [CAS01] Copy progress: 20510/23106 messages, 2.626 GB (2,820,040,240 bytes)/3.472 GB (3,728,375,120 bytes).
1/3/2015 4:51:46 PM [CAS01] Stage: CopyingMessages. Percent complete: 86.
1/3/2015 4:51:46 PM [CAS01] Copy progress: 21657/23106 messages, 3.047 GB (3,271,846,706 bytes)/3.472 GB (3,728,375,120 bytes).
1/3/2015 4:54:56 PM [CAS01] Initial seeding completed, 23106 items copied, total size 3.472 GB (3,728,375,120 bytes).
1/3/2015 4:54:56 PM [CAS01] Changes reported in source 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)': 0 changed folders, 0 deleted folders, 0 changed messages.
1/3/2015 4:54:56 PM [CAS01] Incremental Sync 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)' completed: 0 changed items.
1/3/2015 4:54:56 PM [CAS01] Stage: IncrementalSync. Percent complete: 95.
1/3/2015 4:54:56 PM [CAS01] Final sync has started.
1/3/2015 4:54:57 PM [CAS01] Changes reported in source 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)': 0 changed folders, 0 deleted folders, 0 changed messages.
1/3/2015 4:54:57 PM [CAS01] Incremental Sync 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)' completed: 0 changed items.
1/3/2015 4:55:01 PM [CAS01] Fatal error MapiExceptionNoSupport has occurred.
Error details: MapiExceptionNoSupport: IExchangeFastTransferEx.TransferBuffer failed (hr=0x80040102, ec=-2147221246)
Diagnostic context:
Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=773]
Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=513][latency=15]
Lid: 23226 --- ROP Parse Start ---
Lid: 27962 ROP: ropFXDstCopyConfig [83]
Lid: 27962 ROP: ropTellVersion [134]
Lid: 27962 ROP: ropFXDstPutBufferEx [157]
Lid: 17082 ROP Error: 0x80040102
Lid: 31329
Lid: 21921 StoreEc: 0x80040102
Lid: 27962 ROP: ropExtendedError [250]
Lid: 1494 ---- Remote Context Beg ----
Lid: 1238 Remote Context Overflow
Lid: 25000
Lid: 24936
Lid: 4367 StoreEc: 0x80040102
Lid: 7695 StoreEc: 0x80040102
Lid: 19936
Lid: 4559 StoreEc: 0x80040102
Lid: 21802
Lid: 19994 StoreEc: 0x80040102
Lid: 20202
Lid: 3305 StoreEc: 0x80040102
Lid: 32762 dwParam: 0xE080003
Lid: 32762 dwParam: 0xE230003
Lid: 32762 dwParam: 0xE270102
Lid: 32762 dwParam: 0xE580102
Lid: 32762 dwParam: 0xE590102
Lid: 32762 dwParam: 0xF000102
Lid: 32762 dwParam: 0xFF40003
Lid: 32762 dwParam: 0x10F4000B
Lid: 32762 dwParam: 0x10F5000B
Lid: 32762 dwParam: 0x10F6000B
Lid: 32762 dwParam: 0x300184B0
Lid: 32762 dwParam: 0x300484B0
Lid: 32762 dwParam: 0x3FE5000B
Lid: 32762 dwParam: 0x361C0102
Lid: 32762 dwParam: 0x361384B0
Lid: 32762 dwParam: 0x36170003
Lid: 26346
Lid: 4073 StoreEc: 0x80040102
Lid: 28570 StoreEc: 0x80040102
Lid: 29738
Lid: 3401 StoreEc: 0x80040102
Lid: 1750 ---- Remote Context End ----
Lid: 26849
Lid: 21817 ROP Failure: 0x80040102
Lid: 22630
at Microsoft.Exchange.MailboxReplicationService.AsynchronousTransmitter.WaitUntilDataIsProcessed()
at Microsoft.Exchange.MailboxReplicationService.AsynchronousTransmitter.Microsoft.Exchange.MailboxReplicationService.IDataImport.ImportBuffer(Int32 opcode, Byte[] data)
at Microsoft.Exchange.MailboxReplicationService.AsynchronousTransmitter.Microsoft.Exchange.MailboxReplicationService.IDataImport.Flush()
at Microsoft.Exchange.MailboxReplicationService.ProgressTrackerTransmitter.Microsoft.Exchange.MailboxReplicationService.IDataImport.Flush()
at Microsoft.Exchange.MailboxReplicationService.FxProxyTransmitter.Microsoft.Exchange.MailboxReplicationService.IFxProxy.Flush()
at Microsoft.Exchange.MailboxReplicationService.LocalSourceFolder.Microsoft.Exchange.MailboxReplicationService.ISourceFolder.CopyTo(IFxProxy destFolderProxy, PropTag[] excludeTags)
at Microsoft.Exchange.MailboxReplicationService.SourceFolderWrapper.<>c__DisplayClass1.<Microsoft.Exchange.MailboxReplicationService.ISourceFolder.CopyTo>b__0()
at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation)
at Microsoft.Exchange.MailboxReplicationService.SourceFolderWrapper.Microsoft.Exchange.MailboxReplicationService.ISourceFolder.CopyTo(IFxProxy destFolder, PropTag[] excludeTags)
at Microsoft.Exchange.MailboxReplicationService.MailboxCopierBase.CopyFolderProperties(FolderRecWrapper folderRec, ISourceFolder sourceFolder, IDestinationFolder destFolder, FolderRecDataFlags dataToCopy)
at Microsoft.Exchange.MailboxReplicationService.MailboxMover.<>c__DisplayClass2.<>c__DisplayClass4.<FinalSyncCopyAllFolders>b__1()
at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation)
at Microsoft.Exchange.MailboxReplicationService.MailboxMover.<>c__DisplayClass2.<FinalSyncCopyAllFolders>b__0(FolderRecWrapper folderRec, EnumFolderContext ctx)
at Microsoft.Exchange.MailboxReplicationService.FolderMap.EnumSingleFolder(FolderRecWrapper folderRec, EnumFolderContext ctx, EnumFolderCallback callback, EnumHierarchyFlags flags)
at Microsoft.Exchange.MailboxReplicationService.FolderMap.EnumSingleFolder(FolderRecWrapper folderRec, EnumFolderContext ctx, EnumFolderCallback callback, EnumHierarchyFlags flags)
at Microsoft.Exchange.MailboxReplicationService.FolderMap.EnumSingleFolder(FolderRecWrapper folderRec, EnumFolderContext ctx, EnumFolderCallback callback, EnumHierarchyFlags flags)
at Microsoft.Exchange.MailboxReplicationService.MailboxMover.FinalSyncCopyAllFolders()
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.<FinalSync>b__4d(MailboxMover mbxCtx)
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.ForeachMailboxContext(MailboxMoverDelegate del)
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.FinalSync(Object[] wiParams)
at Microsoft.Exchange.MailboxReplicationService.CommonUtils.CatchKnownExceptions(GenericCallDelegate del, FailureDelegate failureDelegate)
Error context: --------
Operation: IMapiFxProxy.ProcessRequest
OpCode: TransferBuffer
DataLength: 1023
Operation: IMapiFxProxy.ProcessRequest
OperationSide: Target
Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)
OpCode: TransferBuffer
DataLength: 1023
1/3/2015 4:55:01 PM [CAS01] Relinquishing job.
1/5/2015 9:14:17 AM [MBX05] 'cloud.local/Service Accounts/Cloud Admin' resumed move request.
1/5/2015 9:14:22 AM [CAS01] Job resumed with status 'InProgress'.
1/5/2015 9:14:22 AM [CAS01] Relinquishing job.
1/5/2015 9:14:28 AM [CAS01] The Microsoft Exchange Mailbox Replication service 'CAS01.cloud.local' (14.3.178.0 caps:07) is examining the request.
1/5/2015 9:14:28 AM [CAS01] Connected to target mailbox 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)', database 'DAGMBX12', Mailbox server 'MBX04.cloud.local' Version 14.3 (Build 210.0).
1/5/2015 9:14:28 AM [CAS01] Connected to source mailbox 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)', database 'DAGMBX01', Mailbox server 'MBX05.cloud.local' Version 14.3 (Build 210.0).
1/5/2015 9:14:28 AM [CAS01] Request processing continued, stage IncrementalSync.
1/5/2015 9:14:29 AM [CAS01] Changes reported in source 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)': 2 changed folders, 0 deleted folders, 3 changed messages.
1/5/2015 9:14:30 AM [CAS01] Incremental Sync 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)' completed: 12 changed items.
1/5/2015 9:14:30 AM [CAS01] Stage: IncrementalSync. Percent complete: 95.
1/5/2015 9:14:30 AM [CAS01] Final sync has started.
1/5/2015 9:14:30 AM [CAS01] Changes reported in source 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)': 0 changed folders, 0 deleted folders, 0 changed messages.
1/5/2015 9:14:30 AM [CAS01] Incremental Sync 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)' completed: 0 changed items.
1/5/2015 9:14:31 AM [CAS01] Fatal error MapiExceptionNoSupport has occurred.
Error details: MapiExceptionNoSupport: IExchangeFastTransferEx.TransferBuffer failed (hr=0x80040102, ec=-2147221246)
Diagnostic context:
Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=772]
Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=513][latency=15]
Lid: 23226 --- ROP Parse Start ---
Lid: 27962 ROP: ropFXDstCopyConfig [83]
Lid: 27962 ROP: ropTellVersion [134]
Lid: 27962 ROP: ropFXDstPutBufferEx [157]
Lid: 17082 ROP Error: 0x80040102
Lid: 31329
Lid: 21921 StoreEc: 0x80040102
Lid: 27962 ROP: ropExtendedError [250]
Lid: 1494 ---- Remote Context Beg ----
Lid: 1238 Remote Context Overflow
Lid: 25000
Lid: 24936
Lid: 4367 StoreEc: 0x80040102
Lid: 7695 StoreEc: 0x80040102
Lid: 19936
Lid: 4559 StoreEc: 0x80040102
Lid: 21802
Lid: 19994 StoreEc: 0x80040102
Lid: 20202
Lid: 3305 StoreEc: 0x80040102
Lid: 32762 dwParam: 0xE080003
Lid: 32762 dwParam: 0xE230003
Lid: 32762 dwParam: 0xE270102
Lid: 32762 dwParam: 0xE580102
Lid: 32762 dwParam: 0xE590102
Lid: 32762 dwParam: 0xF000102
Lid: 32762 dwParam: 0xFF40003
Lid: 32762 dwParam: 0x10F4000B
Lid: 32762 dwParam: 0x10F5000B
Lid: 32762 dwParam: 0x10F6000B
Lid: 32762 dwParam: 0x300184B0
Lid: 32762 dwParam: 0x300484B0
Lid: 32762 dwParam: 0x3FE5000B
Lid: 32762 dwParam: 0x361C0102
Lid: 32762 dwParam: 0x361384B0
Lid: 32762 dwParam: 0x36170003
Lid: 26346
Lid: 4073 StoreEc: 0x80040102
Lid: 28570 StoreEc: 0x80040102
Lid: 29738
Lid: 3401 StoreEc: 0x80040102
Lid: 1750 ---- Remote Context End ----
Lid: 26849
Lid: 21817 ROP Failure: 0x80040102
Lid: 22630
at Microsoft.Exchange.MailboxReplicationService.AsynchronousTransmitter.WaitUntilDataIsProcessed()
at Microsoft.Exchange.MailboxReplicationService.AsynchronousTransmitter.Microsoft.Exchange.MailboxReplicationService.IDataImport.ImportBuffer(Int32 opcode, Byte[] data)
at Microsoft.Exchange.MailboxReplicationService.AsynchronousTransmitter.Microsoft.Exchange.MailboxReplicationService.IDataImport.Flush()
at Microsoft.Exchange.MailboxReplicationService.ProgressTrackerTransmitter.Microsoft.Exchange.MailboxReplicationService.IDataImport.Flush()
at Microsoft.Exchange.MailboxReplicationService.FxProxyTransmitter.Microsoft.Exchange.MailboxReplicationService.IFxProxy.Flush()
at Microsoft.Exchange.MailboxReplicationService.LocalSourceFolder.Microsoft.Exchange.MailboxReplicationService.ISourceFolder.CopyTo(IFxProxy destFolderProxy, PropTag[] excludeTags)
at Microsoft.Exchange.MailboxReplicationService.SourceFolderWrapper.<>c__DisplayClass1.<Microsoft.Exchange.MailboxReplicationService.ISourceFolder.CopyTo>b__0()
at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation)
at Microsoft.Exchange.MailboxReplicationService.SourceFolderWrapper.Microsoft.Exchange.MailboxReplicationService.ISourceFolder.CopyTo(IFxProxy destFolder, PropTag[] excludeTags)
at Microsoft.Exchange.MailboxReplicationService.MailboxCopierBase.CopyFolderProperties(FolderRecWrapper folderRec, ISourceFolder sourceFolder, IDestinationFolder destFolder, FolderRecDataFlags dataToCopy)
at Microsoft.Exchange.MailboxReplicationService.MailboxMover.<>c__DisplayClass2.<>c__DisplayClass4.<FinalSyncCopyAllFolders>b__1()
at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation)
at Microsoft.Exchange.MailboxReplicationService.MailboxMover.<>c__DisplayClass2.<FinalSyncCopyAllFolders>b__0(FolderRecWrapper folderRec, EnumFolderContext ctx)
at Microsoft.Exchange.MailboxReplicationService.FolderMap.EnumSingleFolder(FolderRecWrapper folderRec, EnumFolderContext ctx, EnumFolderCallback callback, EnumHierarchyFlags flags)
at Microsoft.Exchange.MailboxReplicationService.FolderMap.EnumSingleFolder(FolderRecWrapper folderRec, EnumFolderContext ctx, EnumFolderCallback callback, EnumHierarchyFlags flags)
at Microsoft.Exchange.MailboxReplicationService.FolderMap.EnumSingleFolder(FolderRecWrapper folderRec, EnumFolderContext ctx, EnumFolderCallback callback, EnumHierarchyFlags flags)
at Microsoft.Exchange.MailboxReplicationService.MailboxMover.FinalSyncCopyAllFolders()
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.<FinalSync>b__4d(MailboxMover mbxCtx)
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.ForeachMailboxContext(MailboxMoverDelegate del)
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.FinalSync(Object[] wiParams)
at Microsoft.Exchange.MailboxReplicationService.CommonUtils.CatchKnownExceptions(GenericCallDelegate del, FailureDelegate failureDelegate)
Error context: --------
Operation: IMapiFxProxy.ProcessRequest
OpCode: TransferBuffer
DataLength: 1023
Operation: IMapiFxProxy.ProcessRequest
OperationSide: Target
Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)
OpCode: TransferBuffer
DataLength: 1023
1/5/2015 9:14:31 AM [CAS01] Relinquishing job.All my servers are Exchange 2010 SP3 RU7.
I triple checked MBX04 too but why does it say this:
1/3/2015 4:26:31 PM [CAS01] Connected to target mailbox 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)', database 'DAGMBX12', Mailbox server 'MBX04.cloud.local' Version 14.3 (Build 123.0).
1/3/2015 4:26:32 PM [CAS01] Connected to source mailbox 'Primary (ebfa3d50-6acf-42f6-b962-4f54d42e8816)', database 'DAGMBX01', Mailbox server 'MBX05.cloud.local' Version 14.3 (Build 210.0)
Why does it say the build number of MBX04 is 123.0? -
Exchange 2010 SP3, UR7 after BSOD. Moving mailboxes to new database
Yesterday our Exchange 2010 SP3, UR7 had an BSOD. To recover the services I was forced to do eseutil /p on all DBs.Current status is all DB's are mounted and data are accessible to users. I working on migrating mailboxes to new databases and to remove the old ones.1. I have issue with four move requests that were active during the BSOD. When I try to restart or remove them I end withEMCText--------------------------------------------------------Microsoft Exchange Error--------------------------------------------------------Action 'Remove Move Request' could not be performed on object 'Beňo Michal'.usernameFailedError:Failed to communicate with the mailbox database.MapiExceptionNotFound: Unable to open entry ID. (hr=0x80004005, ec=-1601)Diagnostic context:Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=83]Lid: 43559...
This topic first appeared in the Spiceworks CommunityRegistration is Now Open to Publish on PowerShell GalleryWe are excited to announce that the PowerShell Gallery will accept registration from any users who wish to publish PowerShell modules and share their work with the world.For the past year, the PowerShell Gallery has been slowly adding content from our closest community contributors, most of whom are Most Valuable Professionals (MVPs) and internal Microsoft contributors. While we were building the basic features of the PowerShell Gallery, we restricted the set of people who could publish new modules, and required an approval step before allowing users to register. This approach provided the PowerShell team with an agile feedback loop to help design and to learn what gallery experience will be optimal for the broader PowerShell community.To contribute to the gallery you simply have...
-
Cannot move Exchange 2013 "Discovery Search Mailbox" to DAG database! :(
I want to get rid of the default mailbox database but it won't allow me because it says it still have mailboxes. I ran:
"Get-mailbox -database "Default Mailboxdatabase name" and it shows the "DiscoverySearchMailbox" still there. I was able to move all the other arbitration mailboxes to my DAG database.
I then ran:
Get-mailbox -database "DB Name" | new-moverequest -targetdatabase "DB Name"
and
Get-Mailbox -Filter { RecipientTypeDetails -eq "DiscoveryMailbox" } | new-moverequest -targetdatabase "DB Name"
and both times I receive a long error:
MapiExceptionMdbOffline: Unable to make connection to the server. (hr=0x80004005, ec=1142)
Diagnostic context:
Lid: 41192 dwParam: 0x1
Lid: 49384
Lid: 51176 StoreEc: 0x476
Lid: 48104
Lid: 39912 StoreEc: 0x476
Lid: 41192 dwParam: 0x2
Lid: 49384
Lid: 51176 StoreEc: 0x476
Lid: 48104
Lid: 39912 StoreEc: 0x476
Lid: 41192 dwParam: 0x0
Lid: 49064 dwParam: 0x1
Lid: 38439 EMSMDBPOOL.EcPoolConnect called [length=48]
Lid: 54823 EMSMDBPOOL.EcPoolConnect returned [ec=0x476][length=20][latency=0]
Lid: 53361 StoreEc: 0x476
Lid: 51859
Lid: 33649 StoreEc: 0x476
Lid: 43315
Lid: 58225 StoreEc: 0x476
Lid: 39912 StoreEc: 0x476
Lid: 54129 StoreEc: 0x476
Lid: 50519
Lid: 59735 StoreEc: 0x476
Lid: 59199
Lid: 27356 StoreEc: 0x476
Lid: 65279
Lid: 52465 StoreEc: 0x476
Lid: 60065
Lid: 33777 StoreEc: 0x476
Lid: 59805
Lid: 52487 StoreEc: 0x476
Lid: 19778
Lid: 27970 StoreEc: 0x476
Lid: 17730
Lid: 25922 StoreEc: 0x476
+ CategoryInfo : NotSpecified: (:) [New-MoveRequest], RemoteTransientException
+ FullyQualifiedErrorId : [Server=LA3-EXMBW002,RequestId=cb04b084-0dd7-46b9-bf57-6d3317013d47,TimeStamp=3/14/2014 10:44:34 PM] 7A53F855,Microsoft.Exchange.Management.RecipientTasks.NewMoveRequest
Any ideas on moving that Discovery Mailbox? Thx!MapiExceptionMdbOffline: Unable to make connection to the server. (hr=0x80004005, ec=1142)
That error indicates that the database is not mounted, so mounted and try again.
A workaround if you can't move the mailbox, is to rehome the mailbox to another database.
Example:
Get-Mailbox Discover* | Set-Mailbox -database <DB Name>
Martina Miskovic -
Can't move arbitration mailbox to another database
I'm trying to delete one database which was the first database we created when we implemented Exchange 2010 , we move all the mailboxes to the new database we created and everything went smooth , also i found that there are some arbitration mailboxes must
be moved too which are
-SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}
-SystemMailbox{1f05a927-6a10-4cf0-9ca8-fe760801586b}
-FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042
i was able to move the first tow SystemMailboxes with no issue but when i tried to move (Federatedemail) using this command
New-MoveRequest -Identity 'FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042' -TargetDatabase "DB01"
i received this message:
Mailbox size 1.552 MB (1,626,956 bytes) exceeds target quota 1 MB (1,048,576 bytes).
+ CategoryInfo : InvalidArgument: (FederatedEmail....bf-00a95fa1e042:MailboxOrMailUserIdParameter) [New-M
oveRequest], RecipientTaskException
+ FullyQualifiedErrorId : CC6C9B00,Microsoft.Exchange.Management.RecipientTasks.NewMoveRequest
Thanks in advance ..thank you Leif i was able to move the mailbox but i still can't remove the database it got the below error:
Microsoft Exchange Error
The mailbox database 'DB1' cannot be deleted.
DB1
Failed
Error:
This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans
in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox
-Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the
command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox
ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.
i tried the commands above and it show nothing !! -
Failed to clean up source mailbox after move
Last year, we upgraded from Exchange 2007 to Exchange 2010 SP3. We moved mailboxes without issue.
Today, I'm running Exchange 2010 SP3 rollup 6, and when I attempt to move any mailbox (existing or newly created ones), I have the exact same problem that is described in this article
http://blogs.msdn.com/b/aacallo/archive/2013/03/20/error-with-moving-mailbox-in-exchange-2010-sp2-ru3.aspx
The article references 2010 SP2, which I never had. I've always been 2010 SP3. I followed the steps in the article to resolve, but is this a known issue with Exchange 2010 SP3?
Sorry for posting in the 2013 forum, I couldn't find the 2010 forumHello,
Are you able to see the value of 'Message' property as the same error message while running the following cmdlets?
(Get-MailboxStatistics -Identity "name" -IncludeMoveHistory).MoveHistory
List all softdeleted mailboxes:
$Mailboxes = Get-MailboxStatistics -Database DB01 | where {$_.DisconnectReason -eq "SoftDeleted"}
Remove the store mailboxes
$Mailboxes | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState SoftDeleted}
Finally check if you can still find such mailboxes
Get-MailboxStatistics -Database DB01 | fl DisplayName,DisconnectReason
Regards from ExchangeOnline.in|Windows Administrator Area | Skype:[email protected] -
Provisioning mailboxes to different databases based on office location
We have a script to create all new users based on what is being created in our HR system. This script creates a mailbox for the user in the database "NewMailboxes". Then everyday a script is being called on the exchangeserver to move the newly
created mailboxes to the database least used. This has worked very well until now, in our exchange 2010 environment, which is a DAG cluster. The reason for this is that all users have mailboxes on the same exchange cluster. These users are placed in Norway
and UK. We have now set up a new server placed in Singapore. It is in the same exchange organization, but not members of the cluster.
The script we are running today looks like this:
# 1. Enumerates Mailboxes in database $NewMDB and moves
# each mailbox to the database with the least amount of mailboxes
# 2. Cleans up old move requests
# Schedule with command:
# powershell.exe -command ". 'C:\Program Files\Microsoft\Exchange Server\
# V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; C:\Progra~1\
# Microsoft\Exchan~1\V14\Scripts\NewMailboxHandler.ps1"
$NewMDB = "NewMailboxes"
function Get-MDBMailboxCount ([string]$DN) {
$Searcher = New-Object System.DirectoryServices.DirectorySearcher
$Searcher.SearchRoot = New-Object System.DirectoryServices.DirectoryEntry ("LDAP://$(([system.directoryservices.activedirectory.domain]::GetCurrentDomain()).Name)")
$Searcher.Filter = "(&(objectClass=user)(homeMDB=$DN))"
$Searcher.PageSize = 10000
$Searcher.SearchScope = "Subtree"
($Searcher.FindAll())
$DBUsers = @{}
$NewMailboxes = Get-Mailbox -ResultSize:Unlimited -Database $NewMDB
If ($NewMailboxes) {
$Databases = Get-MailboxDatabase | where { $_.Name -ne $NewMDB -and $_.Recovery -ne $true}
foreach ($MDB in $Databases) { $DBUsers[$MDB.Name] = @(Get-MDBMailboxCount -DN $MDB.DistinguishedName).Count}
Get-MoveRequest | where {$_.Status -ne 'completed' -and $_.Status -ne 'failed'} | foreach {$DBUsers[$_.SourceDatabase.Name] --; $DBUsers[$_.TargetDatabase.Name] ++ }
$NewMailboxes | foreach {
$DBUSers.GetEnumerator() | Sort-Object Value,Name -Descending | where { $_.Name -ne $NewMDB -and $_.Recovery -ne $true} | foreach { $TargetDB = $_.Key }
New-MoveRequest $_ -TargetDatabase $TargetDB -Confirm:$False
$DBUsers[$TargetDB] ++
# Clean up older move requests
Start-Sleep -Seconds 60
Get-MoveRequest | where { $_.Status -like 'Completed' } | Remove-MoveRequest -Confirm:$False
What I would need to do here, is to first move all mailboxes in database "Newmailboxes" where $._physicalOfficeDeliveryName equals Singapore, and then let the script continue with the rest of the mailboxes.
I have figured out how to get all users with office equals Singapore listed:
Get-ADuser -filter * -properties physicaldeliveryofficename | Where-Object { ($_.physicaldeliveryofficename -eq "singapore") } | select samaccountname | ft
But I cannot figure out how I can connect this with only users who's mailbox is in a specific mailboxdatabase, and how to move these to the specific Singapore mailboxdatabase.
Help on the subject would be highly appreciated.
PS! The script itself is created by a consultant, and not myself... I am (unfortunately) not that skilled in powershell scripting.You are asking a question about how to use and provision a product. What you are asking is not just a simple command or technique. It requires you to know how to use Exchange and the Exchange shell. THat question is best asked in the Exchange
forum.
https://social.technet.microsoft.com/Forums/office/en-US/home?category=exchangeserver%2Cexchangeserverlegacy
You can also look in the repository for an scritps that have been posted. There are many for Exchange provisioning.
Creating a mailbox in one Cluster and moving to another is into a simple command. YOu should create the mailbox in the correct place to begin with. The Exchange forum will help uyou learn how to do this.
https://gallery.technet.microsoft.com/site/search?f%5B0%5D.Type=RootCategory&f%5B0%5D.Value=Exchange&f%5B0%5D.Text=Exchange&f%5B1%5D.Type=SubCategory&f%5B1%5D.Value=Exchange2010&f%5B1%5D.Text=Exchange%202010
There are over 500 scripts here.
¯\_(ツ)_/¯ -
Error when moving a mailbox from one database to another using the EMS
Error "The database is excluded from provisioning.Please Select a different target database for the move"
Above is the Error i get when moving a mailbox to another database on the same Exchange mailbox Server 2013 using the EMSHi MikeVATX,
Using the EMS I ran the Command
below,
Get-MailboxDatabase DBName | select name,*provision*
The result displayed that the Parameter IsExcludedFromProvisioning was set to True which i had to set to false by running the command below as per your guide.
Get-MailboxDatabase -Identity DBName | Set-MailboxDatabase -IsExcludedFromProvisioning
$ False
Then i was able to move the mailboxes.
It now works fine.Thanks for that solution.
Thanks & Regards,
Ronald -
Removing "Not Deleted" Mailboxes from a Database
Before I go anywhere, let me explain what I mean by "Not Deleted" mailboxes - We will be deleting and recreating a pair of databases this weekend. A s part of this process, we move all mailboxes from these databases to the other 22 mailbox databases
in the corporation, leaving our databases empty. We then run a command to find the soft-deleted and disconnected mailboxes and handle them (remove the former and reconnect the latter so we can move them to another database). When I ran this script
on one of the two databases, I found that the database had two supposedly live mailboxes on it.
So I ran Get-MailboxStatistics -Database and got info about these two mailboxes. Neither shows as being SoftDeleted or Disconnected, and neither has a DisconnectDate. So they should be live mailboxes, with an AD account. So I checked them
and found one had an account - but was on another database on a totally different server (in fact, in the other DAG). And the other belonged to an account that was deleted last November.
So, these two mailboxes appear to be zombies, with no life and no soul, but doomed to foil my plans to delete the database gracefully - they are all that stands between me and the success of my mission. Now, I know I can take the database offline,
delete the database files, and bring them back online and that will kill these zombie mailboxes, but I was hoping someone had a way I can delete them gracefully so I don't feel like I've just used a sledgehammer on my servers. I tried Remove-StoreMailbox,
but it requires that the mailbox have a status of either SoftDeleted or Disconnected - and from what I've read online, those are the only two accepted options.
So I come to you for possible guidance - keep in mind that these are totally unnecessary mailboxes and I have no qualms about deleting the database if that what it comes down to. Anyone have any other suggestions? Thanks ...
WillThere were two active mailboxes showing from the "Get-MailboxStatistics -Database <database name>" command, even though the database showed no active mailboxes when running "Get-Mailbox -Database <database name>" command. Neither of these
had a disconnected date, and neither showed a value in the Reason field. Now for your answers:
1. One of these mailboxes showed as being on another database, same GUID, etc, and was able to be accessed on that other database. However, Get-MailboxStatistics - Database <database name> showed that it also existed on this database.
We couldn't connect an account to this mailbox, nor could we delete it - the command (below) said the mailbox was on another database (which it was).
Connect-Mailbox -Identity <mbx GUID> -Database <name of the database we wished to delete> -User <account SAM account name> -Alias <account SAM account name> -Shared -DomainController <domain controller>
2. The command was what I show above.
Post Mortem: Since we had to delete the database, and since neither of them were needed, we just went forward with our work. I was hoping we'd be able to remove these mailboxes gracefully, but none of the tools we had available worked for the
job. -
System generated Index names different on target database after expdp/impdp
After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different names on the target database, which caused a major issue with GoldenGate. Could anyone provide any tricks on how to perform the expdp/impdp and have the same system index name generated to be the same on both source and target?
Thanks in advance.
JLWhile I do not agree with Sb choice of wording his solution is correct. I suggest you drop and recreate the objects using explicit naming then you will get the same names on the target database after import for constraints, indexes, and FK's.
A detailed description of the problem this caused with Golden Gate would be interesting. The full Oracle and Golden Gate versions is use might also be important to the solution, if one exists other than explicitl naming.
HTH -- Mark D Powell --
Edited by: Mark D Powell on May 30, 2012 12:26 PM -
Cannot Adding Mailbox Server for Database Copy for Exchange 2013 SP1
Before I upgraded to 2013 SP1 everything works find but after I upgrade to SP1 I cannot add database copy. the details are...
I have 2 sites
Site 1 : 4 Mailboxes (Mailbox01,Mailbox02,Mailbox03,Mailbox04) + 2 CAS
Site 2 : 2 Mailboxes (Mailbox05,Mailbox06) + 2 CAS (just for standby site)
So I have 2 DAG group (6 Mailboxes separate to 3 Mailboxes for 1 DAG group Mailbox01,Mailbox02,Mailbox05 for DAG1 and Mailbox03,Mailbox04,Mailbox06 for DAG2)
After I upgrade Exchange 2013 to SP1 , I try to create new database on Mailbox01 and after that I try to add mailbox02 and mailbox05 to database copy of new database that I created.
"Mailbox05 can added to be database copy but Mailbox02 cannot add database copy for it , Error "Network path not found" occur" but Im very sure that path is the same for each mailbox database server.
so I try to create new database on Mailbox 03 and add database copy on mailbox04 and mailbox06.... the result is the same only Mailbox06 can add mailbox copy of database.
It look like I cannot have 2 mailbox in site 1 for database copy of each new database (I already try to create new database on Mailbox 02 and add database copy on mailbox01 and mailbox05 , the result is only mailbox05 can be database copy of database).
Please help me to fix this out.Hi,
I recommend you check if the Remote Registry service is running on Mailbox01, Mailbox02, Mailbox03 and Mailbox04. If not, please start it and then add mailbox database copy to check the result.
Best regards,
Belinda
Belinda Ma
TechNet Community Support -
Connecting to an Oracle database after clicking on a foi
Does anyone know how or have any examples on how to connect to an oracle database after clicking on a 'feature of interest' in MapViewer? I want to be able to click on a 'feature of interest' on the map, and have a list of records from an oracle table displayed using the identified key of the foi. I am able to create the feature of interest, and add the event listener for 'mouse click', but am unsure how to connect to the database at this point. I have been able to connect to the database in a different jsp, but not from here. Thank you.
1. Create a JSP page that does the database query. It should take the foi id as an input parameter.
2. In the foi mouse click listener, display the JSP page in iframe. The iframe can be placed outside the map or inside the info window. The function should do something like this.
function myClickListener(point, foi)
mapview.displayInfoWindow(point, "<iframe id='my_iframe_id' frameborder=0 width=300px height=400px />", 300, 400) ;
var myIframe = document.getElementById("my_iframe_id") ;
myIframe.src = "http://myhost/myjsp?key=" + foi.id ;
} -
Automatic creation of meter reading order with RR 01 after move in
Hi Experts,
I am working with DM module of SAP ISU. Currently I am facing a problem that after move-in a periodic order with RR 01 is created automatically by the system.
Ex: Move in date is 01.01.2010. Monthly Portion is used with Schedule record 01.01.2010, 01.02.2010, 01.03.2010, 01.04.2010 and so on.
If current system date is 20.07.2010 then Meter reading order is created automatically by the system for sch MRD 01.08.2010.
Please let me know how to overcome this problem
Thanks in advance.Thanks for your reply but I have cheked SPRO setting the suggested check box is already uncheked.
I beleive the setting you have suggested is meant for default meter reading during move in but my problem is automatic creation of meter reading order with reason 01 during move in -
Copying data to another database after little transformation
Hi,
Is there any better pattern for
copying data from one database to another database after some little transformation(can be simple SQL join).
I see couple of options like..
1. Using materialized views
2. Writing a simple procedure to do copy and transformation.
3. Using a pure ETL tool.
Is there any other simple and secure way of doing this ?
Thanks in advance,
Vijay.
Message was edited by:
user487780Hi Justin,
A couple of questions
1) Are you copying from an Oracle database to another
Oracle database? Or are there non-Oracle databases
involved?I am copying from Oracle to Oracle.
2) Are there just two databases? Or more?Only two.
3) Are you copying all the data from one database to
another? Or are you copying just a subset of data?I just need to copy a subset(can get using SQL join) of data
4) How frequently does the data need to be copied?exactly 500 times, but at different intervals..
How soon after the data changes in the source system
m does in need to be changed in the destination
system?the copying process has to be triggered based on some data in source database.
5) Is the data flowing in only one direction?Yes
6) Is there some drawback to the three options you've
outlined that you're trying to avoid? If one of
these options meets all your requirements, I'd assume
that you wouldn't bother posting a question. That
implies to me that there is some unstated requirement
that you're trying to meet...I just want to know, whether there is any standard(typical) way to do this.
Thanks,
Vijay.
>
Justin -
How to remove a meter from an installation after move-out
Hi,
Could anyone please tell me how to remove a meter from an installation after move-out and if the installation was blocked before move-out.
I was trying to remove the meter from an installation which was blocked before move-out. And if i remove the blocking after move-out, it is still giving me this message that the installation is blocked.
Thanks in advance.
MahavirDear Birendra,
You can NEVER remove a Device (for Billing Related or FULL removal), since you need to save a Removal read while doing the removal. Hence, you can not create a MR ( Reason 01/02/03/06/16/17/21/22), without a Active contract. This is a Basic Metering Rule.
You will have to do the removal on the same day of the Move out.
Any additional questions?
KR,
AAL!
Maybe you are looking for
-
How can I update OS 9.0.4 to 9.2 to run Classic?
Okay some of you might remember me - like Cornelius... Basically, I just recently put OS X 10.4 on my computer to fix an earlier problem (you can read my other post if you want). To make a long story short, I put OS 9 on it again in order to get Clas
-
How to remove Expand All in view menu of tree table
Hi, I want to remove Expand All in view menu of tree table. How to do that? Regards, Raghu.
-
ITunes always busy in com.apple.MediaLibraryService
Hi, I use Mac OS X 10.10.1 and iTunes 12.0.1.26. iTunes is almost always busy in com.apple.MediaLibraryService. com.apple.MediaLibraryService 198,0 15:57,85 4 1 72959 joswig 64-Bit 0 Byte 0 Byte 0 Byte 0 Byte Nein 0 Byte 0 Byte 0 0 0 Byte 0 Byte 0 By
-
How to see genarated AS files in Flex Builder ?.
Hi , We will compile mxml file and then compiler genaretes corrosoponding action script file in the flex builder. Some where I have seen that we need to chage some settings for the compiler and see in the src dir. Pleasem let me know th
-
Pre-Deploy JAR files to JRE Cache in Windows
We are looking to build an SMS installer to pre-deploy all controls for our application to our end-users desktops. The application is Siebel. Several of the controls are in JAR files and we want to pre-deploy these into the Java Cache via the SMS ins