Windows accessing CIFS share with Meta Information warning/error in log
Description
Problem/Justification
Impact
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity

William Gryzbowski January 22, 2020 at 4:40 PM
Hello,
Thanks for your report but we feel there is nothing actionable for us here.
Also you probably should not be sharing via SMB and NFS simultaneously, if you rely on alternate datastreams.

Peter Freitag January 21, 2020 at 3:04 PM
requested debug file

Former user January 21, 2020 at 2:14 PM
One additional note: This may also be Windows NFS Client doing something out of standard procedure, maybe in conjunction with DirectoryOpus. After testing it a bit today I found it has quite a few unregularities when accessing NFS shares. Sometimes the network screen shows only NFS shares, sometimes it also shows Samba shares. Setting metadata did not trigger the mount fail message but sometimes when switching folders in NFS it happened. I had asked the support of DirectoryOpus and they mentioned that the colon notation (with the additional byte after it) was standard windows notation for handling alternate data streams in NTFS and noted that I should probably report the issue here.

William Gryzbowski January 21, 2020 at 2:13 PM
I am sorry but then this seems like a problem outside of FreeNAS scope.
FreeNAS simply log failed mount attempts, how clients choose to use it seems outside of our control.

Former user January 21, 2020 at 1:58 PMEdited
On the client side there was no indication of any error but my freenas logs were full with those messages. Though I cannot surely tell if there might have been some missing meta information (Directory Opus (the file manager) seems to only use them for storing cosmetic changes like file colour). Also I am not really able to reliably reproduce it (edit: with directory opus that is). Possibly a windows nfs client could try to get Alternate Data Streams from a NFS folder accessed via \\hostnameoffreenas\path to trigger that, but that is a bit outside of my expertise.
Details
Details
Assignee

Reporter

I have a setup with a few datasets that are shared via SMB (some via NFS, too). My File Explorer in Windows is Directory Opus which extensively uses Alternate Data Streams via NTFS. The shares config all have the required feature enabled (streams_xattr, zfsacl). Metadata seems to work inside the shares but for the root folder of the share the log shows errors such as
Jan 20 06:25:15 freenas mountd[2580]: mount request from **** for non existent path /mnt/Omni/Samba:OpusMetaInformation
It seems that apparently Samba seems to misinterpret that as a path and tries to access it. However this should be interpreted as /mnt/Omni/Samba's Alternate Data Stream "OpusMetaInformation"