Link to home
Start Free TrialLog in
Avatar of mxgong
mxgongFlag for Australia

asked on

Urgent!! the issue of Characters translation fileNFS Server on Windows

Hi All experts

So far I have the following up & (sort of) running:

    * NFS Server for windows
    * G: drive assigned for NFS shares
    * G:\group <- group information file from a vanilla RHEL installation
    * G:\passwd <- user information file from a vanilla RHEL installation
    * G:\ascii_mappings <- a character mappings file to convert unix supported filename characters to those supproted by NTFS

Here are the problems that I am having:

The mappings file works, sort of ...
But I'm having some problems with it

    * I need to be able to make files with the following characters within the filenames:

      :
      ,
      *

      But when I put the map in the '-' character is being interpretted as a ':' which will make some files useless.

I need help working out the character mappings file so that we preserve the naming of all of the files we copy to NFS or our current backup strategy with Backup server as an NFS server won't really work unless we redesign the backup process


Thanks for your help!
Avatar of Morne Lategan
Morne Lategan
Flag of South Africa image

There are a couple more to lookout for. These are illegal in Windows, so it wont allow them to be written to the filesystem:

\ / : * ? " < > |

Pick another character that you are not using in any file to map the characters with. Maybe some of the extended ascii characters, as provider here:

http://www.asciitable.com/

I assume you already came accross this article:

http://support.microsoft.com/default.aspx?scid=KB;en-us;289627&
Avatar of mxgong

ASKER

Thanks for your reply.

I actually do follow the steps in the support.microsoft. But When I "touch" a file in the linux I can see right filename in the windows, but the filename in linux side also is changed.

for example:

[linux Server] touch abc?abc
[linux Server] ls
abc-abc     <-- I think this should be abc?abc, right?

in widows NFS share folder: abc-abc    <--this is right filename

Please advice.

Thanks
translationfile.txt
 
0x00 0x5c : 0x00 0x2d
0x00 0x3f : 0x00 0x2d

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Morne Lategan
Morne Lategan
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
By the way, you posted for a Windows server in the Linux zone.