Avatar of DP230
DP230
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Exchange2016- 2 edb files of the same DB after Move-DatabasePath command

Dear Shamans, after used "Move-DatabasePath" in Exchange 2016 server, that DB was unable to mount and we saw 2 DBs folders (including edb files) in both OLD and NEW locations.

After I disabled the AV in server and mount that DB, it could be mounted . Command "Get-MailboxDatabase " showed that edb file of that DB was in NEW location  but there were still 2 edb files at the same time

What should we do? Can we delete that DB folder in OLD location? Many thanks!
ExchangeEmail ServersWindows Server 2012

Avatar of undefined
Last Comment
Edward van Biljon

8/22/2022 - Mon
Mahesh

I believe somewhere database move process caught in cyclic redundancy error because when you move database path, it actually dismount source DB, copy it to target location and once copy process gets completed, it deletes source DB, somewhere after copy process completes source server did not get signal that copy operation is complete and its now safe to delete source DB copy

Check if new database is able mount and if users are able to access their mailbox, if you get error in mounting or mailbox access through outlook / OWA, you should dismount DB, mark it for overwritten and replace it with source DB file and mount again
DP230

ASKER
Hi Mahesh, I noticed that the data modified of 2 edb files were quite near, so it seems like some user mailboxes are in the edb file at OLD place, whilst others are in the edb file at NEW location, is it possible?

Should we do these? Is it safe?
- Create a new DB
- Move all user mailbox from the old DB to the new one
- Delete both edb files in 2 locations
Mahesh

what you saying, I don't believe its possible, you have moved edb file, so technically all mailboxes must be remain with moved edb file only, how you identified there are mailboxes in old EDB file?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
M A

As commented by Mahesh it will dismount and move to the new location not copy.
You can use this command ensure required DBs existing. Rest everything you can move to a different location/external HDD.
Get-MailboxDatabase | fl name,edbfilepath,logfolderpath

Open in new window

DP230

ASKER
As you can see here, the command showed that DB11 is on H drive, but we saw 2 edb files of it (same size) in both H and F drives. Can you please suggest?

cm.PNG
OldLocation.PNG
NewLocation.PNG
Mahesh

You can simply backup and delete db file on f drive
You may be manually copied it from source
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
M A

Agree with Mahesh
DP230

ASKER
So I just need to delete edb file in F drive manually?

Then why do both 2 edb files have a quite close modified time?
ASKER CERTIFIED SOLUTION
M A

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Mahesh

I already explained possible reason
This is 1st time i seen that edb file remained after movement
OR
You may manually copied it from source knowingly unknowingly
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Edward van Biljon

You advised that after disabling AV all mounted, do you have all exclusions set as per Microsoft guidelines for AV on an exchange server?