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

you do not have permission to access \\server

$
0
0

Windows 7 fully up to date. When attempting to use file manager to access \\server across the (peer workgroup) network, I get the error message above. However, when I have applications with default opening path to \\server, these applications can access data on \\server, albeit with slow response times.

I have tried various fixes in this forum, but without success.

Can anyone please help?

Many thanks

Derrick Price


DFSR Health Reports - root files can't be replicated and don't exist

$
0
0

I'm trying to understand the output of this DFSR report. It's saying certain files can't be replicated in the root. When I look at the root of the folder and show hidden and system files I do not see the files listed in the report. Here is one example. I have another DFSR relationship that shows many more instances. Any ideas what causes this?

Suggestions - Enabling EFS on FileStream Data for SQL Server Database

$
0
0

Anyone if already done enabling the EFS on FileStream data around multiple Databases around 500 GB+ , please share me your thoughts on feasibility and various activities planned around.

We are in process of enabling EFS for PROD. We are testing in lower environments too. Your inputs help us .

Which one is better ? Enabling Parallel EFS (or) or one FileStream Folder at a time ?

Please advise . Thanks


Best Regards,SQLBoy

SMB share vs 'normal' share

$
0
0

In Windows 2016 via Server Manager -> file and storage services -> shares, you have the option to choose SMB share - Quick/Advanced/Application.

If you right click a folder, go to properties and then create a share you don't have these options.

So what kind of share is created if you create a share via the folder options ?

Optimize-Volume -retrim is not giving me my space back!

$
0
0

Hello, I have a Server 2012 R2 failover cluster with two hosts. I have a dynamically expanding VHDX attached to my file server. The current filesize is 3,017,413,632KB (2.8TB). I have moved lots of things off this volume so the actual space used on the volume inside the VM says 2.22TB. I have ran the following command:

Optimize-Volume -DriveLetter D -ReTrim -Verbose

It then seems like it goes through the process with no errors. Usually when I do this on other virtual machines, once I shut down the VM and power it back on - the size of the VHDX on the host usually shrinks down to the expected size. But, I've tried this 3 or 4 times and the size doesn't seem to be going down?

Here's my output from the command:

PS C:\Users\administrator> Optimize-Volume -DriveLetter D -ReTrim -Verbose
VERBOSE: Invoking retrim on Data (D:)...
VERBOSE: Performing pass 1:
VERBOSE: Retrim:  0% complete...
VERBOSE: Retrim:  1% complete...
VERBOSE: Retrim:  2% complete...
VERBOSE: Retrim:  3% complete...
VERBOSE: Retrim:  4% complete...
VERBOSE: Retrim:  5% complete...
VERBOSE: Retrim:  6% complete...
VERBOSE: Retrim:  7% complete...
VERBOSE: Retrim:  8% complete...
VERBOSE: Retrim:  9% complete...
VERBOSE: Retrim:  10% complete...
VERBOSE: Retrim:  11% complete...
VERBOSE: Retrim:  15% complete...
VERBOSE: Retrim:  17% complete...
VERBOSE: Retrim:  18% complete...
VERBOSE: Retrim:  19% complete...
VERBOSE: Retrim:  20% complete...
VERBOSE: Retrim:  21% complete...
VERBOSE: Retrim:  22% complete...
VERBOSE: Retrim:  23% complete...
VERBOSE: Retrim:  27% complete...
VERBOSE: Retrim:  39% complete...
VERBOSE: Retrim:  50% complete...
VERBOSE: Retrim:  51% complete...
VERBOSE: Retrim:  52% complete...
VERBOSE: Retrim:  53% complete...
VERBOSE: Retrim:  54% complete...
VERBOSE: Retrim:  55% complete...
VERBOSE: Retrim:  56% complete...
VERBOSE: Retrim:  57% complete...
VERBOSE: Retrim:  58% complete...
VERBOSE: Retrim:  59% complete...
VERBOSE: Retrim:  61% complete...
VERBOSE: Retrim:  63% complete...
VERBOSE: Retrim:  64% complete...
VERBOSE: Retrim:  65% complete...
VERBOSE: Retrim:  66% complete...
VERBOSE: Retrim:  67% complete...
VERBOSE: Retrim:  100% complete.
VERBOSE:
Post Defragmentation Report:
VERBOSE:
 Volume Information:
