Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > File Systems > DFS-R: prestaging files

Reply
Thread Tools Display Modes

DFS-R: prestaging files

 
 
DevilsPGD
Guest
Posts: n/a

 
      06-30-2008
Okay, I'm a bit lost as to the best way to prestage files here.

I've read that you should avoid using robocopy with the copyall flag as
this apparently sets the NTFS permissions inheritance flag incorrectly.
The alternative I've seen suggested is xcopy, but I haven't seen any
specific command line offered.

In testing I used the following command to prestage a few GB and it
appeared to work, but when I enabled replication on a larger dataset the
initial replication is taking several hours and is logging various
indications that files were not identical, etc.

xcopy \\initial-server\%x$ W:\%x /e /i /h /k /o

Eventlogs are showing multiple 4412 - "The DFS Replication service
detected that a file was changed on multiple servers. A conflict
resolution algorithm was used to determine the winning file. The losing
file was moved to the Conflict and Deleted folder"

I'm replicating between a 2008 Standard x64 server and a 2003 Standard
R2 x64 server.

Am I missing something obvious, or do I just need to be more patient?
 
Reply With Quote
 
 
 
 
Danny Sanders
Guest
Posts: n/a

 
      06-30-2008
I use robocopy x:\ z:\ /e /sec /w:3 /r:2 and it works like a charm.
You can also use the /LOG switch to see what w

Yes you will see a lot of junk but I've found that the "junk" actually
clears up MUCH faster than if you had not prestaged the data.

hth
DDS

"DevilsPGD" <> wrote in message
news:...
> Okay, I'm a bit lost as to the best way to prestage files here.
>
> I've read that you should avoid using robocopy with the copyall flag as
> this apparently sets the NTFS permissions inheritance flag incorrectly.
> The alternative I've seen suggested is xcopy, but I haven't seen any
> specific command line offered.
>
> In testing I used the following command to prestage a few GB and it
> appeared to work, but when I enabled replication on a larger dataset the
> initial replication is taking several hours and is logging various
> indications that files were not identical, etc.
>
> xcopy \\initial-server\%x$ W:\%x /e /i /h /k /o
>
> Eventlogs are showing multiple 4412 - "The DFS Replication service
> detected that a file was changed on multiple servers. A conflict
> resolution algorithm was used to determine the winning file. The losing
> file was moved to the Conflict and Deleted folder"
>
> I'm replicating between a 2008 Standard x64 server and a 2003 Standard
> R2 x64 server.
>
> Am I missing something obvious, or do I just need to be more patient?



 
Reply With Quote
 
DevilsPGD
Guest
Posts: n/a

 
      06-30-2008
In message <#> "Danny Sanders"
<> wrote:

>I use robocopy x:\ z:\ /e /sec /w:3 /r:2 and it works like a charm.


Thanks, I'll give that a shot for the next test.

>You can also use the /LOG switch to see what w
>
>Yes you will see a lot of junk but I've found that the "junk" actually
>clears up MUCH faster than if you had not prestaged the data.


The current share I'm watching has ~48,340 files, 23.8GB, and was
prestaged using my xcopy command line (I'll try your robocopy command
line for the next one and see if that makes a difference)

I'd normally expect my previous sync tool (rsync based) to take less
then an hour to build a list of files that need to sync (and assuming
neither side has changed, that would be the end of the process) after
prestaging. Any ballpark on how long DFS-R will take -- I'm not as much
worried, as just wanting to set reasonable expectations.

Thanks for the input!
 
Reply With Quote
 
DevilsPGD
Guest
Posts: n/a

 
      06-30-2008
In message <> DevilsPGD
<> wrote:

>In message <#> "Danny Sanders"
><> wrote:
>
>>I use robocopy x:\ z:\ /e /sec /w:3 /r:2 and it works like a charm.

>
>Thanks, I'll give that a shot for the next test.


I prestaged another share with robocopy and fired up DFS-R, I'm still
seeing some files reporting as having changed. The file most definitely
was not touched between when I ran robocopy and now.

