Quantcast
Channel: File Services and Storage forum
Viewing all 16038 articles
Browse latest View live

ROBOCOPY Scripting

$
0
0

Hello Guys,

I have one situation to make back up with Robocopy.

Source Folder

destination folder

I want to make robocopy script here is my Condition.

* make backup from source to destination folder.

* Run this command every day with windows Schedular..(Think this i can do.).

* After First time of back, whenever Robocopy scripts run only copy changes to Destination folder.

* Main Problem which i have: If file is deleted at source folder then this file should not be deleted at the destination.

but if there is any new file which is created at Source folder then it should be updated at destination folder.

thanks


Ricoh Aficio MP C2051 Scan to Folder - Windows Server 2012 Error: Authentication with the destination has failed check settings

$
0
0

I have recently upgraded a clients servers to Windows Server 2012 & since doing so have lost the ability to scan to folder.

Both servers are domain controllers and previously on a 2008 domain controller I would have had to make the following change to allow scan to folder:
 Administrative Tools
 Server Manager
 Features
 Group Policy Manager
 Forest: ...
 Default Domain Policy
Computer configuration
 Policies
 Windows Settings
 Security Settings
 Local Policies
 Security Options
 Microsoft Network Server: Digitally Sign Communications (Always)
 - Define This Policy
 - Disabled

However I have applied this to the Windows 2012 server but am still unable to scan, possibly due to added layers of security in server 2012. The error on the scanner is Authentication with the destination has failed check settings.
I have also tried the following at the server:
Policies -> Security Policies
Change Network Security: LAN Manager authentication level to: Send LM & NTLM - Use NTLMv2 session security if negotiated.
Network security: Minimum session security for NTLM SSP based (including secure RPC) clients and uncheck the require 128 bit.
Network security: Minimum session security for NTLM SSP based (including secure RPC) servers and uncheck the require 128 bit
I have created a user account on the server for the ricoh and set this in the settiings of the Ricoh and verified everything is correct.

Are there any other things I have missed?

Offline Folder can not chaange the letter of a file name from capital to lowercase

$
0
0

Dear Expert,

we deploy the offline folder to end users, there is a strange issue happened now, if user tries to change the letter of a file name from capital to lowercase, the system will show "You need permission to perform this aciton". But other actions are fine, like, create, delete, rename, etc.

DFSR doesn't start replication

$
0
0

Hello. I've got some strange problem with DFSR. We have two servers with Windows 2012R2 and the disk about 12Tb for replication. About a week ago initial replication was working fine. But suddenly it stopped with event IDs 4010 and 2010. Reboot didn't help. I've tried to recreate the replication but the replication doesn't start at all. On the secondary member I see event 4102 that it is ready for initial replication but there is nothing on the primary member. In the debug log I see:

20140807 10:32:53.966 8700 SRTR   971 [WARN] SERVER_EstablishSession Failed to establish a replicated folder session. connId:{605DEC59-914E-4FE0-BE2F-4D7365187AC6} csId:{7191B1EC-050D-4DF7-97E3-EC35B5CD860D} Error:
+ [Error:9028(0x2344) UpstreamTransport::EstablishSession upstreamtransport.cpp:803 8700 C Content set was not found]
Error:9028(0x2344) OutConnection::TransportEstablishSession outconnection.cpp:510 8700 C Content set was not found]
Error:9028(0x2344) OutConnection::TransportEstablishSession outconnection.cpp:454 8700 C Content set was not found]

DC source time is another DC instead of PDC

$
0
0

Hi,

I check the source time of 4-5 DC and maybe just synch with PDC. Must of them synch with other DC instead of PDC.

I check the registry setting of all and they have:NT5DS , only PDC have: NTP

Why is that? Resynch or restart Windows Times don't help. What is the reason or the process that push them to see another DC?

Problem with DFS when enumerating large folders

$
0
0

Hi,

In our organization we have DFS in place. We don't use DFS-r replication. The DFS roots are hosted on 3 2012R2 domain controllers and we have 2 domain based namespaces (windows 2000 mode). We have a lot of issues when users/applications/servers are trying to open folders with lots of files in them (typically 10000+). When this happens DFS hangs organization wide. This causes a lot of problems for back-end applications which are constantly moving around files to different front-end systems. Most of them get exceptions resulting in a manual restart. Since our organization is running 24/24, 7/7, this is very ennoying. Especially for engineers who have to get up at night to restart those services.

All user folders/mapped network disks are using DFS to access the file server. We have more then 2000 employees accessing a DFS namespace. At the time the issue occurs, they also experience problems accessing their data. 

When the issues occur, we have no problems accessing the targets themselves, so we can exclude file server issues. We use a third party appliance as DNS server, but this also works as should at the time the issue occurs. The only way to resolve our issue that we have found so far is to clean out those folders, or when that's not possible, exlude them from the DFS namespace.

