XSAN 4: smb share does not let me read/write files under windows

BlackF1re's picture

Good Evening Sanity users.
I recently setup an Xsan 4 Full yosemite 10.10.1 with OS X Server 4.0.3
The MDC1 and 2 are properly configured as DNS and OD master and Replica

Every workstation access to the San with an "Edit" user with ID 502
The resharing in AFP and SMB is done by a simple local user named "share", always with ID 502. No special permissions. The simplest of the simplest.

The network resharing in SMB connected from a Mac works flawlessly. I can mount the Volume, read and write everything without issues.

The network connection from a windows machine is causing me troubles.
I can access the Volume with the user "share"
I can see all the files
I can access and create folders, and also delete folders (if empty)
BUT
I canNOT copy files inside the Xsan volume, not to nor from.
It appears the progression bar on windows that he's copying, but always not moving, and generate a file of 0kb. I do not receive any error message.
No denied access, no errors at all.
No firewall, no antivirus running, tested on Windows 7, 8 and 8.1

Same result connecting with Admin account 501

Almost forgot: The Xsan Volume got Extended Attributes in status: DISABLED
Could it be this the problem? (I always kept them disabled for compatibility problems)
Could it be that now they are mandatory?

Do you have any idea for this issues?

I've always shared an Xsan volume till Maverick 10.9.5 without issues, and now this.
Could it be an OD problem?

Thanks you very much for your time

BlackF1re's picture

Update:

Recreated the volume with native extended attributes enabled.

Still not working

Personal Website: http://gabriele-zanon.branded.me
Twitter: @GabrieleZanon83
Linkedin: https://it.linkedin.com/in/neverimpossible

BlackF1re's picture

It looks like this problem is only for the Xsan Volume

If i share a local folder from the same server, with the same preferences, Windows does not have any problem in read and write.

The only difference that comes in my mind till now, that can cause the problem, is the OD, but no mac client or windows joined the OD, and while the Mac sharing in smb works correctly, the windows got problems......

Personal Website: http://gabriele-zanon.branded.me
Twitter: @GabrieleZanon83
Linkedin: https://it.linkedin.com/in/neverimpossible

TheFridge's picture

We're experiencing the same problems at this moment. Just upgraded to XSAN 4 (Yosemite 10.10.1 - Server 4.0.3). All regular DAS shares work fine in Windows. Our SMB reshared SAN volume has the same issues as described: we can connect, browse, create and delete folders.
The windows client is not able to copy files from and to.

Any updates in regards to this issue?

BlackF1re's picture

Tried also the settings explained in the following Apple topic:

https://discussions.apple.com/thread/6613032

Modifying the setting mentioned i can gain or not the access to the share, but the problem is still there.

I keep testing, but it would be nice an answer from Apple about the issue (ok, you can start laughing)

Personal Website: http://gabriele-zanon.branded.me
Twitter: @GabrieleZanon83
Linkedin: https://it.linkedin.com/in/neverimpossible

abstractrude's picture

File a bug report. Be specific. The xsan guys will see it.
Have u tried setting a different smb version on windows?

-Trevor Carlson
THUMBWAR

BlackF1re's picture

Hello Abstractrude.

Today i've tried exactly what you just said.

using the commands described here:
http://kb.bodhost.com/steps-to-enable-and-disable-smbv1-smbv2-and-smbv3-...

I've forced the deactivation of SMB 2 and 3, leaving only SMB 1 active:

Open the command line (as administrator) on the windows machine.

To disable the SMBv2 and SMBv3 on the SMB client, use the below commands:

sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi
sc.exe config mrxsmb20 start= disabled

Enable the SMBv1 on the SMB client with the below commands (if, for any reason, is not already running):

sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb10 start= auto

In this mode, the smb share of the xsan volume works properly.
No way instead with smb 2 and 3.

Tested on both Windows 7 and 8, the good old SMB 1 is functioning.

The incredible thing is this problem only affects Xsan volumes, while DAS volumes works properly in SMB 2 and 3 on windows.

That's why i'm not so sure it may be only an SMB 3 share issue, but also something related to the OD.

I'll keep you posted on this.

Meantime, i hope i've been of some help.

Personal Website: http://gabriele-zanon.branded.me
Twitter: @GabrieleZanon83
Linkedin: https://it.linkedin.com/in/neverimpossible

BlackF1re's picture

Don't forget to reboot the windows workstation after using these commands.

Personal Website: http://gabriele-zanon.branded.me
Twitter: @GabrieleZanon83
Linkedin: https://it.linkedin.com/in/neverimpossible

abstractrude's picture

Glad it helped. Yeah file a bug report. OS X SMB is a disaster.

-Trevor Carlson
THUMBWAR

neile1's picture

Hi,

I'm about to upgrade to El Capitan and wondering if you guys have new info with the SMB re-share of Xsan?