Solved

How do I clean up the DFSprivate folder?

Posted on 2011-02-28
8
3,198 Views
Last Modified: 2012-08-14
I have noticed that the DFSprivate folder is very large on my server. I use DFS to replicate a lot of data. I have the quota set to the default of 4GB but these folders are much larger then that. How can I clean these folders up? They are using up a lot of space on the server.

I recently had to restore, from backup, several files that were in the DFS share. Could that of caused the DFSprivate folder to grow so large on accident?

Thanks,

Justin
0
Comment
Question by:JustinGSEIWI
  • 5
  • 3
8 Comments
 
LVL 31

Expert Comment

by:DrUltima
ID: 35001893
DFSPrivate should clean itself and keep under the 4GB limit you have set.   Because it is failing to do so, a manual clean up is acceptable (and may even be required).

There is a very good Technet Blog about how to manually clean up DFS replication problems.

http://blogs.technet.com/b/askds/archive/2008/10/06/manually-clearing-the-conflictanddeleted-folder-in-dfsr.aspx

DrUltima
0
 

Author Comment

by:JustinGSEIWI
ID: 35028602
Sorry, I should of specified. The conflict and deleted folder only has about 300MB of data in it. The issue is with the preexisting folder. It has about 120GB of data in it. I am sure it should not be that large. How do I effectively clean that up and keep it from growing so large?

Thanks,

Justin
0
 
LVL 31

Expert Comment

by:DrUltima
ID: 35070264
Has the size changed, or are you still facing this issue?
0
 

Author Comment

by:JustinGSEIWI
ID: 35070327
I still have the problem. On Friday, I disabled some of the DFS shares I had replicating leaving only the one that I have with the large preexising folder. I didn't keep track of the size of the folder to see if it started shrinking or not. I will do that now. Currently the size of the preexisting folder is 118 GB. It may take some time to notice if the folder is shrinking in size or not.

Any suggestions?

Thanks,

Justin
0
Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

 
LVL 31

Expert Comment

by:DrUltima
ID: 35070394
Moving from practical to theoretical....

the 118GB folder....

Did you just go into DFS and say "replicate this"?

Normally, that should work, but since it isn't for you....

Perhaps creating a blank folder, setting it up in DFS, and then moving data into it from the 118 folder block at a time....

Again, that is just me thinking with my fingers on the keyboard...

DrUltima (whose name is also Justin, but won't use it here lest we get confused ;-)
0
 

Author Comment

by:JustinGSEIWI
ID: 35070578
Let me lay this out from beginning to where I am now.

I originally started with replicating one folder that was over 100GB in size. It took about a month to fully replicate since I throttled the replication during the work day and allowed it to fully replicate at night and the weekends. Everything was working fine and this folder was fully replicated.

I like the real time backup that this provided so I decided to add four more very large folders to DFS and have them replicate on the same schedule as the original folder. These four folders also totaled over 100GB together. It has literally been a month or two and these folders have been replicating but they are not fully replicated yet.

It is a few weeks after I added these additional folders that I noticed the preexisting folder for the original DFS replication folder was growing to over 100 GB.

This was causing me problems with the original DFS replicated folder. For two weekends in a row, several files would go missing from the original replicated folder. I had to restore from backup.

I determined that this was being caused by the additional four folders I later added to DFS replication. So I just disabled those four folders last friday. This left only one folder, the original. I just put a test file in the folder to see if it would replicate and I don't see anything replicating quickly. So I am not sure now if it is just delayed or if it is not replicating.

Is their a way for me to completely reset this DFS replication? If I could just disable it and delete the DFSprivate folders and then start over, I think this would be beneficial.

Thanks,

Justin
0
 

Accepted Solution

by:
JustinGSEIWI earned 0 total points
ID: 35236246
I ended up removing the DFS settings in DFS manager and deleting the DFSprivate folder on both servers that were replicating. Then I started over from scratch. This resolved my issue.
0
 

Author Closing Comment

by:JustinGSEIWI
ID: 35304327
Redoing DFS from scratch was the best way to resolve my issue.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now