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

High Latency High Bandwidth File Services performance

$
0
0

I have a scenario where we will have an office with ~1000 users (Windows 10 clients) connecting to Win2016 File Servers in a datacentre, over a long-distance high-bandwidth 10Gbps circuit between cities with ~12ms latency.

I want to know what (if any) tuning is required (server side, or client side) to ensure that users receive fast file services performance with that kind of latency.

Is it possible to make it perform like the file server was on the local client subnet?

The client workloads are mixed general purpose SMB. Home drives, MS Office documents, CAD documents.


Server 2019 - DNS - Forwards

$
0
0

MS Server 2019

Sonicwall 250W    (IP: 192.168.1.1)

MS Server

- handles DHCP & DNS

- DNS : IP addresses of forwarding servers:

       - Router 192.168.1.1      validated:   a timeout occurred during validation

       - 8.8.8.8 dns.google        OK

       - 8.8.4.4 dns.google        OK

something I'm missing?

Also, using IPCONFIG /all  I get the dns as the sonicwall and the 8.8.4.4.   I don't see the 8.8.8.8.  but it is listed as a forward.  is this entered somewhere else?

thanks,  darryl

Wireshark doesn't show aes-128-gcm encryption being used after being negotiated

$
0
0

On a windows 2019 server I setup a smb connection to it's own SYSVOL and captured the connection with Wireshark. What I see is a Negotiate request with both aes-128-ccm and aes-128-gcm as supported encryption capabilities and the Negotiate Response shows:

Negotiate Context: SMB2_ENCRYPTION_CAPABILITIES

  Type: SMB2_ENCRYPTION_CAPABILITIES (0x0002)
  DataLength: 4
  Reserved: 00000000

  CipherCount: 1

  CipherId: AES-128-GCM (0x0002)

The server/client has negotiated GCM support at this point. Yet the very first packet of smb3 encrypted traffic (and all SMB3 encrypted traffic) after this point shows it using CCM.

SMB2 (Server Message Block Protocol version 2)

  SMB2 Transform Header
    ProtocolId: 0xfd534d42

    Signature: 44373ca8a6f5cdf262bfcba36b78f8f8

    Nonce: f36785660c5980c00100000000000000

    Message size: 134

    Reserved: 0000

    Encryption ALG: AES-128-CCM (0x0001) 

Why does wireshark show the traffic as being encrypted as aes-128-ccm instead of the negotiated aes-128-gcm?  Is this a bug in Windows 2019 or in Wireshark?


Server 2019 File Shares not honoring permissions

$
0
0

I have a server 2019 File server. I created a shared folder in the root of C:\. I then gave everyone Full Control at the Share level, I then gave specific user group R/W on the NTFS security permissions. 

Problem is... Everyone in domain can access and modify. 

I thought this was the correct way to put a network share out there.

Is it wrong?

Domain Controller move issues.

$
0
0

Hello all, 

We are having an issue after migrating to a new DC. I am going to call the old DC "DC1" and the one we moved to "DC2". DC1 was our primary DC and DNS running windows server 2008. We migrated everything to DC2. DC2 took DC1's ip address but not the name. DC1 was demoted. Everything worked fine until it came time to shutdown DC1. As soon as we unplugged network cable, we noticed slowness across the board. Windows explorer taking 30-45 seconds to open. Office suite taking along time to open. Programs on PCs performing poorly. We often get not responding messages now and have a hard time saving documents at all. Our main file share was also located on this server and was moved about a week before the shut down. Some users still have mapped drives pointed to the old server but even ones that have never had mapped drives experience issues too. As soon as we plug network cable back into DC1, all of this goes away. We located some things in GPO that were pointed to DC1 but have since got this corrected. We have double checked and even had a third party look at DNS settings to make sure nothing is pointed to the old server. All users are running off of DHCP and this is pointed correctly to DNS. We have flushed all servers just to be sure. Any ideas would be greatly appreciated. 

network drive

$
0
0
Hi experts

i am using powershell script to map a network drive for all the users who login to the server, i have copied the script in the below path.
C:\Users\All Users\Microsoft\Windows\Start Menu\Programs\StartUp

When i login to the server script gets executed but it opens notepad. When i check the property of the powershell script.
i can see Type of the file: Windows Powershell Script(.ps1)
Opens with: Notepad.
When i change from notepad to powershell and execute manually i can see network drive mapped so there is no issue with the script.

How do i change this Notepad to powershell for it to execute for all users when they login. Can i add anything in powershell script to open with powershell.