We thought upgrading our DC's from 2003 to 2012R2 would resolve the issue but that didn't do it. Is this a known issue and is there another workaround/fix? Also, is there a way to find out which target caused DFS to hang? We have already done a lot of troubleshooting with articles we found on the net but nothing seems to be wrong with our DFS setup/AD/DNS. We also opened serveral cases with MSFT but after the network trace analysis they always conclude there's nothing wrong.

Thanks in advance! 

File Server Resource Manager - create a customized File Management Task

$
0
0

Hello everybody!

I have experienced some troubles with the FSRM and customizing File Management Tasks under Windows Server 2012. I hope someone could assist me in this matter.

I found this Technet blog some time ago and my actions were based on it:http://blogs.technet.com/b/filecab/archive/2009/05/11/customizing-file-management-tasks.aspx

However, it doesn't want to work out quite how i want yet.

I would like to explain my situation first. We would like to archive our File Server, every file that hasn't been accessed for over 4 years should be moved to a different location. The folder structure as well as the permissions should be kept like they were on the file server (the only exception would be that write right on those files would/should be removed, because we don't want people to edit or delete archived files). We realized that this is not quite realizable with a normal file management task (with choosing "file expiration" in the action drop down). That's why we decided to make a script by ourselves and choose "customize" in the action drop down of the file management task in FSRM.

The problem we do have now is that the script doesn't get executed, we basically did the same thing like we were told to in that Technet blog without any success.

First of all we created an easy script in order to make sure our customized file management task works like it should. For that we just wanted to create a log file with the Source File Path of the work-related file, which is about to get archived in the task. The "%1" stands for the parameter [Source File Path]. The script looks like that:

echo %1 > C:\Users\Username\Desktop\log.txt
exit


I have attached a screenshot of the customized file management task as well:

Okay so far so good. If I run the file management task now, it somehow ends up in an endless loop, it doesn't do anything and it doesn't finish either. FSRM created a log file though. If I look at it I can see that every single file that matched the condition of last accessed 4 years ago, ended up in an error:

"Unable to run command: C:\Windows\System32\cmd.exe C:\Windows\System32\test.cmd [Source File Path]. 0x80045367, the file management action command timed out."

I have tried several ways of customizing the task already (absolute path, no absolute path, script file endings cmd or bat) nothing changed the result... Furthermore the script i am providing to test this customized task is fairly easy and working. So my assumption is that FSRM doesn't even execute the script?

I don't know where the error could be and i would really appreciate your help in form of troubleshooting or other suggestions/solutions how to achieve our goal.

Thank you!

Dario

The Date Accessed attribute is resetting to all the files in a folder

$
0
0

Hi all,

I have an issue that the "Date Accessed" attribute is often resetting to all the files in a folder if i open single file as this folder is from File server mapped as Drive to me. This is happening to all the users whoever connect to that fileserver and i see same issue from RDP as well. is there any option to check which is resetting the "Date Accessed" attribute to all the files. The Date Access attribute is simillar to Date accessed and Date modified. We need to fix this issue as it is related to security concern for us. The file server is windows 2008 R2 and the client machines are windows 7.

Side note: I can see that there is no software, antivirus, offline sycn is causing this issue.

Thank you,

Sampath


P.Sampath


DFS DFS-R and sysvol

$
0
0

Hello All,

I noticed recently that my sysvol is using FRS for replication but DFS use DFS-R ?Is there any impact will it slow down teh DFS replication process?


Roopesh Raj

Storage Spaces - volume with deduplication always flagged as "online filesystem check needed"

$
0
0

Hi,

I am using Storage Pools and we have quite some Volumes on them. 

I am noticing an warning to do an online check of a Volume on 2 volumes where dedup is activated. 

If I do the check, all is fine for about 10-30 minutes, and it's flagged again to be checked. It never sais it needs any repair. 

The odd thing is, other volumes without DEDUP don't show this behaviour. 
What could cause this error?

- Disk Space is enough available. 

- Logs don't tell a lot. We have quite some entries with low disc space, but as there are volumes with DPM on this machine, it's referencing DPM Volumes with low disc space warnings. (Info - no DEDUP activated on DPM Volumes as it's not supported). 

So basically why are deduped volumes (successful deduped with over 40 %), always in a state that needs a check?

Thanks

Patrick

Why DFSR primary server is still on "Uninitialized" status?

$
0
0
Hi,


I created a DFSR replication group and my primary server is still on "Uninitialized" status after 2 days. The second server (member) in in "Waiting for initial replication" status.

There are just 2 server in the replication group:


Server01 (Windows 2008 R2): replicate Folder01 of 300 GB and is the primary
Server02 (Windows 2008 R2): member server, waiting the replication

I check in server logs and there is no error. On all DCs I see the replication group in ADESIEDIT.


When I create a health report I can see for Server02: 

300000 Backlogged Sending Transactions
310000 Backlogged Receiving Transactions


Server02 already contains a part of Server01 because replication group is recreated (Was deleted and recreated).
So I expect that replication goes faster and Server01 just update Server02 with new files or more recent files.

There are my questions:

1- Why it takes so long time for the primary to initialized the files and start replication? Is that normal?

2- Why so much backlogged shows on the report? Both servers should just replicate the delta no?:

300000 Backlogged Sending Transactions
310000 Backlogged Receiving Transactions

Robocopy - exclude destination files from /MIR

$
0
0

Attempting to do a nightly run of robocopy while we transfer over to a new file server. We've a load of extra files with an offline attribute on the destination, which are files archived by Enterprise Vault which we moved in advance, and so these must not be touched.

If I do robocopy source destination /MIR /XA:O, all these files still get deleted. Shouldn't the exclude switch apply to files on the destination as well as the source?

Doesn't namespace service=namespace server?

$
0
0

I'm confused by something.  This is Server 2008 R2.  I was of the understanding that a DC that ran the DFS Namespace service was considered a Namespace Server. 

I just went into DFS Mgt and noted the namespace servers for our 2 namespaces.  I was then looking at a DC that was not in that list, and it is running the DFS Namespace service (the services is started).

Isn't a DC that runs the DFS Namespace service considered a Namespace server, in a domain-based namespace?
If it is running that service, what is a possible reason(s) that it is not in the list of namespace servers in DFS management?

ICACLS Syntax issues with backup / restore

$
0
0

I am doing some testing with Windows Server 2008 R2 with NTFS permissions.  I have a d: (multiple folders and sub-folders) drive with an existing ntfs permissions.  I want to make a backup of the settings using icacls so I can restore when needed.

So, here is what I am doing and the issue:

1.  Open an elevated cmd prompt.

2.  Run "icacls d:\ /save ntfsDdrive.txt /t /c" without the quotes.  No issues.

3.  Run "icacls d:\ /restore ntfsDdrive.txt" without the quotes and I get the following:

d:\D:PAI(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)(A;OICI;0x1200a9;;;S-1-5-21-1229272821-2
025429265-725345543-3701)(A;CI;0x1200a9;;;BU)S:AI: The filename, directory name,
 or volume label syntax is incorrect.
Successfully processed 0 files; Failed processing 1 files

Any assistance is appreciated.

 

FSRM Quota Management

$
0
0

I have a question about Quota Management.

I had everything setup correct with Quota Management for user home folder storage limitation, and it worked fine w/o problems. However, recently I noticed that not all of user folders show up under the Quota Management. I setup around 10 different limitation group for around 9000 people. Now it only show up around 300 users. 

Does anyone know where I can find log or something else to tell me what went wrong? It is kind of became problem when I need to increase user storage size as they are not showing up under Quota Management. Please help!!!


DFSR detects dirty shutdown on reboot

$
0
0

Hi all,

I have a Windows 2012 R2 Standard server running DFSR. It is up to date, all hotfixes have been installed, there is no antivirus running on it, and I've tweaked WaitToKillServiceTimeout to 600000. When I do a soft reboot or soft shutdown, when the server comes back up it gives -

"The DFS Replication service has detected an unexpected shutdown on volume F:. This can occur if the service terminated abnormally (due to a power loss, for example) or an error occurred on the volume. The service has automatically initiated a recovery process. The service will rebuild the database if it determines it cannot reliably recover. No user action is required. "

This is happening every time I reboot. Fortunately this server isn't in full production yet, but this issue will need to be resolved before I can put it in production. Does anybody have any suggestion? Thanks in advance.

Jarod

DFS Management missing after upgrading from 2008 r2 to 2012 standard server

$
0
0
Dfs management missing after upgrading. What do I need to do to get this working again?

Does DFS Use A Lot Of Resources?

$
0
0

Hello,

I have set up a test environment in which I have a single server with 4gb RAM currently running Active Directory Domain Services with only 2 clients and it runs fine (only using 990MB). I am intending to install SQL Server on it and limit it to 2gb ram. As well as these, I would very much like a domain-based DFS Namespace (I am not bothered about file replication) but will all three roles be able to run efficiently with only two clients? I don't want it to be really laggy taking ages to process logon requests and SQL queries etc. I would rather have SQL and AD run fine than have a DFS as well and have them really slow.

Unable to add Namespace server

$
0
0
I have 2 servers fs1 and fs2. When I try to add fs1 as a namespace server i receive this error "The namespace server \\FS1\Users cannot be added. The user name or password is incorrect". Odd... I'm doing everything as administrator and no user name or password was ask for.

Write-Back Cache in Scale-Out File Server

$
0
0

My test environment setup consists of one Hyper-V server and a two-node Scale-Out File Server.  All have Windows Server 2012 R2 installed with the latest updates as of today.

My question is about Server 2012 R2's Write-Back Cache configured on disks created on the SOFS.  Is there any way to monitor the Write-Back Cache?  Or put another way, how can I tell how effective the current size (i.e. 5 GB) of the Write-Back Cache is?  How can I tell if I need more cache or that less could be used?

I'm thinking my Write-Back Cache for a virtual disk on my SOFS quickly becomes full, which is causing the file copy process (to a VM's VHDX running on that virtual disk) to look like hills and valleys--bursts of fast copy speeds interspaced with bursts of slow copy speeds.

Thanks! 

Viewing all 16038 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>