Unable to copy certain files from Windows to FreeNAS
My FreeNAS server is set up and connected to my Windows domain. I'm copying files from the old Windows 2003 server, and most of the files copy without a problem. However, there are certain files (PSD files) which cannot be copied to FreeNAS no matter what permissions I set. Other files in the same source and destination folders can be copied without any problems. I've followed the instructions from standard guides, and I just can't figure it out. Here's what I've tried.
List of what doesn't work:
- Removing all permissions from source file, changing ownership, adding explicit permissions
- Resetting permissions on the destination
- Creating a fresh dataset, setting full control permissions for everyone
- copy, xcopy, robocopy /b
List of what does work:
- Copying other files from the same source to the same destination (but not these specific files)
- Copying the file to a FAT filesystem, then copying to FreeNAS
- Right-click, Properties, Details, then Remove Properties and Personal Information (now the file will copy)
What the heck? I thought the Properties and Personal Information was only info within the file, not filesystem data. Something is very strange about this.
#6 Updated by John Hixson over 3 years ago
I do see in the logs failure on psd files with quota errors:
sys_get_vfs_quota() failed for mntpath[2016/AAS - Aldridge and Sutherland/Jobs/2011/11-AAS-002_charleson_village_signkit/des_4x12_banner/concepts/photo - Copy.psd] bdev[(null)] qtype id[-1]: Operation not supported
Try adding the default_quota module to your VFS objects: sharing->windows->[share]->advanced mode->VFS objects
#8 Updated by John Hixson over 3 years ago
Joseph Miller wrote:
Adding default_quota doesn't help. However, removing streams_xattr fixes the problem. Should I just remove it, or should I be worried that I'll lose some necessary functionality?
Once you copy everything over, you can add it back. This module stores alternate stream in extended attributes. I'm not clear on why it fixes the issue for you, unless the files you are copying already have large alternate data streams stored, which would make sense as to why it is failing.