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

How to Remove DFS completely

$
0
0

Hi all

I am looking to remove distributed file system from my environment completely.  I see other articles about removing namespaces, root etc.

I am not happy with it and want to remove this role/feature completely is this straightforward?

Thanks

Confuseis


confuseis


I can write to a folder when logged in directly

$
0
0
But if I connect from my desktop and use \\server\folder and try to write it tells me I don't have permissions, I have looked at everything I know does any one have any suggestions

Scott Cummins

File Server CPU at 100% MSMPEngine, Trusted Installer, mscorsvw.exe, System Idle

$
0
0

Environment:
Windows 2008R2 SP1 File Server
Xeon E5630 @ 2.53GHz CPU
4GB RAM
This fileserver is a Hyper-V VM. The host machine's CPU runs at a constant 0-4%. The other VMs are running fine. 
We are a school district that is out for summer break. There are only about 10 users on our network currently. 

The following process are constantly taking turns running between 80% and 94% - Trusted Installer, mscorsvw.exe, System Idle. When a certain process is not the one running at 80+% it's running at 6% to 20% taking up the rest of the CPU causing the CPU to run at constant 100%. 

I keep Windows updates current. I'm currently running a full scan with System Center 2012 Endpoint Protection and Windows Malicious Software Removal Tool. Both were updated today. 

I added another core to the VM. It is now peaking at about 85%. 

STG_E_LOCKVIOLATION from StgOpenStorage when reading a network file from multiple servers

$
0
0

We have found that if processes on multiple machines attempt to open a networked structured storage file forreading they will occasionally report ‘A lock violation has occurred’ (STG_E_LOCKVIOLATION). 

FYI: We use the flags according tohttp://msdn.microsoft.com/en-us/library/aa380341(v=vs.85).aspx to ensure we only deny writers on reading the file. 

I have created a very simple C# test app and can reliably reproduce the error.

The API under test is simply:

    private static void PerformTheTest(string filename)
    {
      NativeMethods.IStorage stgOpen;
      // Use interop to open the structured storage file.
      // According to http://msdn.microsoft.com/en-us/library/aa380341(v=vs.85).aspx:
      //
      //  To support the single-writer, multireader, direct mode, the first flag combination is the valid grfMode parameter for the writer. The second flag combination is valid for readers.
      //    STGM_DIRECT_SWMR | STGM_READWRITE | STGM_SHARE_DENY_WRITE
      //    STGM_DIRECT_SWMR | STGM_READ | STGM_SHARE_DENY_NONE
      //
      //  In direct mode, one of the following three combinations are valid.
      //    STGM_DIRECT | STGM_READWRITE | STGM_SHARE_EXCLUSIVE
      //    STGM_DIRECT | STGM_READ | STGM_SHARE_DENY_WRITE
      //    STGM_DIRECT | STGM_READ | STGM_SHARE_EXCLUSIVE
      var errorCode = NativeMethods.StgOpenStorage(filename,
        null,
        NativeMethods.STGM.DIRECT | NativeMethods.STGM.SHARE_DENY_WRITE | NativeMethods.STGM.READ,
        IntPtr.Zero,
        0,
        out stgOpen);
      if (errorCode != 0) Marshal.ThrowExceptionForHR(errorCode);
      // Release the storage.
      // NOTE: If we don't do this we run out of memory
      // e.g. There is insufficient memory available to complete operation. (Exception from HRESULT: 0x80030008 (STG_E_INSUFFICIENTMEMORY))
      Marshal.ReleaseComObject(stgOpen);
    }

This has been tested in a Windows Server 2008 R2 environment and can be reproduced within minutes – often within seconds – using just three machines.

Regards

Andy


I can't see folders in file server (Windows 2008 R2)

$
0
0

Hi,

We have two file servers, both Win 2008 R2. I have the exact same permission configuration in both servers.

The folder structure is this:

Folder1
  |
  --> Subfolder1
  |
  --> Subfolder2
  |
  --> Subfolder3

