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

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

ADMT-Security Migrate Tool Completed with Errors (ERR2:7144 Could not open file 'C:\Program Files\WindowsApps\.......)

$
0
0

Dear Team,

I have migrated Domain controller from old domain to new domain by using with ADMT. I can migrate Group, User and Service, but when I continue to migrate with Security Migrate Tool, it show completed with error.

Please advise how to solve this problem.

Below is the log:

2016-11-02 10:05:37 ERR2:7144 Could not open file 'C:\Program Files\WindowsApps\Microsoft.3DBuilder_10.0.0.0_x64__8wekyb3d8bbwe' (1314)  A required privilege is not held by the client.
2016-11-02 10:05:37 ERR2:7144 Could not open file 'C:\Program Files\WindowsApps\Microsoft.Appconnector_1.3.3.0_neutral__8wekyb3d8bbwe' (1314)  A required privilege is not held by the client.
2016-11-02 10:05:37 ERR2:7144 Could not open file 'C:\Program Files\WindowsApps\Microsoft.BingFinance_4.3.193.0_x86__8wekyb3d8bbwe' (1314)  A required privilege is not held by the client.
2016-11-02 10:05:37 ERR2:7144 Could not open file 'C:\Program Files\WindowsApps\Microsoft.BingNews_4.8.239.0_neutral_~_8wekyb3d8bbwe' (1314)  A required privilege is not held by the client.
2016-11-02 10:05:37 ERR2:7144 Could not open file 'C:\Program Files\WindowsApps\Microsoft.BingNews_4.8.239.0_x86__8wekyb3d8bbwe' (1314)  A required privilege is not held by the client.
2016-11-02 10:05:37 ERR2:7144 Could not open file 'C:\Program Files\WindowsApps\Microsoft.BingSports_4.3.193.0_x86__8wekyb3d8bbwe' (1314)  A required privilege is not held by the client.

Many thanks!

VONG Dimanche 

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 ?

creating multi-resilient volume in WS2019 doesn't honor resiliency settings

$
0
0

Hello. I'm trying to create multi-resilient volume in WS2019 (standalone server).

The process I use is like this:

1) create the pool

New-StoragePool -FriendlyName TieredPool -StorageSubSystemFriendlyName"Windows Storage*" -PhysicalDisks (Get-PhysicalDisk -CanPool $true)

2) create the storage tier templates

$tier_mirror = New-StorageTier -StoragePoolFriendlyName TieredPool -FriendlyName Mirror -MediaType SSD -ResiliencySettingName Mirror -NumberOfColumns 2 -Interleave 256kB -PhysicalDiskRedundancy 1
$tier_parity = New-StorageTier -StoragePoolFriendlyName TieredPool -FriendlyName Parity -MediaType HDD -ResiliencySettingName Parity -NumberOfColumns 3 -Interleave 256kB -PhysicalDiskRedundancy 1

3) create the multi-res. volume

New-VirtualDisk -StoragePoolFriendlyName TieredPool -FriendlyName TieredDisk -StorageTiers @($tier_mirror,$tier_parity) -StorageTierSizes 1600GB, 22000GB -ProvisioningType Fixed

The issue is that the volume is created, but doesn't honor the template tiers' resiliency settings, so in effect both 'concrete' tiers are created asMIRROR, instead of Mirror+Parity:

PS C:\Users\admin> Get-VirtualDisk -FriendlyName tiereddisk | Get-StorageTier
FriendlyName      TierClass   MediaType ResiliencySettingName FaultDomainRedundancy     Size FootprintOnPool StorageEfficiency
------------      ---------   --------- --------------------- ---------------------     ---- --------------- -----------------
TieredDisk-Parity Capacity    HDD       Mirror                1                     21.48 TB        42.97 TB           50,00 %
TieredDisk-Mirror Performance SSD       Mirror                1                      1.56 TB         3.13 TB          50,00 %

For what it's worth, I get the same results when using New-Volume. Actually in WS2019 Preview version, New-Volume would produce this problem, but using New-VirtualDisk would set the resiliency settings correctly.

Is this a bug in the final release of WS2019?

Huge dedup Storage , compression rate 99%

$
0
0

Hi,

I have a file server on windows 2012 R2 with data deduplication active.

