Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Problems with a Network Share available Two Separate Domains

Posted on 2013-01-16
Medium Priority
Last Modified: 2013-03-30
I am in the process of setting up a new domain on our server.  Our server is running VmWare ESXi.  We currently have two domain controller virtual machines setup (the old one and the new one that will be replacing it).  One of our drives is being added to each domain controller via the iSCSI Initiator and being shared across each DC's network.  We are experiencing the following problems:

1) If a file is deleted on one of the two network shares, it still shows on the other share.
2) If a file is added to one of the two network shares, it doesn't show on the other share.
3) If a file is modified on one of the two network shares (for example, a vbs file), the changes do not show up on the other network share.

This is only one hard disk, not a mirror image.  I have already set HKLM\System\CurrentControlSet\Services\LanmanWorkstation\DirectoryCacheLifetime and HKLM\System\CurrentControlSet\Services\LanmanServer\DirectoryCacheLifetime to 0x00000000.

What am I missing?  How can two different versions of the same file exist on a single physical drive simultaneously?

Thanks in advance!
Question by:dietzmj
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
LVL 124
ID: 38784709
if you have a single iSCSI LUN, you CANNOT connect the LUN to both Servers, simultaneously, without using Failover Clustering, and Clusted Shared Volumes.

iSCSI LUNs are not designed to connect to two servers at the same time - concurrently, what you are experiencing will happen, worse still you can end up with the entire volume being corrupted.

Is this what you are attempting to do?

I would add the iSCSI LUN to a DC, and then using two NICs (on different networks), Create a File Share, and share the contents of the physical drive (LUN) or use a NAS.

Author Comment

ID: 38784721
Yes.  We have quite a few iSCSI LUNs that we would like to have available on both domains until the changeover is complete.  Are the changes to these files being saved separately on each server?  I have another file share that shows available on one server and on the other says needs to be formatted...

Expert Comment

ID: 38784741
uhoh... did I get you right???

You connected one (virtual) disc to two machines using iSCSI without setting up some cluster shared volumes?
I can't believe this being true...
I also can't belive this would work....

You also have two separate domains (without trusts) accessing this disk at the same time?
--> Question: if the filesystem is NTFS - how could you ever set permissions? (if the idea above worked at all)
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.


Expert Comment

ID: 38784761
I hope you are talking about problems in your lab, otherwise i hope you have a good - and working - backup.
LVL 124
ID: 38784768
You cannot do it, iSCSI LUNs are not designed for this!

Implement Failover Clustering and Clustered Shared Volumes, or use a NAS.

What you are experiencing is CORRUPTION!

Servers have no idea, any other server is writing to the volume, so your NTFS disk will be corrupted. (why would it, it's not normal!)

Accepted Solution

t-work earned 2000 total points
ID: 38784779
Are the changes to these files being saved separately on each server?

How should they do so? They are accessing the *same* disk for this data / changes - each Server will write to some Master File Table and will probably destroy the "other's Servers" MFT / overwrite data anywhere on the disk.

The longer you have this constellation the more data you can lose.

Stop that as soon as possible!

--> still hoping you are in a lab!

Author Comment

ID: 38817203
Lol, I was not in the lab, this was our office system.  Unfortunately, the wonderful IT company we enlisted for consulting decided to leave us high and dry, putting me (an unexperienced, persistent learner) to setup our new servers.  The old domain's LUN connections have been disconnected.  Before doing so, however, we did experience quite a bit of file corruption.  It sounds like, from what you are telling me and from what I can deduce, that basically because each server is unaware of the others MFT, new files are being written on top of parts of files modified on the other server, and vice versa.  I did the best I could to backup what data was still around, but this was not always possible (obviously) as some files had simply be written over.

I am, however, still experiencing some file corruption on data that previously WAS NOT corrupted, even though the other LUN has been taken offline.  This may COMPLETELY be a coincidence.  I am not sure.  I have run a check disk on each virtual drive.  I am backing up data more often than usual (as a just in case).  Any one have any thoughts on this?  Is this possibly a result of this major screw up I caused?  Or should I be looking elsewhere for the root of these NEW problems?

Thanks again!
LVL 124
ID: 38817768
if you have exoposed and use LUNs in this way there will be lots of corruption.

Expert Comment

ID: 38829699
Oh dear, poor you.
Being left by some IT company is not what you want to have to take care of...

You are right with the MFT part. The only thing that could have done it even worse is an automatic defrag on one of the Servers ;-)

The problem is that you don't know exactly which data each server has overwritten.
Probably some files from "Server B" - that is now disconnected - have been accessible from "Server B" - but they aren't anymore on "Server A" - as the entrys on "Server A" are not up to date anymore.

The most secure way - and the only one I would ever trust - is:
- try to safe all data that your users have changed since the two servers connected to the single LUN - just in case. There could be some that are working.
- Test if your backup from before "the screw-up" WORKS. Double check.
- Format the LUN --> delete everything on it --> restore your backup and give your users access to the "safed files" (the ones that have been modified) in a different folder. So you have ALL your files that are 100% OK (restored) in one place and a place with "eventually working" files in another.
If a file of the latter is OK, users could copy it to where it belongs.

Otherwise your users could still find corrupt files in two years - as nobody knows which files are damaged. And: who knows if you still have your backup from 12.2012 in two years? Or five?
Wishing you all the best!

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
An article on effective troubleshooting
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question