Any idea how to find out what and replicate the change with robocopy, or
should I stop stressing and just let DFS-R do it's thing?
 
Reply With Quote
 
Danny Sanders
Guest
Posts: n/a

 
      07-01-2008
I'm not 100 % sure what DFSR is doing during the initial sync. Initial sync
is the first sync when setting up a replication group for data collection.
But I have found that prestaging cuts the initial sync time in half if not
more compared to when the initial sync runs without prestaging.

Let DFSR do it's thing.


hth
DDS

"DevilsPGD" <> wrote in message
news:...
> In message <> DevilsPGD
> <> wrote:
>
>>In message <#> "Danny Sanders"
>><> wrote:
>>
>>>I use robocopy x:\ z:\ /e /sec /w:3 /r:2 and it works like a charm.

>>
>>Thanks, I'll give that a shot for the next test.

>
> I prestaged another share with robocopy and fired up DFS-R, I'm still
> seeing some files reporting as having changed. The file most definitely
> was not touched between when I ran robocopy and now.
>
> Any idea how to find out what and replicate the change with robocopy, or
> should I stop stressing and just let DFS-R do it's thing?



 
Reply With Quote
 
DevilsPGD
Guest
Posts: n/a

 
      07-01-2008
Looking at the bandwidth stats reported by DFS and by the NIC, it looks
like DFSR is copying the vast majority of the content from one share to
another.

I have a 16GB share up next which I'm going to replicate across four
machines, I'm going try prestaging only to one and see how the numbers
and timing look.

Either way, I appreciate all the feedback, I think I just need to be
more patient with the initial replication.

In message <#> "Danny Sanders"
<> wrote:

>I'm not 100 % sure what DFSR is doing during the initial sync. Initial sync
>is the first sync when setting up a replication group for data collection.
>But I have found that prestaging cuts the initial sync time in half if not
>more compared to when the initial sync runs without prestaging.
>
>Let DFSR do it's thing.
>
>
>hth
>DDS
>
>"DevilsPGD" <> wrote in message
>news:.. .
>> In message <> DevilsPGD
>> <> wrote:
>>
>>>In message <#> "Danny Sanders"
>>><> wrote:
>>>
>>>>I use robocopy x:\ z:\ /e /sec /w:3 /r:2 and it works like a charm.
>>>
>>>Thanks, I'll give that a shot for the next test.

>>
>> I prestaged another share with robocopy and fired up DFS-R, I'm still
>> seeing some files reporting as having changed. The file most definitely
>> was not touched between when I ran robocopy and now.
>>
>> Any idea how to find out what and replicate the change with robocopy, or
>> should I stop stressing and just let DFS-R do it's thing?

>

 
Reply With Quote
 
DevilsPGD
Guest
Posts: n/a

 
      07-02-2008
Even weirder...

I prestaged two 16GB shares using exactly the same robocopy command, and
they started at the same time.

One took four hours and replicated under 500MB of data, the other took
over a day and replicated over 12GB of data.

Magic and mystery I tell ya! Either way, I'm just setting it up and not
stressing now, so life is good.

Thanks for all the info!

In message <#> "Danny Sanders"
<> wrote:

>I'm not 100 % sure what DFSR is doing during the initial sync. Initial sync
>is the first sync when setting up a replication group for data collection.
>But I have found that prestaging cuts the initial sync time in half if not
>more compared to when the initial sync runs without prestaging.
>
>Let DFSR do it's thing.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prestaging... Ross Windows Vista Installation 0 03-09-2007 02:53 PM
What is Prestaging? jmarsh Windows Server 1 06-29-2006 08:15 AM
frs prestaging Azerty123 File Systems 2 02-01-2005 09:46 PM
Prestaging SUS or WUS radius2 Windows Server 3 01-12-2005 12:54 AM
PreStaging Dave Scripting 0 08-02-2003 12:57 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59