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

Error message 'System.IO.IOException: Invalid Signature' when the C# program tries to access a file under a DFS mechanism folder

$
0
0

Hi there

Some of the end-users access our webswite and got the 'System.IO.IOException: Invalid Signature' exception. Hard to figure out why this 'Invalid Signature' error comes out.

Environment : Windows 2012 + DFS feature enabled. The C# program tried to access the file under the DFS folder.

Following is the exception stack:
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.IOException: Invalid Signature.    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access).

Can anyone please shed a light on this issue.

Thanks.




DFSR Question about the DFSRPrivate folder

$
0
0

Hello all and thanks in advance for any info you may provide.

I am using DFSR for first time and I face an issue with the replicated data and the source data. I want to clarify that I am using DFSR only to migrate data to a new file server and after the replication is completed I will decommission the olf File Server.

My problem is that when I go to check the source and the destination data, they don't have the same size (which is expected, as I thought that some files, if they are opened or in use, they cannot be replicated). Well, it seems that this is not true, because I checked it in a test environment. So, after I tested it and I saw that everything is replicated, even the opened files, I was wondering why the source and the destination data are not the same. I believe that there's not any problem if I miss 500-600 files, because these files may be temp files, or bak files. When I run the report, I see that the files that are not replicated are basicaly pdf,docx,xlsx files. So, why these files are not replicated?

A colleague explained me that the difference between the source and destination data occurs because I have left the DFSRPrivate folder which contains the staging folder in its original location in the replicated folder. He advices me to change this, which is a huge workload for me now. My question is, does my colleague have right? Shall I change it? If you leave the staging folder to its original place, will this cause any trouble?

Thank you all!

DFSR assistance

$
0
0

Hello all,

as I wrote to my previous question, I just started "playing" with DFSR, so I am not quite sure if I follow the right paths. I will explain you what I want to do and please help me to correct any mistakes.

So I have a File Server FS1 which used to be one of our File Servers. This machine will be replaced by a vritual machine, the FS2 which has Win Server 2012 and much more space. So the plan was to enable the DFSR between these 2 servers and after everything is migrated, then we will decommission the old machine.

The only data I need to copy from the old server is the users'  home folder (my documents, favorites etc). It's a folder of 180GB, so this makes the things simpler I guess.

What I did: I created a replication group between FS1 and FS2 , having FS1 as the source.

Everything worked fine and at the end I was missing some files on the FS2 and this is where the problem started. Under the folder target I disabled old server so people cannot access it and change things, and I also made it Read Only. What I didn't do was to make the FS2 as source and FS1 as destination (as I said I miss some files from FS1 , so I decided not to stop the replication until everything goes to the FS2 - I know exactly which files I  miss).

The problem I have now is that the Staging folder in FS2 became huge, almost the size of the folder I replicated. Do you know why? The staging folder in the old server is 18GB.

Any help will be more than appreciated.

Thank you!

Looking for File Server Centralized Management Application

$
0
0

As per my scenario, I am having nearly 10-12 file servers, where every file servers are in domain.

In Each file server there are several shared folders. I have created groups from "User and Groups" and provide access to domain users.

Each File server has nearly 100+ groups. 

Also the groups are created by keeping the security ascept upto level 3 access.. So for giving rights i have to give access to level 2 groups also.

Now, my issues is when I want to give access I have to access each and every file server and then review the group assigned to that particular shared folder and then open the group and add user to it.. so its very time consuming activity.

May I know if there is any centralized management of file servers or any such application so that I can save the time and give the access easily in short time.

Hope to hear a positive reply from your side.

Regards,

Sanjay Barmeda

DFS 2012 Stops Replicating When "Primary" member is down in a Read Only Scenario

$
0
0

I'm testing out DFS and everything is working great in a standard scenario ie. 2 way sync and not using read only scenarios. However the following scenario below is not working for me, not sure if it's by design and not coming up with anything when researching.

3 Windows 2012 DFS servers

1. Create new replication group (tried both hub and spoke and full mesh no difference)

