Skip to content
DigitalRGS

DigitalRGS

Journey through the Gaming World, Navigate the Social Media Landscape, and Dive into the Tech Realm

Primary Menu
  • Home
  • Gaming World
  • Social Media World
  • Tech World
  • Contact Us
  • Gaming World
    • Freshest Facts
  • Home
  • Latest
  • DFS File Share- File Conflicts and lost data

DFS File Share- File Conflicts and lost data

Renee Straphorn 5 min read
2054

File conflicts and lost data are two of the most common problems in file sharing. This is mainly because there’s no central authority to resolve these issues, which means that users must resort to manual intervention.

The recover files deleted from dfs share is a tool that recovers data that has been deleted or overwritten.

I’ve previously gone through situations in which DFS was implemented and made extremely accessible. In my post on DFS clustering, I stated that one of the disadvantages of DFS clustering is the risk of data corruption and loss owing to the possibility for two individuals to operate on the same file at the same time – there is no file lock. There is a simple solution for this, but it is far from ideal and comes at a price.

Before we get started, let’s have a look at

I’m assuming you know what we’re talking about and, by some chance, you’ve stumbled into this SEO-unfriendly site and want to learn more about this DFS miraculous technique (which it isn’t).

This post requires you have a DFS Namespace cluster with at least two servers in place, as well as shared folder replication.

To be clear, just because Namespaces and Replication are both part of DFS Management doesn’t imply they’re inseparable. Contrary to popular belief, they are distinct services and procedures with no obvious link between them.

Why am I making this statement? Because changing certain Namespace settings has no impact on replication.

As usual, the greatest approach to persuade oneself is to put things to the test. If you’re going to attempt this, please do it in a LAB or test setting rather than in production. I couldn’t be held liable if you broke or misplaced anything (even your mind after you realize the damage).

Please do a test first.

Is there a method to avoid data loss when two users access the same file on DFS at the same time?

If you want your DFS and file shares to be highly accessible, there is no “effective” solution for this issue with DFS.

If you need load balancing, this solution is not for you.

If you need a lot of availability, this isn’t the best option. But enough with the theory; let me show you what I’ve got.

I have two servers (TDFS1 and TDFS2) hosting DFS Namespace on the Data1 folder, which is also replicated across the two servers (TDFS1->TDFS2).

We can see that there are two referals for this link TDFS1 and TDFS2 – this client is connected to TDFS1. If I open my namespace TFileServerTFileServer (I know, I’m not the most imaginative person in the world) and right click on Data1 file share and open DFS tab, we can see that there are two referals for this link TDFS1 and TDFS2 – this client is connected to TDFS1. Another computer may be linked to TDFS2 and work on the same file. In the end, the person who saves last wins, and other modifications are overwritten.

DFS-File-Share-File-Conflicts-and-lost-data

When I open DFS Management, I can see my Data1 share under Namespaces, and we can see that both Referral Status on TDFS1 and TDFS2 is Enabled under Folder Targets.

1632181509_328_DFS-File-Share-File-Conflicts-and-lost-data

The solution is straightforward: disable one of the referrals.

Because I showed you that my client is using TDFS1, I’m going to turn off TDFS1 and see what happens.

1632181510_778_DFS-File-Share-File-Conflicts-and-lost-data

Okay, TDFS1 has been deactivated. Referral is disabled in Namespace.

1632181510_434_DFS-File-Share-File-Conflicts-and-lost-data

Is this implying that your replication from TDFS1 to TDFS2 and vice versa has come to a halt? No

You can see that both targets and Connections are active when you open Replication for Data01.

1632181511_565_DFS-File-Share-File-Conflicts-and-lost-data

That’s why I was rambling in the start: Namespaces and Replication are two different services.

You may also test replication by generating a few files and folders, even if one Namespace referral is blocked.

I’ve returned to the Client to check what’s up with our users. One moved to TDFS2, but the one who was editing on TDFS1 remained connected to that node. The second client connected to TDFS2 after a reset.

1632181512_123_DFS-File-Share-File-Conflicts-and-lost-data

I can only see TDFS2 as a Referral after rebooting.

1632181513_385_DFS-File-Share-File-Conflicts-and-lost-data

This implies that all of our users will be connected to the TDFS2Data1 share, which means no more duplicate files being accessed by various users at the same time and the risk of data loss.

