Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a mounted NTFS partition under Windows (2003) and Linux (RHEL 5.7) at the same time. The LUN resides on SAN and is presented to both servers at the same time. At first, the setup looks ok as I initially can see files from both Windows and Linux.

Writes are only initiated from Windows and I mounted the partition under Linux with read only (ro) and no access time (noatime) options. But when I add files from Windows, I can't see them under Linux. Is there anything I'm missing? Is it even possible at all?

I would like to achieve this in order to avoid copying from the network for a data migration of > 1Tb. Do you see any other way to do it?

share|improve this question
Can you copy the files to the LUN, unmount from Windows, then read from Linux? – ewwhite Dec 16 '11 at 19:01
Yes, that would work. I forgot to mention about it, but we are trying to avoid this since it would involve 3 more people coming to work on a saturday to make the migration (San admin, Windows admin and Linux admin)... – skinp Dec 16 '11 at 19:06
what type of san, with netapp just flexclone etc.. – tony roth Dec 16 '11 at 19:49
Why does it have to be mounted for read on linux at the same time it's mounted for writing on windows? – sciurus Dec 16 '11 at 23:03
I have already asked a similiar question at… – Sergei Dec 25 '11 at 16:39
up vote 13 down vote accepted

As far as I know NTFS is not meant to be used like that and the only thing you will probably achieve this way is invalid data read from the filesystem.

You can either unmount the filesystem from windows and mount it on linux for the migration, or you can use some clustering filesystem for this purpose. Unfortunatelly I know of no opensource cluster filesystem that is capable of this.

I believe CXFS and StorNext should be able to do what you want.

share|improve this answer

NTFS isn't a cluster-aware file system, I get what you're trying to do but there's no mechanism for NTFS to let the Linux box know it's been changed and from the Linux side it has no reason to assume things CAN change without those changes coming from itself. Basically you need to use a file-level sharing system or a multi-OS block-level cluster-aware file system.

share|improve this answer

Mount the LUN on Windows and present it as a read-only CIFS (windows share) to the Linux box.

share|improve this answer

You should use something made for this, like NFS.

Simultaneously mounting the same raw file system on more than one machine is a disaster if the ecosystem and OS aren't developed to handle that. A clustered file system is one way to do it, as mentioned above. An actual network file system (on a server or NAS), like NFS or SMB, is another way to do it. Things like locking and heavens knows what else needs to be handled, and clustered or network FS were created to do exactly that.

share|improve this answer

The correct way to do this would be to have the Windows, SAN and linux admins come in to do the migration.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.