2. Set server1 as the primary and server2 and server3 as spokes

3. Provisions shares and set server2 and server 3 as read only.

4. Replication works as expected when I create a file on server1 it replicates to server 2 and 3.

I'm testing DR scenarios where I now shutdown server1 to simulate a failure.

1. Shutdown server1

2. Set server2 as read-write wait about 15 minutes for it to take affect. I create a file on server2 and it does not replicate to server 3 no matter how long you wait, restart DFS service etc. The only way to get replication to work is to power up server1 again

The above scenario works fine if all nodes are originally set up as read-write, you can power down any server and replication will still occur between the other nodes. However in a read only\read-write scenario it doesn't appear to work unless the original primary master is back up again. Thanks.


James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com

Unable to delete a file

$
0
0

I am trying to delete an ex-student's home folder from our file server. However, I cannot complete the operation as there is one file in the folder that I cannot delete. 

I've tried to delete the file from File Explorer, but I get a dialog stating "Could not find this item. This is no longer located inpath. Verify the item's location and try again."

Using "del file" from the command prompt returns "Could not findfile", even though the "dir" command shows the file exists.

I've tried scanning the disk for errors from Server Manager, but this has not changed the situation.  The file resides on an iSCSI volume which is mounted to a shared folder on the C: drive.

Running the command "Get-Item -Path .\*" from PowerShell returns the following output.  I've intentionally replaced the path string but left the file name intact.

get-item : Could not find item C:\path\humanities .
At line:1 char:1
+ get-item -path .\*
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\path\humanities :String) [Get-Item], IOException
    + FullyQualifiedErrorId : ItemNotFound,Microsoft.PowerShell.Commands.GetItemCommand

Event log errors in Work Folders

$
0
0

We have an environment running Work Folders. The event log on client computers logs an error every synchronization. 

The sync partnership is configured without any policies and without ADFS authentication.

Is there anything with our configuration or anyone that confirm this is working as intended?

The "credentials required for the user" event also logs without requesting credentials and everything works fine. 

Screenshot of error messages and sync share:

http://1drv.ms/1wDdYVo

Is anyone else experiencing this aswell? 


Parity Storage Space volume offline after one disk failure

$
0
0

I have a storage pool that contains 7 physical disks and has two virtual disks created off it.  One is a Tiered Mirror disk (containing two SSD's and two HDD's) that I use for VM storage.  The other is a thinly provisioned parity disk (containing three HDDs) that I use for general file archiving.

The pool had a physical disk fail, which has happened before and has been no big deal - normally a virtual disk will be marked as degraded and will repair when the new disk arrives to replace the failed one.  The virtual disk has always been usable while in the degraded condition.  In this case though, the parity disk has been taken offline.  When I try to re-attach it in Server Manager it gives an error saying "Error attaching or detaching virtual disk: failed to attach virtual disk to<server>. Failed." 

While I haven't yet received the replacement disk for the failed one, I would have thought that this shouldn't matter and one disk failure in a parity disk would not take it offline?  The fact that it did has me concerned that the whole virtual disk has failed from this one disk failure.  What would have caused this to happen?


Backup initiated VMWare snapshots destroys our Exchange cluster and trows errors in all Windows 2012R2 servers

$
0
0

Hi There!

At my current customer we are using ArcServe UDP backup solution. ArcServe creates quiscing snapshots via VMWare.

When we create a snapshot with VMWare, no errors occur. But when we create a (snapshot) backup with ArcServe, Delayed Write Failed errors occur in the Windows event viewer. This event is raised in every Windows 2012R2 server but no defects are known, everything seems to work fine. Except for our Exchange 2013 servers........

Our Exchange 2013 (CU7) failover cluster (which is used for DAG replication) gets corrupt. It goes offline and we are not able to get it online anymore. We are not able to fix this and have to rebuild our DAG + Replication network every time this happens.

For exchange we are already looking into an other backup method, but for all the other servers, we're not quite sure what to do... Is this really bad?? And do we have to renounce this backup method for all servers? Or can I just filter this error in SCOM and try to live with it... :-) 