VERBOSE:   Volume size                 = 3.97 TB
VERBOSE:   Cluster size                = 4 KB
VERBOSE:   Used space                  = 2.22 TB
VERBOSE:   Free space                  = 1.75 TB
VERBOSE:
 Allocation Units:
VERBOSE:   Slab count                  = 130170
VERBOSE:   Slab size                   = 32 MB
VERBOSE:   Slab alignment              = 31.00 MB
VERBOSE:   In-use slabs                = 80471
VERBOSE:
 Retrim:
VERBOSE:   Backed allocations          = 92287
VERBOSE:   Allocations trimmed         = 11887
VERBOSE:   Total space trimmed         = 371.46 GB

Any ideas? I need to shrink this volume urgently as I'm running out of space on the host!

FYI the storage is a HP P2000 MSA G3 SAS storage array. I have used this command previously on the same cluster on a different virtual machine with a test VHDX that I've removed data from and ran the command - and the size of the VHDX shrunk as expected.

Thanks

Lee

Server 2016 Task Scheduler not working?

$
0
0

I'm trying to use Task Scheduler in Server 2016 to upload files to a vendors AWS S3 bucket. Nothing has worked using Task Scheduler.

If I run the .bat script on it's own it works just fine and the files are uploaded, but not in Task Scheduler.

If I run the same commands in a Powershell script on it's own it runs just fine and the files are uploaded, but not in Task Scheduler. 

Task Scheduler history logs says, "Task completed" as you can see from the image I attached.

Settings I have in Task Scheduler:

  • Run whether user is logged on or not
  • Run with highest privileges
  • Configure for Windows Server 2016
  • Repeat task every 5 minutes for a duration of Indefinitely
  • Enabled
  • Action: Run a Program
  • Program/script "C:\scripts\name_of_file.bat
  • Star in c:\scripts

Does Server 2016 have some kind of safety feature that I need to enable for this to work in Task Scheduler?

I am a Domain Admin.


Shortcuts in a c:\users\%username% can't be re-named, can be modified

$
0
0

A shortcut in a regular user's home\documents directory, that points to to a directory located under a named-mount partition can successfully have its target modified by the user, but the user can't update the name of the shortcut to reflect the new new target.

That statement is the status while logged in as the user. Let's call the user "Bob"

Details from an administrator's login: The shortcut file effective access for Bob is positively "full control" and 12 others. No denied or empty permissions. Bob has ownership of the folder.

Inheritance is enabled on Bob's "documents" folder that contains the shortcut, and the shortcut inherited its security properties from the folder.

Frankly, it's a plain-vanilla setup.

The shortcut was most likely created by using Windows Explorer to the mounted sub-folder's parent (in the left pane,) highlighting/selecting the folder, right click-copy it, and then in Bob's `Documents` folder he used the context menu item `Paste shortcut.`

Please ask any questions, request information or tasks. I simply didn't want to clutter the question with more extraneous details.

Work Folders performance per user

$
0
0

Hello,

Work Folders are causing abnormally big network throughput.

I think there are probably several users who could cause that.

How can I measure performance of Work Folders per user ? To see for which users are having the most traffic ?



Work Folders on-demand access

$
0
0

Hello Guys,

I have configured work folders in our company but I'm facing some strange behavior. 

On client computer Windows 10 1803 x64 I have enabled GPO setting GhostingPolicy to UserChoice:



When a user clears the checkbox as shown on this screenshot, it's working until next login to the computer.

After users logs in, the checkbox is enabled again itself.

Is this a bug or do you have any information on how to prevent this?

Thanks

Matej

New-iscsiservertarget returns with an UnauthorizedAccessException

$
0
0

Hello all

Can you help me get through an exception that happens on a Server 2016 box?

I'm using the guide from here:
https://model-technology.com/blog/creating-a-ramdisk-in-server-2016-for-io-benchmarking/

New-iscsiservertarget -TargetName “testramdisk”

... generates the output:

New-iscsiservertarget : An unexpected error occurred.
At line:1 char:1+ New-iscsiservertarget -TargetName “testramdisk”
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : InvalidArgument: (Microsoft.Iscsi...rd errorRecord):IscsiCmdException) [New-IscsiServerTarget], IscsiCmdException+ FullyQualifiedErrorId : GetIscsiTargetServerSetting_FetchVersion:System.UnauthorizedAccessException:00000000,Microsoft.Iscsi.Target.Commands.NewIscsiServerTargetCommand

Using $error[0]|format-list -force

Exception             : Microsoft.Iscsi.Target.Commands.IscsiCmdException: An unexpected error occurred. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
                           at System.Management.ThreadDispatch.Start()
                           at System.Management.ManagementScope.Initialize()
                           at System.Management.ManagementObject.Initialize(Boolean getObject)
                           at System.Management.ManagementBaseObject.get_Properties()
                           at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
                           at Microsoft.Iscsi.Target.Commands.Utility.GetValueOrDefault[T](ManagementBaseObject mo, String name)
                           at Microsoft.Iscsi.Target.Commands.Utility.<>c__DisplayClass23_0.<GetAndCheckIscsiTargetServerVersion>b__0(ManagementBaseObject mo)
                           at Microsoft.Iscsi.Target.Commands.Utility.<>c__DisplayClass16_0`1.<QuerySingleWmiObject>b__0(PSCmdlet )
                           at Microsoft.Iscsi.Target.Commands.Utility.TryPerformWmiOperation(Action`1 operation, PSCmdlet cmdlet, String context, ErrorRecord& error)
                           --- End of inner exception stack trace ---
                           at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
TargetObject          : Microsoft.Iscsi.Target.Commands.IscsiCmdException: An unexpected error occurred. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
                           at System.Management.ThreadDispatch.Start()
                           at System.Management.ManagementScope.Initialize()
                           at System.Management.ManagementObject.Initialize(Boolean getObject)
                           at System.Management.ManagementBaseObject.get_Properties()
                           at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
                           at Microsoft.Iscsi.Target.Commands.Utility.GetValueOrDefault[T](ManagementBaseObject mo, String name)
                           at Microsoft.Iscsi.Target.Commands.Utility.<>c__DisplayClass23_0.<GetAndCheckIscsiTargetServerVersion>b__0(ManagementBaseObject mo)
                           at Microsoft.Iscsi.Target.Commands.Utility.<>c__DisplayClass16_0`1.<QuerySingleWmiObject>b__0(PSCmdlet )
                           at Microsoft.Iscsi.Target.Commands.Utility.TryPerformWmiOperation(Action`1 operation, PSCmdlet cmdlet, String context, ErrorRecord& error)
                           --- End of inner exception stack trace ---
                           at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
CategoryInfo          : InvalidArgument: (Microsoft.Iscsi...rd errorRecord):IscsiCmdException) [New-IscsiServerTarget], IscsiCmdException
FullyQualifiedErrorId : GetIscsiTargetServerSetting_FetchVersion:System.UnauthorizedAccessException:00000000,Microsoft.Iscsi.Target.Commands.NewIscsiServerTargetCommand
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
PSMessageDetails      :

Can anybody help me fix this?

Storage Spaces & NVMe performance issues - Windows 2019

$
0
0

I have a test environment which originally had the following configuration:-

2 x HP DL380 Gen 10 Servers running Windows 2019
4 x 1.4TB SSD - Cache

8 x 1.6TB HDD - Capacity

Storage Spaces etc and using VMFleet as my benchmarking tool building 20Vms on each host I was able to achieve the following results on a 4k 100% read test (all data in cache):-

We wanted to see if the Iops could be pushed higher so upgraded the servers to the following:-
2 x 1.4Tb NVMe
4 x 1.4Tb SSD
8 x 1.6Tb HDD

Building the same vmfleet configuration but specifying that NVMe was cache and setting SSD as performance the same stress test just produces similar iops etc

I have destroyed and rebuilt the configuration several times but am still seeing the same results which is confusing me as to whether I have a config issue or something else

Firmware as up to date as it can be on the physical servers (still waiting on a lot of 2019 drivers).

