Hi @Ibrahim hasan
Agree with Andy, and if your drive getting full because of the database logs, we could also follow the methods introduced in below links to reduce them.
How to Cleanup, Truncate or Move Log Files in Exchange Server 2013/2016/2019?
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Exchange Server deletes transaction logs whenever it completes a full backup.
And if you enable circular logging, the transaction log is cleared right after the transactions have been moved to the database. Once the circular logging is enabled, then the additional log files are not created.
And the method to Defrag an Exchange server
Here is also a related thread discussed about the similar issue if you want to remove the database: Exchange - Safe to Delete unused Database
Make sure you have moved the system mailboxes as well.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.