locked
DFSR limits RRS feed

  • Question

  • Hi Team,

    I have a Replication group setup.  1 folder is in USA and the other in Asia and using a VPN between sites over the general Internet.  I had a user copy 10,000 files to the secondary folders.  Now it will take hopefully only a day or 2 to replicate it. :(

    How can I stop the replication once it starts....?

    Any words of wisdom on how to stop this from happening again...?


    Tom Karpowski...

    Wednesday, January 8, 2020 6:12 PM

Answers

  • Yes, if you enable the replication again it will start replicating the files.

    You could rebuild the DFSR database, that way it would clear the backlog (queue), the DFSR holds the metadata in a database for every file and folder inside a replicated folder, the replication is decided according to this data.

    Here's how to rebuild the database, you'll need to download Psexec from Sysinternals:

    NET STOP Dfsr
     
    Psexec -s cmd
    cd "System Volume Information"
    cd DFSR
    move database_XXX database_XXX_old
    exit
     
    NET START Dfsr


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Proposed as answer by Leon Laude Thursday, January 9, 2020 8:56 PM
    • Marked as answer by Tom Karpowski Friday, January 10, 2020 5:28 PM
    Wednesday, January 8, 2020 8:33 PM
  • Hi,

    Thanks for posting here!

    How is your situation now ?

    Hope the information provided by Leon was helpful for you.

    Please feel free to let us know if you need further assistance.

    Best Regards,

    Fan



    Please remember to mark the replies as an answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    • Marked as answer by Tom Karpowski Thursday, January 9, 2020 8:54 PM
    Thursday, January 9, 2020 5:50 AM

All replies

  • Hi,

    You can stop the DFS replication by going to the DFS Management console, go to the Replication pane and select your replication group, under the Membership tab right-click your Replicated folders and select Disable.

    Once you click on "Disable" you will be prompted with the following window:

    By selecting "Yes" you will disable the replicated folder on the selected member, do this for all your members that you want to disable.

    "I had a user copy 10,000 files to the secondary folders."

    >> Was this something necessary to do, or did the user copy by mistake?

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    Wednesday, January 8, 2020 6:42 PM
  • This was a user accident.

    If I disable it, replication will stop.  Will it remove all files queued to be replicated...?  This is what I want.  If I Enable it again, will it start to replicate all those files again...?  This is want I don't want.

    Thanks,


    Tom Karpowski...

    Wednesday, January 8, 2020 8:21 PM
  • Yes, if you enable the replication again it will start replicating the files.

    You could rebuild the DFSR database, that way it would clear the backlog (queue), the DFSR holds the metadata in a database for every file and folder inside a replicated folder, the replication is decided according to this data.

    Here's how to rebuild the database, you'll need to download Psexec from Sysinternals:

    NET STOP Dfsr
     
    Psexec -s cmd
    cd "System Volume Information"
    cd DFSR
    move database_XXX database_XXX_old
    exit
     
    NET START Dfsr


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Proposed as answer by Leon Laude Thursday, January 9, 2020 8:56 PM
    • Marked as answer by Tom Karpowski Friday, January 10, 2020 5:28 PM
    Wednesday, January 8, 2020 8:33 PM
  • Hi,

    Thanks for posting here!

    How is your situation now ?

    Hope the information provided by Leon was helpful for you.

    Please feel free to let us know if you need further assistance.

    Best Regards,

    Fan



    Please remember to mark the replies as an answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    • Marked as answer by Tom Karpowski Thursday, January 9, 2020 8:54 PM
    Thursday, January 9, 2020 5:50 AM

  • Hi,

    Thanks for posting here!
    I'm glad that the answer provided by Leon was helpful.
    If possible,I would recommend you mark Leon's answer as answer, this will benefit all people accessing this forum. Your sharing will be highly appreciated.

    Best Regards,
    Fan



    Please remember to mark the replies as an answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, January 10, 2020 1:57 AM