We help IT Professionals succeed at work.

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

102 Views
Last Modified: 2019-03-29
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!
Comment
Watch Question

MaheshArchitect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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
DP230Network Administrator
CERTIFIED EXPERT

Author

Commented:
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
MaheshArchitect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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?
MASEE Solution Guide - Technical Dept Head
CERTIFIED EXPERT
Most Valuable Expert 2017

Commented:
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

DP230Network Administrator
CERTIFIED EXPERT

Author

Commented:
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
MaheshArchitect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
You can simply backup and delete db file on f drive
You may be manually copied it from source
MASEE Solution Guide - Technical Dept Head
CERTIFIED EXPERT
Most Valuable Expert 2017

Commented:
Agree with Mahesh
DP230Network Administrator
CERTIFIED EXPERT

Author

Commented:
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?
EE Solution Guide - Technical Dept Head
CERTIFIED EXPERT
Most Valuable Expert 2017
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
MaheshArchitect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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
Edward van BiljonMessaging and Collaboration Technical Lead (Exchange MVP | MCT | Author)
CERTIFIED EXPERT
Distinguished Expert 2019

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

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.