Discussion:
DFS Not Replicating some files.
(too old to reply)
Paul
2010-01-23 21:58:01 UTC
Permalink
Hi,

I have 2 Windows 2008 R2 x64 Servers that are configured with DFS. I have
configured DFS Namespace and replication and everything appeared to be
working fine.

However, I've noticed that some folders are empty on the secondary server,
even though the primary server has files in these folders. I've tried
renaming one of these files and even moving it to another directory within
dfs. The still doesn't replicate. I have checked permissions and they are
inherited so permissions isn't an issue. Also, if I create a new file within
this folder, it will replicate across to the other server. So replication of
new files is ok.

THis isn't isolated to just one file, I have approx 100 scattered all over
the DFS that just won't replicate no matter what I do.

I'm at a complete loss as to why this is or where to look. Can anyone help?
Marc K
2010-01-25 17:19:06 UTC
Permalink
I found this, too with some files. It appeared that almost all of the files
had been received by users as email attachments and saved to disk via
Microsoft Outlook. These files had the "temporary" file attribute causing
DFS-R to not replicate them.

You can use the following command to check for the temporary attribute:
fsutil usn readdata <filename>

If 0x100 is set, the bit is active.

This seems to be a bug in Outlook that marks user-saved attachments as
temporary files.
Post by Paul
Hi,
I have 2 Windows 2008 R2 x64 Servers that are configured with DFS. I have
configured DFS Namespace and replication and everything appeared to be
working fine.
However, I've noticed that some folders are empty on the secondary server,
even though the primary server has files in these folders. I've tried
renaming one of these files and even moving it to another directory within
dfs. The still doesn't replicate. I have checked permissions and they are
inherited so permissions isn't an issue. Also, if I create a new file within
this folder, it will replicate across to the other server. So replication of
new files is ok.
THis isn't isolated to just one file, I have approx 100 scattered all over
the DFS that just won't replicate no matter what I do.
I'm at a complete loss as to why this is or where to look. Can anyone help?
Danny Sanders
2010-01-25 18:06:48 UTC
Permalink
You can go in the management console and have DFSR replicate temp files.


hth
DDS
Post by Marc K
I found this, too with some files. It appeared that almost all of the
files had been received by users as email attachments and saved to disk via
Microsoft Outlook. These files had the "temporary" file attribute causing
DFS-R to not replicate them.
fsutil usn readdata <filename>
If 0x100 is set, the bit is active.
This seems to be a bug in Outlook that marks user-saved attachments as
temporary files.
Post by Paul
Hi,
I have 2 Windows 2008 R2 x64 Servers that are configured with DFS. I have
configured DFS Namespace and replication and everything appeared to be
working fine.
However, I've noticed that some folders are empty on the secondary server,
even though the primary server has files in these folders. I've tried
renaming one of these files and even moving it to another directory within
dfs. The still doesn't replicate. I have checked permissions and they are
inherited so permissions isn't an issue. Also, if I create a new file within
this folder, it will replicate across to the other server. So replication of
new files is ok.
THis isn't isolated to just one file, I have approx 100 scattered all over
the DFS that just won't replicate no matter what I do.
I'm at a complete loss as to why this is or where to look. Can anyone help?
DaveMills
2010-01-30 18:23:15 UTC
Permalink
On Mon, 25 Jan 2010 11:06:48 -0700, "Danny Sanders"
Post by Danny Sanders
You can go in the management console and have DFSR replicate temp files.
Please tell us more. I know you can remove the *.tmp, ~* etc. but how do you
tell it to replicate files with the temporary bit set.
Post by Danny Sanders
hth
DDS
Post by Marc K
I found this, too with some files. It appeared that almost all of the
files had been received by users as email attachments and saved to disk via
Microsoft Outlook. These files had the "temporary" file attribute causing
DFS-R to not replicate them.
fsutil usn readdata <filename>
If 0x100 is set, the bit is active.
This seems to be a bug in Outlook that marks user-saved attachments as
temporary files.
Post by Paul
Hi,
I have 2 Windows 2008 R2 x64 Servers that are configured with DFS. I have
configured DFS Namespace and replication and everything appeared to be
working fine.
However, I've noticed that some folders are empty on the secondary server,
even though the primary server has files in these folders. I've tried
renaming one of these files and even moving it to another directory within
dfs. The still doesn't replicate. I have checked permissions and they are
inherited so permissions isn't an issue. Also, if I create a new file within
this folder, it will replicate across to the other server. So replication of
new files is ok.
THis isn't isolated to just one file, I have approx 100 scattered all over
the DFS that just won't replicate no matter what I do.
I'm at a complete loss as to why this is or where to look. Can anyone help?
--
Dave Mills
There are 10 types of people, those that understand binary and those that don't.
DaveMills
2010-01-25 21:44:22 UTC
Permalink
Post by Marc K
I found this, too with some files. It appeared that almost all of the files
had been received by users as email attachments and saved to disk via
Microsoft Outlook. These files had the "temporary" file attribute causing
DFS-R to not replicate them.
fsutil usn readdata <filename>
If 0x100 is set, the bit is active.
This seems to be a bug in Outlook that marks user-saved attachments as
temporary files.
Oh bugger, that would explain why I have seen so many files not replicating.
Many of my users will have files sent to them as email attachments. I have seen
maybe a 20% to 40% reduction is folder size but always thought it too large to
be explained by temporary files. Even deleting all ~* and *.TMP did not equalise
the sizes but if saved email attachments get the temporary bit set that may be
enough.

I will have to investigate a bit more along these lines but if this is true it
could render DFR-R completely useless in many environments.

Actually I would like to be able to replicate all temporary file too in any case
just to avoid the issues associated with quotas on replicated folders.
Post by Marc K
Post by Paul
Hi,
I have 2 Windows 2008 R2 x64 Servers that are configured with DFS. I have
configured DFS Namespace and replication and everything appeared to be
working fine.
However, I've noticed that some folders are empty on the secondary server,
even though the primary server has files in these folders. I've tried
renaming one of these files and even moving it to another directory within
dfs. The still doesn't replicate. I have checked permissions and they are
inherited so permissions isn't an issue. Also, if I create a new file within
this folder, it will replicate across to the other server. So replication of
new files is ok.
THis isn't isolated to just one file, I have approx 100 scattered all over
the DFS that just won't replicate no matter what I do.
I'm at a complete loss as to why this is or where to look. Can anyone help?
--
Dave Mills
There are 10 types of people, those that understand binary and those that don't.
Loading...