This also implies that load balancing and automated high availability are not available.

Also, if someone is accessing the folder via another method, you haven’t gained anything by disabling Namespace referral (folder is still shared).

If you ever require it, just activate second referral (TDFS1) and all clients will see it following a reboot.

It is entirely dependent on your use case to determine whether or not this is appropriate for you. However, this will resolve your file conflict and data loss issues (caused by different users opening same file)

Behind the scenes, replication is taking place. And if one of your DFS nodes fails (due to a hardware failure), you can easily reactivate the second one you deactivated, resulting in little downtime.

Testing

Let’s put our modification to the test. On Client1, I generated a basic document in Libre Office and left it open.

1632181513_25_DFS-File-Share-File-Conflicts-and-lost-data

Then I went to Client2 and attempted to access the same file.

1632181514_780_DFS-File-Share-File-Conflicts-and-lost-data

Good. You can still overwrite if you try with notepad and a basic txt file. However, LibreOffice or MS Office perform the job properly.

Even on the node where we deactivated Namespace, the file I generated is still duplicated on both nodes. Perfect

1632181514_747_DFS-File-Share-File-Conflicts-and-lost-data

So, it seems that the technique works.

Conclusion

This is far from a perfect solution, but it will save you the headache of lost files and changes, and it will allow you to have some level of high availability – because all changes are replicated on both servers, and if one fails, you can simply enable Namespace referral and people can continue to work.

Again, this isn’t perfect; try it out and see if it meets your needs; if it does, fantastic. If not, and you’re having a lot of DFS issues, it may be time to try something else.

Disclaimer

The get-dfsrpreservedfiles is a command-line tool that can be used to find the DFSR files that have been preserved on your computer. If you are experiencing file conflicts or lost data, you should use this tool.

Related Tags

  • dfsrprivate access denied
  • move deleted files to conflict and deleted folder
  • dfs files disappearing
  • dfs conflict and deleted folder location
  • how to restore dfs replication

About The Author

Renee Straphorn

See author's posts

Tags: images

Continue Reading

Previous: 5 Steps to Resolve the issue [Working]
Next: How do I turn off Bose Soundlink Revolve?

Related Stories

Maximizing Impact at Corporate Conferences with Innovative Audio Visual Planning Image2
5 min read

Maximizing Impact at Corporate Conferences with Innovative Audio Visual Planning

Corlandis Pyral 11
The Ultimate Basketball Games To Play On Mobile Today Image3
3 min read

The Ultimate Basketball Games To Play On Mobile Today

Renee Straphorn 29
5 Bonus Buy Slots That Actually Give You a Shot
4 min read

5 Bonus Buy Slots That Actually Give You a Shot

Renee Straphorn 27
How Long Is a DUI on Your Record? DUI concept of car keys, beer mug, and gavel together.
3 min read

How Long Is a DUI on Your Record?

Renee Straphorn 31
How Data Is Influencing Decision-Making Today
3 min read

How Data Is Influencing Decision-Making Today

Maggie Hopworth 35
How Social Features (Chat, Leaderboards) Boost Engagement in Casino Apps Image3
4 min read

How Social Features (Chat, Leaderboards) Boost Engagement in Casino Apps

Maggie Hopworth 34

What’s Hot

What are the key features of Ometria? ometria crm 40m 75m butchertechcrunch

What are the key features of Ometria?

March 27, 2023
Moss is a spend management app that helps businesses keep track of their spending moss 75m series tiger 500mdillettechcrunch

Moss is a spend management app that helps businesses keep track of their spending

March 27, 2023
Bibit is a robo-advisor app for Indonesian investors bibit 30m sequoia capital 45mshutechcrunch

Bibit is a robo-advisor app for Indonesian investors

March 27, 2023
What are the key features of Ometria? ometria crm 40m 75m butchertechcrunch

What are the key features of Ometria?

March 27, 2023
Why the Alexa Turing Test is Important the alexa turing test fastcompany

Why the Alexa Turing Test is Important

December 20, 2022

3981 Solmonel Avenue
Melos, SC 10486

  • Privacy Policy
  • Terms & Conditions
  • About Us
  • Freshest Facts
© 2022 Digitalrgs.org
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT