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

Files go missing with Offline Files enabled on Home Drive

$
0
0

Server 2008 R2 Domain

We have a Shared Folder's offline settings set to "All files and programs that users open from the share are automatically available offline".  This is used for mapping the user's Home Folder (H:\) set in the AD user properties.

There are no group policies set to change offline files. PCs have offline files and sync center enabled by default.

We are seeing issues when a user creates a file on their PC and saves it to their H:\ drive, it will show up on that PC but will not show up in their H: drive if they log into a different PC.

We want to disable offline files on the domain, but don't want to lose all these files that users have created.

Any ideas?


Multiple Site Printer Deployments with Mobile work force

$
0
0

I am rebuilding group policy at a site which currently only has a single office but is expanding to multiple offices over the next couple years. When they do expand to the additional sites, the majority of the work force will become mobile between the sites, and almost entirely on laptops.

I had intended on deploying printers using group policy preferences and item level targeting based on site and group membership so that when users move from site to site they get printers in the office they are physically located in. I just realized that policy is the only way to deploy printers from the print management console. I had hoped to stick with using print management console since it is such a consolidated and clean interface to look at, but doesn't look like that will be an option.

when you install new drivers on a print server, the clients will get updated as well. I am not sure if the mechanics of this is related to the print server or group policy. If I deploy a printer with preferences, would it update the drivers on the clients? My instinct is that it would not, but am not sure on that.

Also, does anyone see a problem with managing printers out of the print management console? It typically drove me nuts when anyone deployed a printer outside of it, but it was more because once someone starts deploying a printer a different way, it seems that another half dozen deployment methods are pretty much immediately implemented and then becomes hard to manage. I think from a management perspective if I standardized on using group policy preferences management would be acceptable - have never considered not using print management before to deploy printers though so am not sure what to think about it.

domain controllers are 2012 R2 and print server at least during the group policy overhaul is 2008 R2, to be upgraded to 2016 some time early next year. All workstations and laptops are windows 7 and newer

Combining Work Folders and Folder Redirection

$
0
0

As I am sure everyone realises, the offline files and folder redirection system is far from perfect!

I have seen the new Work Folders in Server 2012 R2, and would like to use this for user data. There are a few questions I have:

1. I am wondering if it is possible/acceptable to combine this with folder redirection?

2. Where is the recommended location to store the work folders? Is it ok to redirect documents to the group policy default %USERPROFILE%\Work Folders\Documents?

3. If AppData Roaming is redirected to a work folder, and it has yet to be synchronised will this cause issues on the first logon with duplicated windows AppData, e.g. the TaskBar etc.

Thanks in advance

Powershell can't reset disk

$
0
0

I'm building servers with disks pre-formatted. I want to use Powershell to reset the disks so they can be used in the primordial pool and be eligible for Storage Spaces. In the Storage Spaces UI, I just click reset and it changes the Partition from MBR to Unknown. That works fine, now I try to do the same with Powershell...

Get-Disk --> shows the partition style is MBR

Get-PhysicalDisk | ft FriendlyName,CanPool --> shows CanPool = False

Reset-PhysicalDisk physicaldisk1 --> has no effect!

Initialize-Disk 1 --> error "the disk is already initialized"

Remote-Partition 1 --> prompts endlessly for partitionnumber, there is only 1 partition

I appreciate any tips.

Unable to repair virtual disk or remove retired disk

$
0
0

I had a drive go out last night and I have been unable to repair the virtual disk on a windows 2012 standard server

Here is the output from the storage pool

