Questions tagged [microsoft-distributed-file-system]

For programming questions about Microsoft's Distributed File System (DFS). (For questions about depth-first search, use the [depth-first-search] tag.)

176 questions
3
votes
0 answers

DFS as physical location for IIS site

From iis 7.5 (at least that is when I know it is possible), I can use a dfs share( e.g. \websiteshare\Mysite) as the physical location of an IIS site. For example, in a web farm environment, we got 2 or 3 servers and the site is a CMS system that…
daxu
  • 3,514
  • 5
  • 38
  • 76
3
votes
1 answer

How can I programmatically convert a DFS path to UNC using VBS?

I have several scripts that must use UNC paths - not DFS - and would like to be able to determine the UNC path programmatically from the DFS path. For example, we have something like: \\domain\fs\Home\HomeFolder\MyUserID and I would like to get…
Lizz
  • 1,442
  • 5
  • 25
  • 51
3
votes
1 answer

How to check if UNC path is DFS path?

Suppose I've got three UNC paths: \\it\may\be\samba\on\linux.txt \\maybe\its\on\windows\fileserver.txt \\and\that\one\is\dfs.txt How can I check (in c#) which one is a dfs mapping and which one isn't?
takrl
  • 6,356
  • 3
  • 60
  • 69
2
votes
2 answers

Make all combinations of size k starting from 1 to number n

Given two numbers n and k and you have to find all possible combination of k numbers from 1…n. I am implementing this using DFS algorithm. But my ans array return None, whereas if I try to print temp the combinations are generated correctly. What am…
ananya
  • 879
  • 1
  • 7
  • 14
2
votes
5 answers

Letter combinations of a phone keypad key

I have a question about letter combinations of a phone keypad key in JavaScript. I wrote a solution using DFS recursion. But it does not work as expected. I am new to JavaScript but similarly written code in Ruby works. The problem is about getting…
2
votes
1 answer

Replace DFS folder target

I am looking for a PowerShell script that is capable to change the file server name in folder targets of all DFS namespaces e.g. folder target '\\server1\Marketing\Branding' should become '\\server2\Marketing\Branding' This is what I've come up so,…
2
votes
1 answer

Is this the best algorithm for detecting a cycle in an undirected graph?

The following C# algorithm I wrote detects the existence of a cycle in an undirected graph in O(n) time. It avoids recursion and takes advantage of hashing via Dictionaries and HashSets. But is there a way I can do even better? void Main() { …
2
votes
1 answer

Cycle detection in directed Graph using DFS based on stack

Below algo is failing after stack overflow exception. Please let me know how can i correct it for cycle detection in Directed Graph or if possible can somebody provide algo based on stack instead of recursion. public boolean hasCycle(Graphnode n)…
2
votes
1 answer

SMB jcifs "jcifs.smb.client.dfs.disabled=true" impacts

I had a performance issue with SMB file upload using JCIFS SMB. The problem was related to jcifs.smb.client.dfs.disabled property and using true fixed the issue. Now the question is that in which case I will be having problems using…
Jokkeri
  • 1,001
  • 1
  • 13
  • 35
2
votes
2 answers

A better way of calculating top-32 file sizes for DFS folder staging size

A common task when setting up a DFS replica is to determine the size of the 32-largest files in the replicated folder - the sum of these should be the minimum size of the staging area, according to current best practice. A method of finding and…
LeeM
  • 1,118
  • 8
  • 18
2
votes
0 answers

Javascript DFS Foldermonitoring

I'm trying to programm a website which is supposed to get a notification/alarm when a file is a added into a DFS folder of a different server. I already tried using weird combinations from ajax and php, which works perfectly fine when applied to the…
Curunir
  • 1,186
  • 2
  • 13
  • 30
2
votes
1 answer

How to create distributed file system

Just for self education I decided to implement "hello world" distributed file system. The simplest one. And decide to read about theory under this subject. But... when I asking google about this it shows answers like "how to configure hdfs" or "how…
Eugene
  • 301
  • 1
  • 4
  • 13
2
votes
1 answer

Powershell Oddity Returning DFSR Volumepath with and without Quotes

First post here! I'm seeking to improve my monitoring of DFS replication on Windows 2008 R2 and so do not have access to the nicer PS cmdlets available to 2012 and above. I've run into an oddity and wondered hwo to get out of it, please? I'm a bit…
2
votes
1 answer

Need Help for Setup Apache Hadoop on Apache Mesos

I'm trying to setup hadoop on mesos using the document below: https://docs.mesosphere.com/tutorials/run-hadoop-on-mesos/ I'm facing a problem on step-9 sudo -u mapred ./hadoop-2.0.0-mr1-cdh4.2.1/bin/hadoop dfs -rm -f…
2
votes
3 answers

How to extract the DFS properties of a folder using powershell

I would like extract the information from the DFS property tab of a folder using powershell. Essentially I would like to traverse through a folder structure and recursively retrieve the dfs information for every folder that has it.
Bruno
  • 5,772
  • 1
  • 26
  • 43
1
2
3
11 12