question

AndreiMihailevski-6479 avatar image
0 Votes"
AndreiMihailevski-6479 asked AndreiMihailevski-6479 commented

DFSR Staging - Private folder

We have two file servers with 300GB of data. These are set up with name spaces and replication. Private folder is 150GB in size. This seems excessive. Health report is good and no errors, the reason this is a concern is because the disk is 500GB and is almost full. I don't understand how staging can be half the size of all the data. Can you suggest a way to investigate this?

windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FanFan-MSFT avatar image
0 Votes"
FanFan-MSFT answered AndreiMihailevski-6479 commented

Hi,

Based on your description , the size of your staging folder exceed the actual quota, and the staging cleanup was not triggered, right?
You might need to configure the staging quota to be lower than the default quota when several replicated folders share staging space on the same volume. This ensures that staging cleanup is triggered.
76556-3114.jpg
Staging folders and Conflict and Deleted folders
Or try reduce the StagingQuota to a very small value, so Windows will clear the files that are over the High Watermark. After that set the StagingQuota to the desired value.



3114.jpg (79.4 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
 
Just want to confirm the current situations.
If there's anything you'd like to know, don't hesitate to ask.

Best Regards,

0 Votes 0 ·

Got distracted by more urgent matters; updating staging quota now, we do have multiple replicated folders on the same member, your explanation made sense. Will report back how this goes.

0 Votes 0 ·
FanFan-MSFT avatar image FanFan-MSFT AndreiMihailevski-6479 ·

Hi,
Wait for the good news.

0 Votes 0 ·

So far the size of staging folders reduced by 30%, this looks promising. We'll have to review how this is set up more carefully.

0 Votes 0 ·
FanFan-MSFT avatar image
0 Votes"
FanFan-MSFT answered

Hi,

Firstly , you can check the replication status by command:
Wmic /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo get replicationgroupname,replicatedfoldername,state
Check if the result is good.
0: Uninitialized
•1: Initialized
•2: Initial Sync
•3: Auto Recovery
•4: Normal
•5: In Error
If everything is well, you can try the method: [Manually Clearing the ConflictAndDeleted Folder in DFSR][1]
Also you can refer to the link :[How to Determine the Minimum Staging Area DFSR Needs for a Replicated Folder][2]

Best Regards,
[1]: https://docs.microsoft.com/en-us/archive/blogs/askds/manually-clearing-the-conflictanddeleted-folder-in-dfsr
[2]: https://docs.microsoft.com/en-us/archive/blogs/askds/how-to-determine-the-minimum-staging-area-dfsr-needs-for-a-replicated-folder

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreiMihailevski-6479 avatar image
0 Votes"
AndreiMihailevski-6479 answered AndreiMihailevski-6479 edited

a) Replication status is 4.

b) I have been clearing ConflictAndDeleted folders, but this is not where the issue is. The \DFSR\Private...\Staging folders are large, ConflictAndDeleted folders are small. I need the Staging folder to complete its work. There are folders in Staging folder with Last Modified Date a year ago, if I understand dates correctly, these staging files are outdated and useless. For ex:

  1. Staging folder is 4.5 GB, inside we have:

  2. ContentSet {...} 2.5 GB Last Modified today

  3. ContentSet {...} 2.0 GB Last Modified a year ago

I am tempted to delete folders with old Last Modified dates.

c) I also have been through Minimum Staging Area DFSR Needs, and used the 32 largest files method.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.