Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

Robocopy to an FLR enabled file system changes the LastTimeWrite-Date to 02.01.1980

Summary: Migrating data to a Unity FLR enabled file system results in the lastTimeWrite-Date being changed for some files to a time in 1980.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

  1. The command that is used for the copy is similar to: 
robocopy \\x.x.x.x\copyfrom\ \\y.y.y.y\copyTo\sample /COPY:DATSO /W:1 /R:1
Here is an example of the files after being copied:
 
image.png
  1. The customer tried copying from multiple different source devices, but the result is always the same.
  2. During troubleshooting, the following changes were made but the issue was not resolved:
  • Set the param windowsTimeUpdate to 1.
  • Turn on SMB1.0/CIFS File Sharing Support feature on the robocopy host, and reboot the PC:
    • Program and features > Turn Windows features On or off > SMB1.0/CIFS File Sharing Support
    • Usually, in Windows the check box is disabled, Please check and reboot the PC.
  1. Network Traces show a lot of "access denied" responses to SMB SETINFO requests.

Cause

Robocopy is working as designed.
During normal operation, it modifies the mtime twice. First time, it resets the year to 1980. Once the write of the data succeeds, Robocopy then changes the mtime to reflect the correct last modified time.

However, if autolock is enabled when creating the FLR file system, when Robocopy resets the mtime to 1980, it immediately triggers a protected state as WORM_OK, so the file becomes read-only. This makes it impossible for the mtime to be modified the second time around, to reflect the correct last modified time, and "access denied" is logged in the Robocopy report. 

Empty files with 0 bytes are put in an append-only state since FLR thinks there is no data that needs protection. The state is set to WORM_CLEAN, which means the autolock feature does NOT take effect on an empty file by design, so the empty files mtime is as expected.

Resolution

The following workaround allows the mtime to be updated correctly.
  1. Create an FLR file system on the destination array.
  2. Disable Autolock on this file system (option under file system properties).
  3. Robocopy all those files that need FLR protection to the destination array.
  4. Enable Autolock on the destination file system (click the check box).
  5. If new files must be copied to the destination FLR file system, disable Auto-Lock first.
  6. Then Robocopy those files to the destination FLR file system.
  7. Enable Autolock again.

Affected Products

PowerStore, Dell EMC Unity, VNX/VNXe
Article Properties
Article Number: 000187051
Article Type: Solution
Last Modified: 29 Aug 2022
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.