问题标签 [microsoft-distributed-file-system]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
366 浏览

asp.net - DFS Locking ASP.Net DLL's through FTP

I am having an ongoing situation where when I try to upload files via FTP that I get an error that the DLL is locked and currently cannot be overwritten. This is only DLLs that this is happeneing to and normal files (aspx, ascx, css etc) can be overwritten fine.

Our Setup
We have 2 webservers that are kept in sync via DFS which is managed from a separate server. They all belong to the same domain. They all do internal transfers on 1GB ethernet cards on a private network.

Our Problem
We develop in VS2010 and build the site we are working on, when it gets to a level where it needs to be checked on the server then its hit and miss whether we can overwrite the DLL's in the BIN folder. I only started experiencing this issue when we migrated from our old, unreliable sync tool to the super Windows 2008 DFS tool. Its a good tool and works well but this is the only thing I can think thats causing this issue.

To actually overwrite the file I need to take down all the sites that are using this base level code which then releases the lock on the DLL and I can upload it.

I come today in desperation, I am fed up and bored of having to take sites down every so often just so I can upload a DLL.

It is my understanding that ASP.Net caches the DLLs into a temporary folder, so god knows why the lock remains on the DLL itself in the BIN folder.

The weird thing is, this does not always happen, it can go for weeks and not do it. Or like recently, its around every day I have to take the IIS sites down so I can upload.

As of writing this, I cannot upload to FTP even though I have taken the sites down.

Could anyone please shed any light on this so I can actually just get on with my work rather than messing with this every ten mins. It's bad enough that VS2010 is so unstable and visual source safe only checks in what it wants without this being an issue as well!

0 投票
3 回答
9128 浏览

c# - 如何以编程方式在 DFS 中获取活动的 UNC 路径

给定一个 DFS 路径,我如何知道它当前以编程方式位于的活动路径是什么。

例如,我有 2 个服务器共享,"\\Server1\Folder\"并且"\\Server2\Folder\"它打开了 DFS,因此可以访问它"\\DFS_Server\Folder\",我怎么知道当前的活动路径"\\DFS_Server\Folder\"是什么,无论是"\\Server1\Folder\"还是"\\Server2\Folder\"

0 投票
1 回答
639 浏览

.net-3.5 - 我可以使用 DirectoryInfo 解析 DFS 路径吗?

有没有办法直接解决 DFS 路径DirectoryInfo

我找到了这个答案:如何以编程方式在 DFS 中获取活动的 UNC 路径 ……这真的是我唯一的选择吗?

0 投票
1 回答
1037 浏览

html - 如何创建指向 DFS 位置的 href 链接?

我需要在 Intranet 项目上创建指向 DFS 位置上的文件的超链接。现在有一段时间,例如 file://c:\directory\filname.txt 可以正常工作,但现在我需要使用这样的位置:

这对我使用 file:// 链接格式不起作用。(令人惊讶的是,公司内部的网络浏览器是 chrome,是的,我推崇那个 :-)

任何人都可以提出解决方案吗?

谢谢

理查德

0 投票
1 回答
1010 浏览

java - Java 通过 URL 访问 DFS 文件系统中的文件

我们正在我们的开发环境中测试一个系统,我们正在将文件系统移动到 DFS 叶子。除了尝试通过 URL 而不是 UNC 路径访问图像(用于预览图像 - 它们显示为断开的链接)时,一切都工作正常。我们认为这是开发服务器上某个根深蒂固的配置问题,与文件系统设置的更改无关,因为当我将其更改为通过 UNC 路径而不是 URL 指向图像时,图像预览工作,但我们有过去在 Java 和 DFS 系统上遇到过奇怪的问题(File.getFreeSpace() 没有返回正确的值)所以我想知道是否有任何关于 Java 的文档说通过 URL 通过 DFS 访问文件不应该是问题。谢谢。

0 投票
1 回答
426 浏览

lucene - Lucene 索引和 Windows DFS 复制

我想定期在我的网络服务器上复制 Lucene 索引。除了 Solr,我是否可以在我的 Windows 2008 服务器上设置 DFS 复制并使用它在负载平衡的 Web 服务器上复制我的索引?这种方法是否可行,或者我将不得不在我的爬虫代码中并行编写 2 个不同的索引器位置?

任何帮助表示赞赏。

谢谢!

0 投票
1 回答
208 浏览

c# - Process.Start 和 dfsdiag.exe 的奇怪行为

DfsDiag.exe默认位于C:\windows\system32. 我尝试为它启动一个过程,Process.Start但我似乎总是得到错误The system cannot find the file specified。到目前为止,我似乎没有其他任何问题。

我试过...

  • 指定完整路径@"C:\Windows\System32\DfsDiag.exe"
  • 将文件复制到运行目录。

前者失败,后者奏效。我不能为我的生活找出原因。

(操作系统为 Windows Server Standard 2008 R2)

0 投票
4 回答
1048 浏览

delphi - 使用 Delphi 远程调用命令行应用程序

我们正在将 DFS 添加到我们的网络设置中,并且对我们的自动化流程有些疑惑。

我们目前有一个工具可以在创建新项目时创建文件夹结构。这可以由任何项目管理员运行。项目驻留在网络共享上。

问题是这些新的网络共享需要添加到 DFS 命名空间。

如果我们在域控制器上本地运行,我们可以从 Delphi 应用程序调用 DFSUtil.exe 应用程序。

有什么方法可以从域上的客户端机器上做到这一点?

0 投票
1 回答
2431 浏览

hadoop - 如何在hadoop dfs中检查集群的完整路径

hadoop dfs 默认只有相对路径。例如

hadoop dfs -ls / .... /tmp1/ .... /tmp2/

如何检查它来自哪个集群。完整路径。

0 投票
2 回答
269 浏览

asp.net - 使用 windows server 2008 r2 DFS 在 Web Farm 中进行缓存。有什么例子吗?

任何示例,哪个详细使用 Windows Server 2008 r2 DFS 在 Web 场(托管在多个服务器上的应用程序)中管理 asp.net mvc 3 缓存?

我会很感激你的回应。