cmd.exe /c "net use S: \\fileserver01\data /persistent:yes"

windows server upgrade

$
0
0

Dear all,

I've windows server 2012 R2 ,can I upgrade to windows server 2016 with the same license ?

Determine Parent Object of moved folder

$
0
0

How do I determine the parent object (not current parent folder) of a folder on a Windows server? When a folder is moved from one place to another on the same volume, it continues to inherit permission from the original parent object, and that is not the new parent folder. This is easily demonstrated by removing inheritance, whereupon I can set whatever rights I want. But as soon as I re-enable inheritance, the moved folder again shows rights not matching the new/current parent folder. And no security change to the parent folder results in any inherited change to the child folder. So the parent object is presumably still the pre-move parent folder. This is also evident in the advanced security settings for the folder, where "Inherited From" says"Parent Object" instead of the current parent folder. If I create another folder manually, it correctly shows the current parent folder path instead of "Parent Object".

To be clear, the fix is easy enough: copy the folder and its contents to a new parallel folder, which will inherit rights from the shared parent folder, then delete the original moved folder that has the parent object retained from before the move. But this assumes the desired result is to allow the rights to be inherited in the current location.

Suppose I instead want to put the folder back where it came from but have no idea who moved it or from where. It is still inheriting rights from a parent object that is not the current parent folder, so the parent object property must exist in the ACL somewhere, and I want to retrieve it. It seems that a change of rights to that other (original parent) folder could have unintended consequences on rights to this folder.

So my question is not about how to fix the folder/files; it is about how to determine the original parent object. I have been curious for years about this: how can I identify the original parent object (not the current parent folder) that was retained as the parent object of the moved folder when it was moved? This would presumably be the parent folder when the moved folder was originally created (or copied to) elsewhere on the same volume.

And while we are at it, anyone have a script that I can run to identify folders whose parent object is not the current parent folder? We will, of course, have times when we do not want rights automatically inherited, but one thing that I want absolutely 100% of the time is for the parent object to be the current parent folder. Anything else will just be chaos.


Folder Redirection stops for specific folders when long filenames are encountered.

$
0
0
We currently have Folder redirection with offline files configured for Desktop, Documents, and Favorites redirecting to a DFS share with a replication group containing Windows Server 2012 R2 and 2016. Most users have no issues but some of our users, mostly engineers, use exceeding long and descriptive file names. Once the system encounters a filename in excess of 256 (260 maybe?) characters, it stops synchronizing that folder. The other folders continue to synchronize but from that point forward the offending folder no longer attempts to synchronize. This leaves us with users only having their data on their personal machines and it never gets backed up. Is there a way to enable file names greater that 256 characters or at least get everything else to synchronize and leave the offending files to be resolved under "View sync conflicts?"

VssAdmin: Unable to create a shadow copy failure: Either the specified volume was not found or it is not a local volume.

$
0
0

Hi,

I have this problem only recently 18 Jun ..

VssAdmin: Unable to create a shadow copy failure: Either the specified volume was not found or it is not a local volume.

Command-line: 'C:\WINDOWS\system32\vssadmin.exe Create Shadow /AutoRetry=5 /For=\\?\Volume{af8a37e1-ca14-11dc-ad07-806e6f6e6963}\'

However, the shadow copy for all our volumes are not enabled..

The volume number specified is also not the same as the volumes that the server have..

C:\>vssadmin list volumes
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001 Microsoft Corp.

Volume path: C:\
    Volume name: \\?\Volume{8407c547-b6e9-11e1-b00a-806e6f6e6963}\
Volume path: F:\
    Volume name: \\?\Volume{8407c548-b6e9-11e1-b00a-806e6f6e6963}\
Volume path: G:\
    Volume name: \\?\Volume{8407c549-b6e9-11e1-b00a-806e6f6e6963}\

I have also checked : http://support.microsoft.com/kb/833779

Followed the resolution but found out that all has already been disabled and there are

no scheduled tasks.

Please assist..

Thank you.



Server 2016 Work Folders and Windows 10 1803 Sync Question

$
0
0

We've just deployed Work Folders in our organisation and so far we're loving it. It solves a lot of issues and enhances our user's experience.

I have a question about .ini files. 

We have essentially created a work folder on their laptops containing C:\Users\Username\Work Folders\...

  • Documents
  • Desktop
  • Downloads

We've used GP to redirect their associated folders to this new location using folder redirection. This allows remote workers to save and open files without the files going over the WAN everytime as we've set it to always be available whilst offline. 

