Project

General

Profile

Bug #23549

Unable to copy certain files from Windows to FreeNAS

Added by Joseph Miller over 3 years ago. Updated about 3 years ago.

Status:
Closed: Not To Be Fixed
Priority:
No priority
Assignee:
John Hixson
Category:
OS
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

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.

History

#1 Updated by Joseph Miller over 3 years ago

  • File debug-freenas-20170424185640.txz added

#2 Updated by Joseph Miller over 3 years ago

I should have specified that the error message I receive is "Access Denied."

#3 Updated by William Grzybowski over 3 years ago

  • Assignee changed from William Grzybowski to John Hixson

This is John's area of expertise ;)

#4 Updated by John Hixson over 3 years ago

  • Status changed from Unscreened to Screened
  • Target version set to 11.0

#5 Updated by John Hixson over 3 years ago

  • Status changed from Screened to 15

while you state what type of files aren't copying, you do not state what share you are having these failures on. Can you please include more details?

#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[1] - Copy.psd] bdev[(null)] qtype[1] id[-1]: Operation not supported

Try adding the default_quota module to your VFS objects: sharing->windows->[share]->advanced mode->VFS objects

#7 Updated by Joseph Miller over 3 years ago

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?

#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.

#9 Updated by John Hixson over 3 years ago

  • Status changed from 15 to Screened
  • Target version changed from 11.0 to 11.1

#10 Updated by John Hixson over 3 years ago

  • Status changed from Screened to Closed: Not To Be Fixed

#11 Avatar?id=14398&size=24x24 Updated by Kris Moore about 3 years ago

  • Seen in changed from Unspecified to N/A

#12 Updated by Dru Lavigne about 3 years ago

  • File deleted (debug-freenas-20170424185640.txz)

#13 Updated by Dru Lavigne about 3 years ago

  • Target version changed from 11.1 to N/A
  • Private changed from Yes to No

Also available in: Atom PDF