Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

[Troubleshooting Case] unable to delete Exchange database database

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

In our daily mail system operation and maintenance management or the implementation of deployment changes, we often encounter that when deleting the Exchange database DB, it is prompted that it cannot be deleted.

-

Microsoft Exchange Error

-

The mailbox database 'EXMB01' cannot be deleted.FailedError: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. 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-Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox-Database-Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox-Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest. If this is the last server in the organization, run the command Disable-Mailbox-Arbitration-DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan-Database.

# Error1:

Unable to uninstall Exchange Server server due to changes made by mail system upgrade

# Error2:

Based on customer requirements, delete the default mail server to create a database DB, indicating that it cannot be deleted, including one or more user mailboxes, archived mailboxes, etc.

Solution:

Server environment: Windows Server 2012 R2, Exchange Server 2013

In most small and medium-sized enterprises, in order to save trouble, many customers install the mail server application and database DB on the same fast disk, and the disk partition in the planned deployment is not very large, but in the later stage, as the business expands, users are often unable to send and receive mail due to the full disk space of the mail server.

Most customers use a common mode of operation to clear log logs. We would recommend that we often consider migrating users' mailboxes to larger storage disks through migration.

1. Open Exchange Admin center now and check to delete the default database DB. Of course, you can also obtain the environment database DB through Exchange Powershell.

two。 The common procedure is to delete the user mailbox database DB in the console, but the following error is reported

3. Before the migration operation, let's create a new database DB to complete the next work.

4. Query the current database DB including user mailboxes, archived mailboxes, and monitoring mailboxes

5. The old storage database contains mailboxes other than arbitration, move them to the new mailbox storage and load them.

Get-Mailbox-Database "CurrentDatabase" | New-MoveRequest-TargetDatabase "NewDatabaseName"

6. Get the migration status of the user's mailbox and the progress of storing the mailbox

7. Get default arbitration mailbox, archive mailbox

Get-Mailbox-Database "Mailbox Database 1677978442"-Arbitration

8. Complete all user mailbox migration operations

Get-MoveRequestStatistics-MoveRequestQueue "exMb02"

9. Delete the default user mailbox database DB. Of course, confirm whether the migration operation has been completed before deleting the operation.

Remove-Database "Mailbox Database 1677978442"

10. Get the current database and confirm whether to delete it. And delete the default database folder

-

After the above operations are completed, complete the mail system upgrade and make changes, as well as the user mailbox migration and expansion.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 208

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report