In Folder1, I have these permissions config (applied to a DL group, which I'm a member):

Permission allow:
- Traverse Folder / Exceute Files
- List folder /read data
- Read attributes
- Read extended attributes
- Read permissions

Apply to: This folder and subfolders

And "Apply these permissions to objects and/or...." checked.



In Subfolder1, I have the same permissions configuration of Folder1, but applied to another DL group, which I'm a member too.
Subfolder1 doesn't have inheritance of permissions from object's parent (Folder1).

In Subfolder2 and Subfolder3, I have no permissions.

The issue is, when I access Folder1, I can only see Subfolder1, I can't see Subfolder2 and Subfolder3 (only see, I don't mean enter).

This only occurs in one of the servers, in the other one, I can see all Subfolders, but can only access to Subfolder1, which is correct because that is the only Subfolder which I have Read-only permissions.

Thanks in advance

Server 2012 Shares

$
0
0

Hi Microsoft community!

I hope you can help me with an issue...

I have a machine called \\shares\

There are two drives on it, the "Local Disk (C:)" and the drive I want to put the shared resources on "Shares (S:)"

This is a brand-new Server 2012, and I have a test folder located within the S: drive on which I have enabled sharing for Everyone, and also specifically for myself:




This machine is on the correct domain, along with the machine I am trying to share resources with (my account)

I have also set the NTFS permissions to give my account full control:


Here's the weird issue: When I create a shared folder in the C: drive in this manner all shared machines can access it. When I create a folder in the S: drive, I get a permission denied error: 

You do not have permission to access \\shares\Test2. Contact your network administrator to request access. 

I cannot figure out why I can't access this share! Any help would be greatly appreciated!

Inheritable permissions of shared folders acting very strange - Server 2008 R2

$
0
0

I'm having trouble making sense of some permissions issues with my 2008 R2 server. I have one DC which has a local drive shared out to users in the network.

The top level of the drive (G:) is not inhereting any permissions and has Administrators Group=Full control, Users=Modify, System=Full Control. I went through Advanced>Change Permissions>Replace all child objects permissions with inheritable permissions from this object. I did this individually for all three groups. After hitting apply, the progress window came up and it seemed to propogate my permissions correctly.

However, when I look at the security properties of a sub-folder (any of them) the permissions do not seem to be inherited. The user groups are listed in the top level are present, but none of them have any attached permissions. All blank! When I click on Advanced, I again see the list of the user groups in the top level. Under the <Inherited From> column all of the groups list the top level (G:\). Additionally the check box at the bottom of the window for <Include inheritable permissions from this object's parent> is ticked and grayed out.

To make it more strange (for me at least) when I click on a group, select <change permissions> <edit> all of the permissions that I set at the very top level are there. So Administrators have full control and Users Modify.

But there aren't any permissions listed under Properties, Security, Edit......

I've been googling this for awhile -- but I have no idea why my permissions aren't working. Anybody have any ideas??

Oh, and I can select a Subfolder individually and reapply the setting I want and it will then propogate to each subfolder underneath it. But thats a terrible way to control a large share drive. But the problem definately seems to be between the top level and the first level of subfolders.

Would love any help!

Ryan

Best Practice to add storage to a shared resource file share

$
0
0

Can a shared file folder resource be pointed across multiple drives?

I have a Shared file folder and I want to add more storage to the share.

What is the best way to do this?

Thanks in Advance


Robocopy - Move Files/Folders and retain time/date‏

$
0
0
I am helping a department creaning their data - they have around 2TB.
 
I have made a copy of all the data (Zero length files) to a folder - this way i can do some test runs of the scripts. The next thing i want to do is MOVE all data to a folder called "Old Data" - this is presenting some problems. I need to have the data moved and at the same time retain time and date information on files and folders. The properties are OK on the files, but the folders are getting a new "Modified" date (time and date of the move).
 
Am i missing some fantastic option that will solve my problem?
 