ObjectId                          : {4c6fc85e-ff27-11e2-9400-0023aea46cae}
PassThroughClass                  :
PassThroughIds                    :
PassThroughNamespace              :
PassThroughServer                 :
UniqueId                          : {4c6fc85e-ff27-11e2-9400-0023aea46cae}
AllocatedSize                     : 6829266436096
ClearOnDeallocate                 : False
EnclosureAwareDefault             : False
FriendlyName                      : secondstoragepool
HealthStatus                      : Warning
IsClustered                       : False
IsPowerProtected                  : False
IsPrimordial                      : False
IsReadOnly                        : False
LogicalSectorSize                 : 512
Name                              :
OperationalStatus                 : Degraded
OtherOperationalStatusDescription :
OtherUsageDescription             :
PhysicalSectorSize                : 4096
ProvisioningTypeDefault           : Fixed
ReadOnlyReason                    : None
ResiliencySettingNameDefault      : Mirror
RetireMissingPhysicalDisks        : Always
Size                              : 14998831104000
SupportedProvisioningTypes        : {Thin, Fixed}
SupportsDeduplication             : False
ThinProvisioningAlertThresholds   : {70}
Usage                             : Other
PSComputerName                    :

Here is the output from the physical disks

FriendlyName        CanPool             OperationalStatus   HealthStatus        Usage                              Size
------------        -------             -----------------   ------------        -----                              ----
PhysicalDisk5       False               OK                  Healthy             Auto-Select                     1.36 TB
PhysicalDisk0       False               OK                  Healthy             Auto-Select                     2.73 TB
PhysicalDisk2       False               OK                  Healthy             Auto-Select                     1.36 TB
PhysicalDisk1       False               OK                  Healthy             Auto-Select                    74.51 GB
PhysicalDisk6       False               OK                  Healthy             Auto-Select                     2.73 TB
                    False               Lost Communication  Warning             Retired                         2.73 TB
PhysicalDisk8       False               OK                  Healthy             Auto-Select                     2.73 TB
PhysicalDisk9       False               OK                  Healthy             Auto-Select                     2.73 TB
PhysicalDisk3       False               OK                  Healthy             Auto-Select                     1.36 TB
PhysicalDisk4       False               OK                  Healthy             Auto-Select                     1.36 TB

Here is the output from the Virtual disks

ObjectId                          : {4c6fc87a-ff27-11e2-9400-0023aea46cae}
PassThroughClass                  :
PassThroughIds                    :
PassThroughNamespace              :
PassThroughServer                 :
UniqueId                          : 7AC86F4C27FFE21194000023AEA46CAE
Access                            : Read/Write
AllocatedSize                     : 5120137887744
DetachedReason                    : Majority Disks Unhealthy
FootprintOnPool                   : 6826850516992
FriendlyName                      : SecondShare
HealthStatus                      : Unknown
Interleave                        : 262144
IsDeduplicationEnabled            : False
IsEnclosureAware                  : False
IsManualAttach                    : True
IsSnapshot                        : False
LogicalSectorSize                 : 512
Name                              :
NameFormat                        :
NumberOfAvailableCopies           : 0
NumberOfColumns                   : 4
NumberOfDataCopies                : 1
OperationalStatus                 : Detached
OtherOperationalStatusDescription :
OtherUsageDescription             :
ParityLayout                      : Rotated Parity
PhysicalDiskRedundancy            : 1
PhysicalSectorSize                : 4096
ProvisioningType                  : Thin
RequestNoSinglePointOfFailure     : True
ResiliencySettingName             : Parity
Size                              : 11985374674944
UniqueIdFormat                    : Vendor Specific
UniqueIdFormatDescription         :
Usage                             : Other
PSComputerName                    :

Some more info

FriendlyName OperationalStatus ResiliencySettingName NumberOfColumns           Size
------------ ----------------- --------------------- ---------------           ----
SecondShare  Detached          Parity                              4 11985374674944



FriendlyName           Size AllocatedSize Usage       OperationalStatus
------------           ---- ------------- -----       -----------------
PhysicalDisk0 2999766220800 1594506608640 Auto-Select OK
PhysicalDisk8 2999766220800 1707249500160 Auto-Select OK
PhysicalDisk9 2999766220800 1707249500160 Auto-Select OK
PhysicalDisk6 2999766220800 1707249500160 Auto-Select OK
              2999766220800  113011326976 Retired     Lost Communication