--------------------------

Some other related errors:

--------------------------

Event ID: 140 - Ntfs (Microsoft-Windows-Ntfs)

The system failed to flush data to the transaction log. Corruption may occur in VolumeId: \\?\Volume{a5e25c4f-a729-11e4-80d4-0050568a10ea}, DeviceName: \Device\HarddiskVolume18.
(The specified request is not a valid operation for the target device.)

--------------------------

Event ID: 137 - Ntfs (Ntfs)

The default transaction resource manager on volume \\?\Volume{a5e25c4f-a729-11e4-80d4-0050568a10ea} encountered a non-retryable error and could not start.  The data contains the error code.

--------------------------

Event ID: 26 - Application Popup

Application popup: Windows - Delayed Write Failed : Exception Processing Message 0xc0000222 Parameters 0x00007FF855B364B0 0x00007FF855B364B0 0x00007FF855B364B0 0x00007FF855B364B0

--------------------------

Event ID: 50 - Ntfs (Ntfs)

{Delayed Write Failed} Windows was unable to save all the data for the file \System Volume Information\001.dat. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.

--------------------------

Event ID: 157 - disk

Disk 3 has been surprise removed.


Bart Scheltinga | www.bartsp34ks.nl | MCSA

Cannot increase C drive vhdx Windows 2012 Hyper-v (Very Urgent)

$
0
0

Hi!

We are unable to increase the size of C drive in the configuration manager VM server 2012 as the extend volume option is grayed out. The disk is divided into t partions: c and d. We can increase the size of D but not C. The C drive is showing no space and when we counted the total space taken by all the folders in C drive it does not reach the limit of the assigned size.

Any Suggestions?

Thanks.

Office 2013 and DFS

$
0
0

Hi,

I have posted the following onto the Office forums as well, but I think as the issue is very specific to DFS I'm not convinced that forum is necessarily the best place.

System setup.

We have two servers, in two separate sites. Both sites work on the same set of data, with the data replicated between the two servers using DFS.

The customer recently migrated to using Office 365 for email and at the same time to Office 2013.

The issue

The user at "site a" opens email attachments within Outlook 2013. Lets say its a photo, from the Windows Photo viewer program the user then saves the attachment to a location within the DFS share. This issue wasn't seen in Outlook 2007.

Then, a user at "site b" goes to the folder where the user at "site a" saved the photo and sees nothing there.

As IT admin we then look at the DFS queues and do not see the file queued, we look on the server at "site a" and can see the file is present and check on the server ate "site b" and the file is missing.

Moving the file out of the folder and back in the file then replicates.

Trying to fix it

After a lot of investigation determined that the files have a temporary file attribute (seeMSDN Blog) . DFS does not replicate files with this attribute (this is by design, see Technet blog).

Now when opening an attachment Outlook saves the attachment to the Outlook Secure Temp folder it sets the file with this temporary attribute. This attribute appears to be transferred by the application (including Microsoft programs eg the Windows Photo viewer) when saving the file.

Can Outlook be prevented from created files with this attribute? Has anyone else seen this issue, what can I do to prevent it?

Thanks

MPIO not working

$
0
0
I have several R720 servers  with dual port Broadcom BCM57810 10Gb NICS. They all have Windows Server 2012 R2 Datacenter installed with the Hyper-V role. I am trying to make iSCSI connections to a Dell/Equallogic PS6110. I have HIT 7.1 installed on the servers. I can make a single connection to the storage ok, but when I make the second connection (MPIO) , it drops shortly thereafter. I believe the issue is on the server side because we have other Dell servers that were configured by Dell and have MPIO (2 connections) working fine. Any advice on how to get the second connection to stay up? I want to cluster these nodes, but the cluster validation test keeps failing on MPIO, stating theres only a single connection to the storage.

Append permissions to all subfolders

$
0
0

Hi,

