Please refer to the following article to move the mailbox database path in a DAG:
Move the mailbox database path for a mailbox database copy
If the mailbox database being moved is replicated to one or more mailbox database copies, you must follow the procedure in this topic to move the mailbox database path. All copies of a mailbox database must be located in the same path on each server that hosts a copy.
Please mark as "Accept the answer" if the above steps helps you. Your suggestion will help others also !