PhysicalDisk0 was intended to be the replacement for the retired drive. 

Repair-Virtualdisk completes instantly.

When I try and run

Remove-PhysicalDisk -PhysicalDisks $removehdd -StoragePoolFriendlyName secondstoragepool

I get the following output

PS C:\Windows\system32> Remove-PhysicalDisk -PhysicalDisks $removehdd -StoragePoolFriendlyName secondstoragepool

Confirm
Are you sure you want to perform this action?
Removing a Physical Disk will cause problems with the fault tolerence capabilities of StoragePool "secondstoragepool".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): Y
Remove-PhysicalDisk : One of the physical disks specified could not be removed because it is still in use.
At line:1 char:1+ Remove-PhysicalDisk -PhysicalDisks $removehdd -StoragePoolFriendlyName secondsto ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : NotSpecified: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Remove-PhysicalDisk], CimE
   xception+ FullyQualifiedErrorId : StorageWMI 51004,Remove-PhysicalDisk

Any ideas?



File Services Migration failing with error Send-SmigServerData : Starting the connected transport failed. The cmdlet cannot connect to the destination server.

$
0
0

Hi. I am trying to migrate hundreds folders that are allocated in a Windows Server 2008 Server (file server). I am migrating to Windows Server 2008 R2 on a new server. I followed this guide:

https://technet.microsoft.com/en-us/library/dd379474.aspx

Everything seemed right and got not errors during deployment. Both servers are fully updated, even with the optional patches. Both servers are part of the same domain and they don't have any issues while authenticating or connecting to the domain. They are both on the same subnet with gigabit connectivity. None of them are using the ports that are used for the migration tools. Firewalls are off, and antivirus solutions are off (AV is MS Forefront Protection 2012). Servers can ping each other by name and FQDN.

When I try to begin the migration, it fails with this error:

"Send-SmigServerData : Starting the connected transport failed. The cmdlet cannot connect to the destination server". The entire error is below on the pics:

Error on source server:

https://www.dropbox.com/s/6mqsvzxthmvm283/Error%20on%20Source%20Server.PNG?dl=0

Migration logs on source server:

https://www.dropbox.com/sh/p6se3xehatcb7ko/AABU_NhnQXwrbrkxxdhqLjYma?dl=0

Error on destination server:

https://www.dropbox.com/s/jx488rnmtr3i4ou/Error%20on%20Destination%20Server.PNG?dl=0

Migration logs at destination server:

https://www.dropbox.com/sh/zxfldxu3tbskmg7/AADvWcSKudREa1O9BVNDvMuCa?dl=0

Anything else I could check?

Regards,

Jose Angel Rivera


Jose Angel Rivera



Robocopy Bug - Unnecessarily Copies files with the same Owner

$
0
0

Robocopy detects changes made in file security on the destiation as a change in ownership.  This forces the file(s) to be copied when the file should be skipped.  When performed on a large data set, this adds significant time.  Am I doing something wrong?  I'd like to have this bug confirmed and submitted.

 

To repeat this bug you can:
1. Run This command - Robocopy <Source> <Destenation> /MIR /Copyall
2. On the destination, right click a file and click properties.  Go to the security tab and add user or group the file.  Click ok.
3. Run this command - Robocopy <Source> <Destenation> /copy:DATO /E /S /PURGE
4. You will see that robocopy copied this file and did NOT skip it as is should have.
5. Change the permissions on the destination file once more by adding a different user or group to the file security permissions as you did in step #2.
6. Run this command - Robocopy <Source> <Destenation> /copy:DAT /E /S /PURGE
7. You will see that Robocopy skipped the file this time, now that the "O" was removed,  proving the bug.





iCACls Error - "S:AINO_ACCESS_CONTROL"

$
0
0

