Friday, October 30, 2009

Xsan 2.2, SMB, Extended Attributes, and Things Not Quite Working

I was setting up a fresh new Xsan the other day. All the systems were Intel-based, all of them were running Mac OS X 10.6, and we were installing Xsan 2.2. So I enabled Extended Attributes on the volume. So far, so good.

Towards the end of the engagement, I had reason to share a folder on the volume from the NAS bridgehead via SMB. I connected from my MacBook, moved some files back and forth, and all was good. I connected from a Windows XP machine, and tried to copy a file off the volume. The progress bar got just about all the way to the end before it was rudely stopped by an error.

Error Copying File or Folder
Cannot copy FILENAME: Cannot find the specified file.
Make sure you specify the correct path and file name.

I turns out that Windows (XP, at least - I haven't tested on anything else) is not so happy with those extended attributes. No big deal, though. You just have to disable those. If you look in /etc/smb.conf, you'll notice two lines:

stream support = yes
ea support = yes

Just change those both to no. This is the same fix that's required to get roaming profiles to work properly for Windows clients.

No comments:

Post a Comment