• Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment,  Xsan

    MDSChannelPeerCreate and Shared Volumes

    These two errors: com.apple.AppleFileServer[8123] MDSChannelPeerCreate: (os/kern) invalid argument MDSChannelPeerRef MDSChannelPeerCreate(CFAllocatorRef, CFDictionaryRef): (os/kern) invalid argument I see them frequently when we’re using dynamic or shared storage (e.g. Xsan or removable media) to share volumes between multiple computers and then share those shared volumes to clients through a network sharing protocol (e.g. afp or smb). They usually mean that the system doesn’t have enough permissions to do those MDSChannelPeerCreate processes. Therefore, we need to open those permissions up a little and then let the file sharing services restart. I usually do it this way: serveradmin stop afp serveradmin stop smb chown -R root:staff /Volumes/VOLUMENAME/.fseventsd chmod -R 770 /Volumes/VOLUMENAME/.fseventsd chown -R root:staff /Volumes/VOLUMENAME/.Spotlight-V100…