Any pointers as to where I should look to improve this are gratefully received.

DFSR Replication issue

$
0
0

Hello,

We have two 2012 r2 windows servers on premises, and it is configured as DFSR replication servers.
The data that resides on the servers are autocad and sketchup files. Size ( autocad Average - 15MB, Sketchup Average - 100MB ).
The issue we are facing is.. the replication is slow and sometimes it is not reflected.
and sometimes when the saved file is accessed after couple of days or more, the changes are either not saved or the particular file is missing.
This happens particularly with the autocad files.

If anyone has faced similar issue and got it resolved, please share the solution.

Regard`s

Sudarshan.H.R

Remove PhysicalDisk from Storage Pool without replacement?

$
0
0

Currently I'm testing the Advantages and Disadvantages of Storage Pools in my Home-Environment. The test server looks like this:

Windows Server 2012 R2 Datacenter ("Student-Edition")
2*400 GB HDD
4*1000 GB HDD
2*3000 GB HDD

First, I wanted to test a "replacement" Case: I created a storage Pool of 2*1 + 2*3 added some data to a (mirrored) virtual hard disk, and disconnected one 1 TB drive. The Pool gets reported as unhealty, and with a second Disk i was able to do the regular replacement (Attach new Physical Disk, Remove old & Rebuild)

Now I wanted to test the case, how I can rebuild full functionality, when no proper replacement-disk is available:

Therefore I created another Pool of some Harddisks, added some data (arround 200 GB), disconnected one drive and tried various ways to get back to health - nothing worked:

Using the UI it's impossible to do anything at all. After selecting "remove" on the disconnected drive, it simple keeps telling me, that there is no proper replacement disk found.

Then I followed some instructions i found elsewhere on technet:

1. mark the missing disks as "retired":
 Set-PhysicalDisk -FriendlyName <PhysicalDiskxxx> -Usage Retired

2. rebuild each of your virtual disks:

Repair-VirtualDisk -FriendlyName <Virtual Diskxxx>

3. Once everything is finished, try to remove the disk from the pool again:

 Remove-PhysicalDisk -FriendlyName <PhysicalDiskxxx>

1+2 worked fine, and I noted the disconnected disks usage dropping from ~ 30GB to 256MB

All virtual Disks reporting a "health" state now.

However, it was not possible to remove the disk: The ui told me, that it's gonna rebuild after clicking "remove" - but simply nothing happened - not after several hours (virtual Drives are "thin", so not much data to move).

Using the Powershell it keeps telling me, that theres an Issue with the "FriendlyName" Property:

I noted, that the Disk was prior shown as "PhysicalDisk-14" - but that did not change anyting.

So I followed another approach, using the following command:

It looked promising, but finally failed with "Not enough available capacity" - which is ofc. not true. (Only assigned around 1000 GB to the virtual disks, of which I used around 200)

So, the question is: How do i remove a (disconnected, retired) disk from a storage pool that has enough capacity left WITHOUT replacing the Disk immediately?




SCv3020 slow performance

$
0
0

Hello

Anyone use SCv3020 with  sas ?
We are open ticket with DELL and Microsoft but nothing sulotion...
Make storport debug with Microsoft but we they see large latency when make new disk format..
if disable trim with "fsutil behavior set DisableDeleteNotify 1"   evrything good /fast and havent got large answare time, but dell support not want to use...
Anyone have got same error?


sorry my english

add-folder-targets

$
0
0

This link https://docs.microsoft.com/en-us/windows-server/storage/dfs-namespaces/add-folder-targets

has this note in it. 

Folders can contain folder targets or other DFS folders, but not both, at the same level in the folder hierarchy.


Can someone explain a bit more what that means? As far as i can tell i can make new folders just fine at any level of the hierarchy even if i have a folder target there. 

*EDIT*

To me it seems what i can not do is make a target in anything that is a target up the hierarchy


Odd Behavior

$
0
0
I have an issue.  When browsing to a server share by IP on a different vlan I am prompted for credentials.  If I browse by FQDN, then everything is fine.  Anyone have any ideas?

Windows 10 Sync Center - Conflict office files creates a [filename]~xxxxxxx.tmp

$
0
0

Hi,

I'm being told to post here. Below is the link to the thread i posted:

https://social.technet.microsoft.com/Forums/windows/en-US/662be346-4d19-4e1a-9d34-ae7cac075345/windows-10-sync-center-conflict-files-creates-a-filenamexxxxxxxtmp?forum=win10itpronetworking

https://social.technet.microsoft.com/Forums/office/en-US/ee466c3b-8d0f-4418-900d-41dc30d68ce2/windows-10-sync-center-conflict-office-files-creates-a-filenamexxxxxxxtmp?forum=officeitproprevious

I am in the midst of migrating all workstation to Windows 10 Pro from Windows 7 Pro. Our Domain Controller is also a File Server running on Windows 2012 R2. All staff's Desktop and My Documents are redirected to the file server \\servername\home$\%username%. Roaming profiles and offline files are enabled on all users. So far we have no issues with this setup for windows 7 users. However when tested on Windows 10 Pro machine, a weird behavior occurs.

Whenever a user edit and save an office file offline (at home), and connect back to the network (the following day), they will always get file sync conflict and .tmp file is created in that folder. See picture below.

When i check in the file server, the original file has been renamed to ~RFxxxxxxx.TMP suffix (or maybe the original file was deleted and then the .tmp file was created).

Because of this behavior, i am given 2 option to resolve this conflict. 1) Keep this version and copy it to the other location 2)Delete the version in both location. See below:

Of course i will choose option 1 which is to keep this version and copy it to the other location. Doing so, the latest copy of the file will be copied to the file server BUT the .tmp is still there. As such i have to manually delete the .tmp file. 

Imagine doing this everyday for notebook users. It is quite annoying.

Any help will be appreciated. 

Storage Spaces Single Parity Column Count

$
0
0

I am seeking help to define the correct PowerShell Syntax for creating a single parity Storage Space utilizing four disk drives of equal capacity (I.E. 4 x 2TB drives) in a single storage pool. I believe in theory this should result in approximately 75% of the pool for data, and 25% of the pool for parity info.

Furthermore, it is unclear to me if using the Windows 10 GUI for storage spaces will create the requisite 4 columns if  presented with four physical disks within a storage pool.

As I have researched this topic, it seems as though possibly, PowerShell will create a better more space efficient Storage Space than the Windows 10 GUI will.

Any help guidance will be appreciated.

Slow to access exe from clustered share

$
0
0

2 node virtual 2016 cluster.

Share created on clustered shared volume E.

When I try to run an executable from a windows 10 or another 2016 server it will take up to 20 minutes to actually run.

Text files open ok.  

Windows 7 pcs are not having this issue.

Ive tried different exes, recreated share, still no luck

Storage Replica fail over testing

$
0
0

I am trying replace our current DFS with Storage Replica.  I've setup a prod file server and a dr file server.  I've created a SR partnership using the following command:

New-SRPartnership -SourceComputerName "prodserver" –SourceRGName rg01 -SourceVolumeName "d:" -SourceLogVolumeName "e:" -DestinationComputerName "drserver" –DestinationRGName rg02 -DestinationVolumeName "d:" -DestinationLogVolumeName "e:"

I see that data is replicating fine. 

I am trying to test fail over by shutting down prodserver.  On the drserver, it shows that the D:\ is ReFS and is not accessible.  I tried running the following command to make drserver primary:

Set-SRPartnership -NewSourceComputerName "drserver" -SourceRGName "rg02" -DestinationComputerName "prodserver" -DestinationRGName "rg01"

I get the following error:

Set-SRPartnership : There is no partnership between source replication group rg02 and destination replication group
rg01. Please check that partnership has been removed from all computers.
At line:1 char:1
+ Set-SRPartnership -NewSourceComputerName "drserver" -SourceRGName "r ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (MSFT_WvrAdminTasks:root/Microsoft/...T_WvrAdminTasks) [Set-SRPartnershi
   p], CimException
    + FullyQualifiedErrorId : MI RESULT 6,Set-SRPartnership

How do I use drserver as my new file server with prodserver offline?

Thanks

Viewing all 13580 articles
Browse latest View live


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