DFS- how does it work ? Error event id 4304

Odpovědět DFS- how does it work ? Error event id 4304

  • Wednesday, June 06, 2012 9:08 AM
     
     

    - At present my company have 2 servers ( Windows Server 2008 Standard R2)

    + 1 is primary domain controller ( server 1)

    + 1 is secondary domain controller ( server 2)

    - I just setup service DFS on server 1.

    - I want to know " how does DFS work ?"

    - I think we have 2 options ( example user using file A on share folder):

    + First: user can use virtual folder ( name) as " data" ( as picture below). I'm not sure when server 1 down, then what trouble happen ?

    Can user continue use file A ( assumption he is opening, file A is excel or word...) ? or it will be corrupt ?

    + Second: user will use share folder " data 1" on server 1 ? So what trouble happen when server 1 down ? user have to stop his work and we have to change to use folder " data 2" by manual ?

    - Assumption: user 1 open file A, it is linked to server 1, but user 2 open file A and it is linked to server 2. Both of them open file A at the same time --> so what trouble happen ? who will have full permission at file A ? who only read only file A ?

    BBecause at present, in my company, user use folder " data" --> 2 user can open 1 file at the same time, no warrning by Microsoft Office...they can save, but the data of person who close file first is not save ???

    And I check log in server, I see error code 4304.

    Please help me make clear this issue.

    Thanks everyone.

    --------------------------------------

    The DFS Replication service has been repeatedly prevented from replicating a file due to consistent sharing violations encountered on the file. The service failed to stage a file for replication due to a sharing violation. 


    hoang



    • Edited by hoangnk Wednesday, June 06, 2012 9:25 AM
    •  

All Replies

  • Friday, June 08, 2012 9:11 AM
    Moderator
     
     Answered

    Hi,

    1. If target serverA is down while files is still in using, user can continue edit the file until he click Save. If "Active" server is not changed to serverB, the "edit" step will hang for a while, until it ask for a new place to save the file or saved to serverB directly (if target server changed to serverB in time). I just tested this before reply.

    2. The same file on different server targets (ServerA and ServerB) are different file. So both user will have full permission at fileA as it is on different server.


    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tnmff@microsoft.com.

  • Monday, June 11, 2012 10:04 AM
     
     

    Thank you Mr Shaon Shan,

    Assumption both user 1 and user 2 connect by link \\xyz.local\data, so how can we know the file ( A ) link to server 1 or server 2 ?


    hoang

  • Friday, July 06, 2012 7:34 AM
    Moderator
     
     

    Sorry for the delay.

    1. When right click on the folder \\xyz.local\data<folder>, we will find a tab named DFS. It will mark the currently connected target as "active".

    2. The command "dfsutil /pktinfo" will show the active target too. For Windows 7 clients, they need to install Remote Server Administration Tools for Windows 7 with Service Pack 1 (SP1) to get the file dfsutil.

    Detailed information please see:

    http://blogs.technet.com/b/josebda/archive/2010/05/02/where-to-find-dfsutil-exe-for-windows-server-2008-and-windows-server-2008-r2.aspx


    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tnmff@microsoft.com.