Currently i am trying with this:
 
Robocopy.exe Source Destination /MOVE /COPYALL /R:0 /DCOPY:T /TEE /NP
 
If it do like below - but i con't want to keep the source when first copied, and i cannot make a 4TB datastore, so i can delete the files afterwards.
 
Robocopy.exe Source Destination /MIR /COPYALL /R:0 /DCOPY:T /TEE /NP
 
Please help!:)

DFSR - Best Practice Questions [Replication Groups, Disks on Hub Servers etc]

$
0
0

Hi,

I know there are plenty of DFSR Best Practice Documents around, but none that I found have been able to answer some questions I have around the following:

  • Is there a defined limit to how many Replication Groups should be placed on one particular volume on a Hub Server? (e.g. have only 10 Replication Groups per Drive)
  • Is there a defined limit on how many disks hosting Replication Groups should be placed on a DFSR Hub Server?
  • Is there a defined limit to how many Replication Groups should be placed on any on Hub Server at a given time? (Or would this more depend on the infra in place?

I'm just trying to understand in which scenarios i could/should either scale up or scale out the DFSR Backup infrastructure i currently manage.

Thanks!

Search Index performance (W2008 R2)

$
0
0

Hi

Are there any limits to the number of files the search index can process on W2008 R2 ?  We have a file server which is connected via iSCSI to an external SAN device.  The data volume is approx. 2TB in size.  The indexing server role has been added. 

The status of the "Indexing Options" constantly says "Indexing in progress. Search results might not be complete during this time".  The value of the items indexed increases and decreases over time but never shows complete - it shows around 4,500,000 items indexed.

Also - the size of the .edb file in the index location is around 10GB - is this excessive ?  The index has been rebuilt previously.

Searches, both via clients and on the file server itself, are very slow - it can take anything up to 10 mins to bring up results.

Thanks

John

ACL folder access permission problem.

$
0
0

Hi,

I having problem of remove an user from a folder, after i remove user A from folder and user A still can access to the folder, i go to folder and check permission tab, find out user A i deleted just now come back. Any one know what happen on this? My file server running windows 2008 R2 and DFS.


DFS Namespace won't start and ABE not working properly

$
0
0

I have a network file server that I'm using ABE on. I did some updates to the default domain policy that enabled it on my servers properly.

Before I did the update ABE was working fine, and hid the folders properly based on their access. Now it's showing all of the folders, however the access to the sub-folders are restricting access properly. Attached is what I have Security wise at the root folder/drive I'm sharing out. 

For the Folder share permissions I have Domain Admins having full access and Domain Users having Read Only. Bottom line nothing has changed as far as NTFS and Sharing permissions go. 

Now here's my other problem. DFS Namespace has stopped working and the service has failed to restart. I get a 1068 error message. 

I've gone under ADSI Edit on the PDC under System/DFS Configuration and nothing is there where it should have an entry.

Would rebooting solve this issue? Or is there something else I'm missing?

Server 2012 DFS over WAN, Home dir's & TS profiles

$
0
0

I am considering deploying Server 2012 DFS for our two sites to host redirected Home dirs,  TS profiles, and general network shares, ideally in an Active/Active or if I have to an automatic fail over situation. From what I read here:

http://blogs.technet.com/b/askds/archive/2010/09/01/microsoft-s-support-statement-around-replicated-user-profile-data.aspx

I decided not to do it with 2008 R2

I have read there are a lot of improvements with 2012 DFS. Have the concerns about file locking, corruption, and over writes been eliminated for high change risk files been mitigated in the latest DFS version? 

I have not been able to find a blog post regarding this on Bing. 

Thanks.

Exclude DfsrPrivate from DPM protection?

$
0
0

So, I've been trying to troubleshoot intermittent one way DFS replication (in a full mesh setup) with a Microsoft support engineer.  I'm running server 2k8R2 on my file servers (one is a DC), and StorageServer 2008 on my DPM machines (running DPM 2010).  My support person recommended that I remove the DfsrPrivate folder from the DPM protection group, but is not able to provide me with any details on how to do so.  I did find this post:

http://social.technet.microsoft.com/Forums/windowsserver/en-US/df264b8a-0399-4c93-902e-aa0a1db68cea/how-to-exclude-dfsrprivate-folder-from-a-protection-group

But I'm unclear on how to implement the solution.  Can someone give me any hints as to the best way to ensure that DPM is not making backups of the DfsrPrivate folder?


Thanks,

Kevin


VDSBusTypeFileBackedVirtual and VDSBusTypeSpaces in VDS_STORAGE_BUS_TYPE

$
0
0

Hello all,

I want to know more about the enum values VDSBusTypeFileBackedVirtual and VDSBusTypeSpaces in VDS_STORAGE_BUS_TYPE. I wanted to find out if any disk visible to VDS is a physical one or created by using the new feature Storage Spaces.

I hoped to get VDSBusTypeSpaces value for a disk that is created on a Storage Pool but instead I'm getting VDSBusTypeFileBackedVirtual. And from the name and the explanation in MSDN, I had wildly guessed that VDSBusTypeFileBackedVirtual must be for a VMDK or VHD but that's not the case it seems. I am not finding much by googling. 

In which case would I get the value VDSBusTypeSpaces? What is supposed to be the meaning of VDSBusTypeFileBackedVirtual? 

Pardon my ignorance if the question is too stupid..

Storage Server 2012, dedup & snapshots, iSCSI vs SMB3

$
0
0

Hello,

We are soon going to deploy a server 2012 storage cluster with a fiber channel san as the backend disk.  Our dilemma right now is that our file servers are getting to be too large and our VMDK disks in our Vsphere cluster and are limited to 2TB each (the storage volume can be 64tb, but that mean's making multiple disks to get an 8TB server).  This is becoming an awkward size to manage and we(storage admin's) would like to shy away from it.  Our server admin's think otherwise.

My question is this:

As pure file storage, wouldn't SMB3 have far more advantages over block based storage when utilizing server 2012 storage server?

For example.  We would like to use snapshots (previous versions) for our client devices, as well as maybe using deduplication.  If you are using block based storage and just have a vmdk placed on the disk, snapshots/previous versions wouldn't even work would it?  Same goes for dedup.  It wouldn't work very well because it can't really "see" the files inside the vmdk, like it could if you used SMB3.

Are there any other advantages of using server 2012 as a NAS instead of a SAN for pure file storage?

Thanks,
Dan.


Migrate the file server from 2008 to 2012 with data permission

$
0
0

Hi,

I have to upgrade the data/file server in terms of software and as well as hardware and I would like to keep the permission on the files/folders.

Any tips on it please.

Currently, I have HP Pro machine with Windows 2008 R2 as data server with data residing on it's local & external USB 3 drives. I will be getting the newHPProLiantML350e Gen8with Windows 2012 and would like to migrate all the data on it with the same permission.

Regards,


Thanks, Raj

there is not enough space available on the disk (s)to complete this operation

$
0
0

When I try to expand the disk on my windows 2008 server I get this error:

 

there is not enough space available on the disk (s)to complete this operation

 

any suggestion are greatly appreciated

 

Thanks

 

AL

Query Directory SMB2 Command Problem

$
0
0

  Hi

I am using SMB2 Command Query Directory in order to fetch directory information from a server. While I am using the flag "SMB2_INDEX_SPECIFIED" I can see that Server keeps on sending information against multiple Query Directory until the list is exhausted , then server returns an NT STATUS Error as "No More Files". If I again send another similar request I receive the same error. Is there any way to reset the information at the server side directory handle so that I can freshly start the Query Directory with the same option ?.

I tried with "RESTART_SCAN" but using it server also returns back the first set of information which I don't require. Can someone help me out here. I just need to reset the current state of the directory handle at the server side.

Viewing all 13565 articles
Browse latest View live


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