On the partition has 9 TB of space 8,9 TB are used by the System Volume Information so this is a dedup rate from 99% is that normal , if i look on the partition, there are only 62 GB used for data, all the rest in in the System Volume Information folder

I already run the GarbageCollection but no changes.

best regards

Michael


network error" You do not have permissions to access \\

$
0
0

I have accounting software on a main computer in our small offices.  Then we have work stations that connect to this computer for the software.  Everything was fine until we moved offices.  No all the work stations are working except for my workstation.  I am getting the " you do not have permissions to access \\    I have tried a host of things.. 

1.  - made sure network discovery and sharing was on.

2. changed the local security polocies. 

3. made sure i have access access to the C drive. 

- I am totally lost and not sure what to do..  Do you have any suggestions?  

DFS 2019

$
0
0
Any issue with having mixed 2019 and 2012 DFS Namespace servers?

Error 0x80070299 copying file to ReFS

$
0
0

We're retiring a 2008r2 file server using NTFS and migrating the files to a Server 2016 server using ReFS.  Using robocopy to pre-seed the files, a small percentage of the files failed to copy.  The robocopy log reported:

ERROR 665 (0x00000299)...The requested operation could not be completed due to a file system limitation

Trying to manually copy the file generated the error:

Error 0x80070299 the requested operation could not be completed due to a file system limitation

The files copy correctly to NTFS volumes, but trying to copy to any ReFS volume on any server generates the error.  If I copied the file to a FAT32 partition (to strip the NTFS metadata), it would then copy to an ReFS volume with no error, but trying to strip the attributes by going to the file properties, Details tab, and using the "Remove properties and Personal Information" option had no effect (it still failed to copy).

I was able to narrow it down to the presence of a particular Alternate Data Stream (ADS).  All the files that failed have an ADS called "AFP_Resource", which is apparently for Mac compatibility (https://msdn.microsoft.com/en-us/library/dn392833.aspx).  If I remove that data stream or clear the contents of it, the file will then copy with no error.

However, we have a lot of files that also have that ADS that do copy successfully.  We have a fair number of Mac users, so I'd prefer not to remove that data stream from all the files that have it.  Ideally I'd like to remove whatever is problematic about the data stream and leave the rest intact.  Alternatively, it would also be helpful if anyone could re-assure me that removing that data stream won't negatively impact our Mac users.  I suspect it's not important, but I'd rather not find out by stripping the stream from thousands of files and end up getting a bunch of phone calls. ;)

I suspect I'm going to end up using robocopy to identify the problematic files and then script removing this ADS just from those files, but if anyone has more info on this I would love to hear it.

More info below for those who might also be struggling with this.  It took me a few hours to track this down, so hopefully this will save someone else some time.

You can see what alternate datastreams exist for a file using either of the following:
dir /w
get-item <filename> -stream * | select Stream,Length

Remove a data stream:
remove-item <filename> -stream <stream name>

Clear contents of a data stream:
clear-content <filename> -stream <stream name>

View contents of a data stream:
get-content <filename> -stream <stream name>

Decent blog post explaining NTFS attributes (particularly $DATA, but also $STANDARD_INFORMATION, $FILE_NAME, etc.):
https://blogs.technet.microsoft.com/askcore/2009/10/16/the-four-stages-of-ntfs-file-growth/





Storage Pools on Windows Server 2019 Dual Parity

$
0
0

Good Morning,

we are in a project replacing some old NAS systems by a central new system.

I was reading about storage spaces and storage pools in Windows Server so I try setting up a test server 2019.

Hardware is SDDS certified, 10x 300gb SAS HDD´s are in and I was able to set up the pool of all 10 HDD´s.

If I try to set up a Virtual Hard drive with dual parity of any size I get an error.

"The Storagepool does not have sufficient eligibile resources for the creation of specificities virtual disk "

Can't finde some obvious reason for that, we need some RAID 6 like resilience for sensitive data where 2 drives could fail but we do not need a storage spaces direct typ setup because it would be way overkill for us.

DFS directory backlog remove files

$
0
0

I have a folder syncing inside a dfs share and 365 files inside the folder are backlogged. I have updated the Staging quota which was previously too small and the files are still backlogged. Would it be safe to remove the folder to see if the backlogged files are cleared?

Viewing all 13565 articles
Browse latest View live


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