One big problem we have at the moment is with the sync icons. When I look at File Explorer, it'll show Desktop, Downloads and Documents with a BLUE Sync Arrows. If I click on those folders, everything is green ticks. This simple GUI glitch throws the user into thinking it's not synchronising correctly. My understanding of this behaviour is a result of the desktop.ini file. Work Folders ignore .ini .tmp files. So if a user has those, then the top level folder shows as continuously syncing, even though it's not. 

Now, I'm new to this feature and as far as I understand, it has been about since Windows Server 2012 R2. Does this always happen? Is it normal behaviour to show the top level folders with the blue sync arrows, even though everything inside has synced or is it a relatively new GUI bug that affects Windows 10 1803?

You can replicate this behaviour simply by adding a .ini file inside a work folder. The top-level folder will show the syncing icons. The sync control panel will show green - syncronised. 

Does anybody have a workaround so I don't throw the users experience off? I'm getting support calls because they think it' not syncing.

Thank you

DFS Namespace Folder creation error: File Already Exists

$
0
0

I am moving from a traditional File Server with Mapped Drives to DFS on a Windows Server 2012 R2. I created 2 namespaces with Folders below the Namespaces. I did move a folder from old server to the folder in the namespace and when I tried to add the folder it gives me an error that "The File Exists".

I moved the folder out of the namespace, still will not let me add 8 hours later. I decided to rename the folder to see if that helped but same error.

Why can I not created folder under namespace even though I moved and renamed the folder?

DFS Name space migration

$
0
0

I am not sure to call it the migration or not but the question is:

We have 2 DFS name spaces and 3 name space servers:

2 name space servers on 2012 core DC's (SMB 3.0.1)and one on 2008 R2 DC(SMB 2.1)

Because of this older DC hosting the DFS, some of the client connections from Linux are forced to use CIFS v 2.0 

We want to introduce 2 Windows 2019 servers and add as name space servers and disable the 2008 R2 name space server for the both name spaces and then decommission later on

Looks simple and straight forward but not sure if there are any implications ? If this not recommended, is there any way to force all the connections only served by the 2012 name space servers?

Please share your thoughts and recommendations.

Thanks in advance!

Copy Deduplicated Files as is without re-hydrating

$
0
0

Hi,

My team started to enable deduplication on our research data center due to massive storage requirement.

One challenge we are facing now is that due to the nature of research process, we often need to create copies of large set of data in the same volume for different research projects. However, the built-in copy utility such as robocopy always re-hydrate the deduped files and caused the volume to be filled up. We constantly need to pause the copy process and run dedup before continuing.

Is there a copy tool we can use to copy deduped file (pointers) as is so that the destination files are automatically deduped? Is there anything in Win32 API we can build this tool on top of?

Thanks,

Jason

Creating Cluster SAN Storage

$
0
0

I have a 2012R2 host server with VMs configured on an HP MSA1040 using iSCSI.  Only one LUN.

I have added a second server to the rack.

After reviewing quite a bit of documentation I am stuck trying to complete the Cluster Validation tests, in particular WRT the storage.

1. Is it OK to connect the 2nd server to the SAN and should I place the drive Online or can this cause data corruption even if I don't access the drive from that server until the cluster is created?

2. KBs instruct to "run all tests" for the cluster validation but when I did this it took the SAN drive offline and disconnected all of the VMs. Fortunately rebooting the host brought everything back online.  I also received the following ominous error in the Cluster Log: (VMHOST1 is the operational Hyper-V host)

Node VMHOST1.xxxxxxxx.local holds the SCSI PR on Test Disk 0 and brought the disk
online, but failed in its attempt to write file data to partition table entry 1.
The disk structure is corrupted and unreadable.

Any guidance would be appreciated.

Thanks >> Joe


DFS Namespce and ADSI Edit problem

$
0
0

Hi guys, I had a problem since last week with my domain controller servers DC1 and DC2. I noticed that they werent synchronizing. Im using DFS .
with more detection I was able to get files to copied from DC2 shared folder to DC1 folder but not from DC1 to DC2

upon further looking into the issue i noticed that in DFS Management Namespace had red X and when i click on it I got an error saying \\domain.com\namespace: The namespace cannot be queried. There is no such object on the server.

So i search more and came across this page. https://techjourney.net/dfs-namespace-cannot-be-queried-error-remove-delete-orphaned-namespace/