I'm experience an odd behavior with iCACLS.  I restore the same permissions to two folders within the same directory but get different results.  After I perform the restore, the permissions as seen in the properties window appear identical, however, i then backup the permissions using icacls and get a different result for each folder.  The difference between them is that one folder has the term "S:AINO_ACCESS_CONTROL" added to the end of it and the other doesn't.  What does this term mean?

First I run this command to restore the permissions with the text below being in the text file -  "icacls e:\ /restore ntfsperms.txt"

Folder\SubFolder1
D:AI(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-3317)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-500)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-6686)(A;OICIID;0x1200a9;;;AU)

Folder\SubFolder2
D:AI(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-3317)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-500)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-6686)(A;OICIID;0x1200a9;;;AU)

Second I run this command to save the permissions with the result below-  "icacls e:\Folder /save ntfsperms.txt /t /c

SubFolder1
D:AI(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-3317)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-500)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-6686)(A;OICIID;0x1200a9;;;AU)S:AINO_ACCESS_CONTROL

SubFolder2
D:AI(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-3317)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-500)(A;OICIID;FA;;;S-1-5-21-1632496702-3739536613-3407373563-6686)(A;OICIID;0x1200a9;;;AU)


Problem with 3TB raid1 in configuration in windows 2012 with HP proliant microserver N40L

$
0
0

 

I have purchased HP Proliant microserver N40L with 2 Seagate 3TB HDD for RAID1 configuration. I configured RAID1 from the bios utility and installed Server 2012. After the 1st clean install, I went and checked my RAID drives and It surprised by when I saw two separate 3TB hard drives in the disk management, Disk-2 is allowing me to create a GPT parition and Disk-1 is completely unaccessible. Ideally, Windows should have now shown me two separate drives at all in the hardware RAID1 mode. I tried lot of fixes without success, I even tried windows 2012 Essential hoping it might fix the probelm

I than install Windows 7 to check if it is my hardware, and to my surprise it worked, it showed me a one 3 TB drive and allowed me to create a one GPT parition of all full size, I copied some files and tested a fail safe scenario removing single hard drive and restarting and accessing those files.

I have also checked this in WHS 2011 without any problem

I now giving up, I don't understand why windows server 2012 has problem with my 3 TB disks. Windows 7 and WHS 2011 are older and I was thinking they would have problems with my 3 TB hard drives instead, they worked fine and Server 2012 is giving me a trouble, inpiste of being a new windows server OS

Immediate help will be appreciated

Thanks

 

 

Possible issue with DFS and CSC error 80070035

$
0
0

I have a handful of users who have a strange, recurring issue with Offline Files and DFS in Win7 SP1 x64.

We have a DFS root \\domain.local\DFS. Server ukln1fs1 is a root replica, running a fully patched instance of Server 2012 R2. dfsnamespace is a DNS alias of ukln1fs1, and the SPNs for host/dfsnamespace<.domain.local> and cifs/dfsnamespace<.domain.local> are registered with that server.

Clients have the Documents folder redirected by GPO to \\dfsnamespace\DFS\-teamfolder-\-username-\docs and redirection works fine. 

Sometimes when clients are disconnected from the network and then reconnect, or when they start up disconnected from the network and then connect, they are unable to connect to\\dfsnamespace\dfs. They get error 80070035. Clients can connect to\\dfsnamespace fine and to the individual shared within the DFS structure. This affects all users on the computer once it has begun occurring, and the only resolution is to restart the computer whilst connected to the domain.

Kerberos is using TCP (MaxPacketSize 0)

LanManServer & LanManWorkstation signing requirements match (EnableSecuritySignature 1, RequireSecuritySignature 0)

Have used FormatDatabase on the CSC service to rebuild the offline files cache.

Latest hotfixes for Win7 file services and offline files components are installed: KB2775511 (enterprise hotfix rollup), all latest hotfixes from KB2820927 (collection of enterprise hotfixes including offline files and folder redirection components), all latest hotfixes from KB2473205 (file server technology services).

