Issue with special character in NFS shares

Hello,

I run a Ubuntu 10.04 server for serving my files via NFS. I have no problems mounting the NFS shares in my iMac (OS X 10.6.3). I can access all files, even the ones containing special characters in their names. I can copy, create, move them with no problem, both on Finder and on the Terminal.

The problem comes when I try to synchronize or backup files using backup tools. Files with accents in their names (á, é, ã, ç, etc) are simply ignored by the backup/sync tools I am using. I could reproduce the problem in different softwares like "ChronoSync" and "File Synchronization". Accents are a must have in my network.

I saw in other posts in this forum that there might be some incompatibilities with Unicode and special chars while using Mac OS X as a NFS client for a Linux NFS server. What strikes me is that Finder and Terminal work just OK.

Any clue?

Some details of my NFS configuration:

/etc/exports on my server:
/mnt/disco01 10.209.1.0/24(rw,sync,no subtree_check,anonuid=1000,anongid=1000,allsquash)
/mnt/disco02 10.209.1.0/24(rw,sync,no subtree_check,anonuid=1000,anongid=1000,allsquash)
/mnt/disco03 10.209.1.0/24(rw,sync,no subtree_check,anonuid=1000,anongid=1000,allsquash)
/mnt/disco04 10.209.1.0/24(rw,sync,no subtree_check,anonuid=1000,anongid=1000,allsquash)

On my iMac I moount them like this using Disk Utility's NFS tool:
URL: nfs://servidor/mnt/disco01
Mount point: /Network/disco01
Options: -P nosuid


Thanks for any help you can give me.

iMac, Mac OS X (10.6.3)

Posted on Aug 3, 2010 5:08 AM

Reply
7 replies
Sort By: 

Aug 3, 2010 4:29 PM in response to rbonon

Well, I dug a little further and got a solution, although It make no sense to me.

So, the scenario is:

server URL: nfs://server/mnt/disco01
mount point: /Network/disco01

I was trying to synchronize a folder from the server called /Network/disco01/Música (meaning music in Portugueses) to a local folder /Users/shared/Música. I would use ChronoSync to keep the folders in sync, mirroring the NFS share to the local folder. ChronoSync was ignoring the folder.

After not being able to copy using the ChronoSync tool, I tried to copy the folder via the Finder. I could browse the nfs share using the finder, but not copy the files the local folder.

While trying to copy, I use Cmd-C then Cmd-V in the /User/shared/ folder. I noticed that first the Finder named the folder "Music" and then some instants after if would refuse to copy. Very strange.

I first renamed the "Música" folder on the NFS share to "Músicas", then everything worked allright, even Chronosync. Turns out that Música is the name of one of the system folder OS X creates on the user's home folder. It is actually a translation to the underlying name Music.

Why it was interfering with the copy of totally unrelated NFS and local folders I can really not understand.

More interesting, afterwards I renamed the NFS folder again to Música (without s) and it kept working.

I am happy now, but I have no clue as to why there was the problem, and why it got solved.

Hope this helps somebody in a similar situation.
Reply

Aug 3, 2010 4:36 PM in response to rbonon

rbonon wrote:
More interesting, afterwards I renamed the NFS folder again to Música (without s) and it kept working.

I am happy now, but I have no clue as to why there was the problem, and why it got solved.

Hope this helps somebody in a similar situation.


Weird problem. Keep an Eye on it and don't forget about the logs in /Applications/Utilities/Console and see if something is reporting a fault.
Reply

Aug 4, 2010 7:32 PM in response to satcomer

Dug a little futher, and can shortly summarize the problem:

When mounting NFS share in Mac OS X, preexisting folder/files with accents in their names are ignored in finder. If you rename them using Finder, even using afterwards the same name (with accents and all), Finder will recognize.

It seems that there is some underlying Unicode stuff that is not going well between NFS server and the Mac OS X NFS client.

Example: Folder named Música on server. I cannot create subfolders in it. If I rename it in Finder to "Músicas" and then back again to "Música", then all goes well.

As I am using my server sharing files between Linux and Mac clients, that is pretty much a no-go for NFS on my Mac.

Any body can help?

Thanks!
Reply

Aug 4, 2010 7:56 PM in response to rbonon

Looks like Mac OS X + NFS + Accents cannot play together :/

http://discussions.info.apple.com/message.jspa?messageID=10179275

No good choice for me on file sharing between Linux and Mac OS X:

netatalk/AFP: litters my server with Mac OS hidden files + I am experiencing instabilities;
NFS: no-go for accents
SMB: all work well, but slow
Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Issue with special character in NFS shares

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.