I followed it to my demise and did what it said without knowing the outcome. I went to ADSI Edit and i deleted the objects in the CN=Dfs-Configuration folder. when I did that the namespace on DC1 server also started having redx on it.

Can someone help me what I can do. I can still create a new namespace but I need to create namespace with same exact name.

Thanks in advace

Windows Server High CPU Usage causes by "System"

$
0
0

Hello Everyone,

I am having a problem with my windows server that having a VM of Hyper-V.

The Windows Server have a HIGH CPU Usage that was causes by "system" which occupies almost 60% of the CPU.


I already try to perform windows update enable to have a lower CPU usage but to no avail.

Highly appreciate your feedback guys thank you.

DFS STORAGE ALMOST FULL CAUSES BY CONFLICTANDDELETED FOLDER

$
0
0

Hello Everyone, 

I have a Windows server which have a DFS storage of 1800 GB, unfortunately it became full due to conflictanddeleted folder which occupies 1000 GB already.

What is the resolution to this? And do I need to just delete it? Or any action that will help this issue

Thank you very much.

Partition Issue

$
0
0

Hello!

I installed Windows Server 2019 eval edition to do some testing. I think I made a mistake since I wasn't able to use all my available disk space.

Now I'm trying to reclaim this space and add it to my S:\ partition. How can I do this? I tried using the GUI disk management tool but I can't seem to do what I want. I was reading about the 2GB limit on partitions and I think that's what has happened. Looking for some advice. Thanks!

Please see the screenshot of what I have now.Image

Why does file operations hangs after deleting folder on large NTFS volume

$
0
0

There is a computer under Windows Server 2012R2 with 54,5 TB NTFS volume. Volume is almost full and highly fragmented (defrag.exe says that it has 98% fragmented space). It is used for storing video archive and have folder structure: d:\Video\. There are about 4K folders under the Video and each folder contains 100 - 12K files.

When I delete any of that folders there is a very long interval (minutes or tens of minutes) when every WINAPI file function "hangs". They not returns any error they simply doesn't return. After that period of time they finally returns without any error.

I can see in Windows Performance Analyzer that while hanging time there is one CPU-consuming thread in System process. Its stack:

2 [Root]
3   |- ntoskrnl.exe!KiStartSystemThread
4   |    ntoskrnl.exe!PspSystemThreadStartup
5   |    |- ntoskrnl.exe!ExpWorkerThread
6   |    |    |- Ntfs.sys!NtfsCheckpointAllVolumes
7   |    |    |    Ntfs.sys!NtfsForEachVcb
8   |    |    |    Ntfs.sys!NtfsCheckpointAllVolumesWorker
9   |    |    |    Ntfs.sys!NtfsCheckpointVolume
10  |    |    |    Ntfs.sys!NtfsFreeRecentlyDeallocated
11  |    |    |    |- Ntfs.sys!NtfsDeviceIoControl
12  |    |    |    |    |- Ntfs.sys!NtfsCallStorageDriver
13  |    |    |    |    |    ntoskrnl.exe!KeExpandKernelStackAndCalloutInternal
14  |    |    |    |    |    ntoskrnl.exe!KiSwitchKernelStackContinue
15  |    |    |    |    |    ntoskrnl.exe!KySwitchKernelStackCallout
16  |    |    |    |    |    Ntfs.sys!NtfsStorageDriverCallout
17  |    |    |    |    |    volsnap.sys!VolSnapDeviceControl
18  |    |    |    |    |    |- volsnap.sys!VspQueryCopyFreeBitmap
19  |    |    |    |    |    |    |- ntoskrnl.exe!RtlFindNextForwardRunClearCapped

Can anyone help me to understand what's going on? I have full access to the server and can give any additional info.


NTFSInfo output:

NTFS Information Dump V1.01
Copyright (C) 1997 Mark Russinovich
http://www.sysinternals.com

Volume Size
-----------
Volume size            : 57223549 MB
Total sectors          : 117193830399
Total clusters         : 3662307199
Free clusters          : 7644452
Free space             : 119444 MB (0% of drive)

Allocation Size
----------------
Bytes per sector       : 512
Bytes per cluster      : 16384
Bytes per MFT record   : 1024
Clusters per MFT record: 0

MFT Information
---------------
MFT size               : 14959 MB (0% of drive)
MFT start cluster      : 196608
MFT zone clusters      : 3653996704 - 3654008160
MFT zone size          : 179 MB (0% of drive)
MFT mirror start       : 1
Viewing all 13580 articles
Browse latest View live


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