Adapters & bindings order has the SSL VPN adapter at the top followed by the NIC then the wifi adapter. IPv4 is a the higher priority protocol in adapters & bindings.


Robocopy Version XP010 - Excluding Multiple Directories using /XD

$
0
0

I'm attempting to use Robocopy to routinely copy data between 2 servers.  In the file structure being copied there are several folders + their associated sub-folders e.g DfsrPrivate and Projects\Archived for this example I don't want to copy.

 

I've attempted to use the switches  /XD DfsrPrivate /XD Projects\Archived

/XF is also used to exclude all .bak files. (referenced after the 2 /XD switches)

 

This results in the log file header below:


-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows     ::     Version XP010
-------------------------------------------------------------------------------

  Started : Wed Dec 05 00:51:28 2007

   Source : \\[Servername]\Data\
     Dest : D:\Data\

    Files : *.*
    
Exc Files : *.bak
    
 Exc Dirs :  DfsrPrivate
     Projects\Archived
     
     
  Options : *.* /S /E /COPYALL /ZB /MAXAGE:1 /R:10 /W:30

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

 

This results in the DfsrPrivate being excluded but Projects\Archived and all the subfolders below are not.

 

Has any one had experience with trying this, and had success?

SFC error file AMD64

$
0
0

I do not no how to find a good copy of this file to correct errors generated in sfc as unrepairable.

Cannot repair member file [l:36{18}]"Amd64\CNBJ2530.DPB" of prncacla.inf, Version = 6.3.9600.17415, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type = [l:24{12}]"driverUpdate", TypeName neutral, PublicKey neutral in the store, hash mismatch

000005a5 [SR] This component was referenced by [l:166{83}]"Package_2709_for_KB3000850~31bf3856ad364e35~amd64~~6.3.1.8.3000850-6825_neutral_GDR"

Any help out there?  Thanks!

Need help in SMB (445) file sharing and service

$
0
0

Hi All

I have 3 servers in my company and i am Admin of that servers. 

Now i enable the SMB files sharings of one server for my Boss via Sonicwal  and it working perfect. he can access all files from anywhere.

now my problem is there is one folder in shares name " reports " i create that folder as a shortcut of my 2nd ERP server.

Now my boss can able to access all folders accept that folder because its a shortcut of my ERP server.

How i can give him access to that folder. i tried opening port on ERP server firewall (port 135-445) but fail. it gives error that 

"WINDOWS CANNOT ACCESS \\192.168.1.64\REPORTS 
CHECK THE SPELLINGS OF THE NAME. OTHERWISE THERE MIGHT BE A PROBLEM WITH YOUR NETWORK,
TO TRY IDENTIFY AND RESOLVE NETWORK PROBLEMS. CLICK DIAGNOSE"

my boss has administrative rights then why he is not able to access other servers shortcut via SMB. 

Please help me in it because he want me to solve this asap. 

Thanks in advance. 

DFSR 4412 events - but file IS NOT changed on multiple servers. What is happening?

$
0
0

I have a DFSR setup going across 2 AD sites, with file servers in each site and DFSR configured to replicate file shares across both sites. Replication is set to 24/7, 30MB bandwidth limit for each. Both servers are 2012R2.

I am getting 4412 events for some user documents (Word, Excel etc) in their home areas mapped to network drives, where the user is logged in on one machine only, and their files are not being touched as far as I can see on the other site's server. These events tend to come in 'batches' for a specific user or users, and it doesn't correspond to them logging on or off (when GPO maps their home and shared drives)

Can anyone help out here? I would love to understand the algorithm that DFSR is using to generate a 4412 as I really want to get to the bottom of this.

Thanks in advance

 


Unable to create NFS shares on Folder Mounted Volumes

$
0
0

Greetings,