I've got a large number of files/folders/subfolders. Many of the folder have their own unique NTFS permissions, either in combination with inheritance, or exclusive. 

I now need to give a certain group full permissions to all files/folders/subfolders, but i cant screw with the existing permissions. Meaning, if i assign it to a top level folder and push it down, it will overwrite the folders exciting permissions. I basically need for all NTFS permissions to remain intact, and at the same time, add/append this new group to all files/folders.

Is this possible?

Do all namespaces have to live in the 'DFSRoots' folder?

$
0
0

Running through DFSN PS commands for the 70-411...

My question is, do all DFS namespaces have to have their root shared folder in the 'DFSRoots' folder? Working through the 70-411 Exam Ref handbook, and entering..

New-DfsnRoot -TargetPath \\trey-dc-02\Public `
-Path \\TreyResearch\Public `
-Type DomainV2 `
-Description "Central source for Publicly visible files"

...would create a namespace root of 'TreyResearch\Public', pointing to the pre-created/shared folder of 'Public'.

Now, I tried this myself - I created a shared folder on the C: drive, and pointed my namespace to this folder. 

If I were to create the namespace using the DFS GUI, it would create the shared folder in the 'DFSRoots' folder.

Does it hurt to have the shared folder outside of here, and what are the implications?

Many thanks.

FSRM [Source File Path] and DFS

$
0
0

Hi,

When i use the [Source File Path] in a notification email it does not show the source file path but instead shows d:\xxxx which is the local drive of the server hosting the destination share.

The users has a lot of problems with file types that are not allowed. But i can't find a good way to show them the file that has been blocked with out showing them the local server drives or shares and this is not a good way.

Any suggestions to what could be done so i can show the users what files have been blocked?


Advice please on best way to attack a Data Migration

$
0
0

I have the following situation:-

User Home Drives are on Server SU2 which is in Domain DU.

Domain DU has a Trust with Domain DD

User's Accounts are in Domain DD and each account is configured to get its HomeDrive from the server SU2\username

Server SU2 is running Windows 2003

I wish to move the Home Drives to a (Windows 2012) Server called SD5 in Domain DD

Domain DD and Domain DU are not in the same Forest I cannot use DSF Replication directly between these two .

My 'plan' was to put the SD5 server into the DU Domain initially, perform a full DFS Replication, then when the replication is completed move it to Domain DD.

Is there a better approach..?

Print server windows 2008 r2

$
0
0

Hi,

I have a print server windows 2008 r2. There are 20 network printers installed that server. Sometimes we have disk full or low toner on printer cartridge problem and printers stop working.  Some time we log on to the print server or go to location of printer, then we come to know that printer has problem. I want to configure email notification when the printer is running low toner or stopped working with paper jam so I can work proactively. How can we configure our windows 2008 r2 print server to send email notification for such kind of problem.

Thanks.

All documents are corrupted

$
0
0

Hello,

I am sorry but I don't know what to do about this issue, I think a virus has hit our internal network and all excel sheets, word docs, and PDFs are corrupted and the file formats are changed to something I don't know.

I couldn't find any useful info about this strange format, how can I fix this please?

Thanks,



MCITP: Server Administrator 2008, MCP

Cannot remove Retired drive from Storage Spaces.

$
0
0

I have a drive in my Storage space that was set to Retired ages ago.

I finally got around to picking up a replacement drive and added it to the Storage Space.

There is now more than enough room in the pool to relocate any data that is on my retired drive. However, when I attempt to remove it, I get the following error:

Can't remove drive from the pool

Drive could not be removed because not all data could be reallocated. Add an additional drive to this pool and reattempt this operation.

Any suggestions? I'm at a complete loss here. None of my commands are working in Powershell either.

How can I migrate DFS 2003 R2 to 2012 R2 ?

$
0
0

Hi,

I would like to find out what will be the migration requirement or migration path available for me to migrate an existing DFS on Windows Server 2003 R2 to Windows Server 2012 R2 ?

Thank you.

Viewing all 7579 articles
Browse latest View live


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