We have a File server (Windows Server 2012R2) with many volumes, each volume is a share. We were running out of drive letters, so we decided to mount all the volumes to a single NTFS folder. Everything works great, except any attempt to create an NFS share fails with error "Server for NFS cannot update the share configuration. Try updating the shared directory again, or delete and recreate the shared directory"
I also get an event ID 2006 from ServicesForNFS-Server. with message: "Failed to create new NFS share for path M:\VOLUMES\<volumename>. Status 0xC00000BB"

If I assign the volume a drive letter, I can share it via NFS just fine.

Any suggestions or clues as to why this happens?

Thank you in advance,

--Jorge


namespace and dfs

$
0
0
Hello good day staff,

I set up NameSpace with DFS between 2 fileservers, the namespace is based on domain.

Replication this functional, the namespace responds normally, my problem is how to map, for the following reason:

  - I created a GPO mapping that maps the path \\registro.local\ documents to F: \

The problem is that some stations map the FileServer01 and the other FileServer02, however I needed mapeasse only FileServer01.

When I rode the FDs I left configured that the main Fileserver would be FileServer01, and I thought about it the mapping would always seek the main server that is the FileServer01, however this does not happen, this well-random, some stations seek the mapping Fileserver01 the other FileServer02.

How do I Setar always mapping to main Filserver, in my case the Fileserver01?

Thank you

2012 R2 Indexing vs. DeDup?

$
0
0

I found some threads on here about Windows Search not working on DeDup volumes? Most of the threads are pre-R2 timeframe so I am checking in to see if there is any updated info on if this was fixed in R2? It seems this is a critical feature if you are using a volume for redirected libraries?

Brian Hoyt

Move DFS namespace to a new server

$
0
0

Right now DFS is installed on a windows 2003 server.  I need to move this function to a new windows 2012 server.  I do not use replication and I do not need to move the files and folders to a new server.  I just need to move DFS to another server so I can shut down the 2003 server. 

I'm not sure how to go about doing this.  I've read a ton of articles, but nothing tells me how to accomplish just the DFS move.  I've installed it to the server, but don't know what to do next.  Can you provide some specific steps that need to be done?  I also want to make sure that my permissions on the files and folders don't change.  One article I was reading made it seem like that might happen.

Run Powershell script with file resource manager

$
0
0

I am running PowerShell script with file resource manager custom option to delete files older than N number of days

The script runs and complete but it is not deleting the file

the same script from power manually it delete the files for N number of days and work

screenshot attached


Muhammad Mehdi

Unable to browse DFSR shares / namespace

$
0
0

Hello

I have an interesting situation that I am trying to get to the bottom of

I have a DFSR namespace setup - and several folder targets configured as part of that namespace. Lets call this\\contoso\dfs\shares

I have two accounts, my standard domain user account, and an administrative account

If I Browse to the DFSR share via my admin account - I can see all shares

\\contoso\dfs\shares\
 - Data 1
 - Data 2
 - Data 3
 - Data 4

If I browse to the DFSR share via my user account - I can only see two of the 4 shares

\\contoso\dfs\shares\
 - Data 1
 - Data 4

If I browse to the share directly using my user account - it works fine

\\contoso\dfs\shares\data 3

 - Some files

I have confirmed that my user account has the following effective permissions on\\contoso\dfs\shares\

Traverse folder / execute file
list folder / read data
Read Extended attributes
Read permissions

I have confirmed that my user account has the same effective permissions on Data 1 / Data 2 / Data 3 and Data 4 subfolders

Traverse folder / execute file
list folder / read data
Read Extended attributes
Read permissions

I don't understand what is stopping my user account from seeing the missing folders from the namespace, when the permissions are the same. The folder targets are not hidden shares

The folder targets are on different servers. I have checked the folder targets on each server and the permissions are set the same

I can confirm that if I browse to \\constoso\dfs\shares and\\contoso.microsoft.com\dfs\shares via my user account that the result is the same

Any assistance in relation to this would be appreciated

Viewing all 13565 articles
Browse latest View live


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