• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

NFS: no character set conversion Novell nw6 sp5 ->Linux Suse v8 for the file names

That is the same question that the one named "Solution Title: NFS: no character set conversion Novell->UNIX for the file names", but there were no solution for this question and I encouter the same problem :
I have a nfs partition on a netware 6 sp5 as server.
I mount a nfs partition on a Suse Linux v8 as client..
When I read the nfs mounted partition on Suse, I have all my "à é è ù ..."  characters changed in "?".
Here is the result of the locale command :
LANG=posix
LC_LTYPE=fr_FR@euro
....=posix

How can I see the corrects characters ?

Thanks a lot.
0
monneal
Asked:
monneal
  • 5
  • 4
1 Solution
 
PsiCopCommented:
Ah, you're referring to --> http://www.experts-exchange.com/Networking/Unix_Networking/Q_20680431.html

I remember that.

As ShineOn pointed out in the original Question, NetWare's NFS support conforms to the NFS standard and uses UniCode.

What is the result of --> locale -m
0
 
ahoffmannCommented:
> When I read the nfs mounted partition on Suse, I have all my "à é è ù ..."  characters changed in "?".
where dou you get the "?", which program or application?
0
 
monnealAuthor Commented:
When I make a simple ls -l, I have this kind of response :
d---------    1 root     bin          4096 Apr 26 10:20 Moyens G?n?raux
d---------    1 root     bin          4096 Apr 27 11:19 Suivi R?unions
This server will be used as a bacula server to save diiferent kind of data. Therefore we need to have the correct spelling data to be able to restore it same as original.

When I make a locale -m I have this result :  # locale -m
ANSI_X3.110-1983
ANSI_X3.4-1968
ASMO_449
BIG5
BIG5-HKSCS
BS_4730
BS_VIEWDATA
CP10007
CP1250
CP1251
CP1252
CP1253
CP1254
CP1255
CP1256
CP1257
CP1258
CP737
CP775
CP949
CSA_Z243.4-1985-1
CSA_Z243.4-1985-2
CSA_Z243.4-1985-GR
CSN_369103
CWI
DEC-MCS
DIN_66003
DS_2089
EBCDIC-AT-DE
EBCDIC-AT-DE-A
EBCDIC-CA-FR
EBCDIC-DK-NO
EBCDIC-DK-NO-A
EBCDIC-ES
EBCDIC-ES-A
EBCDIC-ES-S
EBCDIC-FI-SE
EBCDIC-FI-SE-A
EBCDIC-FR
EBCDIC-IS-FRISS
EBCDIC-IT
EBCDIC-PT
EBCDIC-UK
EBCDIC-US
ECMA-CYRILLIC
ES
ES2
EUC-JP
EUC-KR
EUC-TW
GB18030
GB2312
GBK
GB_1988-80
GEORGIAN-ACADEMY
GEORGIAN-PS
GOST_19768-74
GREEK-CCITT
GREEK7
GREEK7-OLD
HP-ROMAN8
IBM037
IBM038
IBM1004
IBM1026
IBM1047
IBM256
IBM273
IBM274
IBM275
IBM277
IBM278
IBM280
IBM281
IBM284
IBM285
IBM290
IBM297
IBM420
IBM423
IBM424
IBM437
IBM500
IBM850
IBM851
IBM852
IBM855
IBM857
IBM860
IBM861
IBM862
IBM863
IBM864
IBM865
IBM866
IBM868
IBM869
IBM870
IBM871
IBM874
IBM875
IBM880
IBM891
IBM903
IBM904
IBM905
IBM918
IEC_P27-1
INIS
INIS-8
INIS-CYRILLIC
INVARIANT
ISIRI-3342
ISO-8859-1
ISO-8859-10
ISO-8859-13
ISO-8859-14
ISO-8859-15
ISO-8859-16
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-6
ISO-8859-7
ISO-8859-8
ISO-8859-9
ISO-IR-197
ISO-IR-209
ISO-IR-90
ISO_10367-BOX
ISO_10646
ISO_2033-1983
ISO_5427
ISO_5427-EXT
ISO_5428
ISO_646.BASIC
ISO_646.IRV
ISO_6937
ISO_6937-2-25
ISO_6937-2-ADD
ISO_8859-1,GL
ISO_8859-SUPP
IT
JIS_C6220-1969-JP
JIS_C6220-1969-RO
JIS_C6229-1984-A
JIS_C6229-1984-B
JIS_C6229-1984-B-ADD
JIS_C6229-1984-HAND
JIS_C6229-1984-HAND-ADD
JIS_C6229-1984-KANA
JIS_X0201
JOHAB
JUS_I.B1.002
JUS_I.B1.003-MAC
JUS_I.B1.003-SERB
KOI-8
KOI8-R
KOI8-T
KOI8-U
KSC5636
LATIN-GREEK
LATIN-GREEK-1
MAC-CYRILLIC
MAC-IS
MAC-SAMI
MAC-UK
MACINTOSH
MSZ_7795.3
NATS-DANO
NATS-DANO-ADD
NATS-SEFI
NATS-SEFI-ADD
NC_NC00-10
NEXTSTEP
NF_Z_62-010
NF_Z_62-010_(1973)
NF_Z_62-010_1973
NS_4551-1
NS_4551-2
PT
PT2
SAMI
SAMI-WS2
SEN_850200_B
SEN_850200_C
SHIFT_JIS
T.101-G2
T.61-7BIT
T.61-8BIT
TIS-620
UTF-8
VIDEOTEX-SUPPL
VISCII
WIN-SAMI-2
Nas:~ #
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
ahoffmannCommented:
this is a problem in your shell
try to set the LANG enviroment variable, or each of the LC_* environment variables (see man locale), like
  LC_CTYPE=fr_FR.ISO-8859-15

keep in mind that your other applications may also rely on a proper LANG environment variable
0
 
monnealAuthor Commented:
Thanks for your response but it doesnt work. Here is the result of the locale command :
Nas:/home/nfs/services # locale
LANG=fr_FR.ISO-8859-15
LC_CTYPE=fr_FR@euro
LC_NUMERIC="fr_FR.ISO-8859-15"
LC_TIME="fr_FR.ISO-8859-15"
LC_COLLATE="fr_FR.ISO-8859-15"
LC_MONETARY="fr_FR.ISO-8859-15"
LC_MESSAGES="fr_FR.ISO-8859-15"
LC_PAPER="fr_FR.ISO-8859-15"
LC_NAME="fr_FR.ISO-8859-15"
LC_ADDRESS="fr_FR.ISO-8859-15"
LC_TELEPHONE="fr_FR.ISO-8859-15"
LC_MEASUREMENT="fr_FR.ISO-8859-15"
LC_IDENTIFICATION="fr_FR.ISO-8859-15"

and here the result of the mount command (without the IP address) :
Nas:/home/nfs/services # mount
/dev/sdb2 on / type reiserfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
shmfs on /dev/shm type shm (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
1_______1:/VOL1/APPS on /home/nfs/apps type nfs (rw,addr=1_______1)
1_______1:/VOL3/Outils on /home/nfs/outils type nfs (rw,addr=1_______1)
1_______1:/VOL1/DATA/Services on /home/nfs/services type nfs (rw,addr=1_______1)
LC_ALL="fr_FR.ISO-8859-15"

 and the result of a new ls command :
CDTI     DIT                                   Moyens G?n?raux
DDTEC    Documentation                         Suivi R?unions
0
 
ahoffmannCommented:
can you please post result of:

  ls Moyen* |od -ch
0
 
monnealAuthor Commented:
0000300   n   s  \n   M   A   R   C   H   E   S  \n   M   o   y   e   n
        736e 4d0a 5241 4843 5345 4d0a 796f 6e65
0000320   s       G 202   n 202   r   a   u   x  \n   N   o   u   v   e
        2073 8247 826e 6172 7875 4e0a 756f 6576
0000340   a   u       d   o   s   s   i   e   r  \n   S   E   C   R   E
        7561 6420 736f 6973 7265 530a 4345 4552
0
 
ahoffmannCommented:
aha, I see the name should look like:
  Moyens Générau

The problem is that you probably created the files with a M$ client which uses characters from codepages (probably 852).
This method is incompatible with Unix's method of using ISO-Latin charsets.
Either you need look at the partition through SMB (for example with Samba), or you enshure that the clients create filenames with a reliable charset known to all other clients too.
0
 
monnealAuthor Commented:
Thanks a lot. I try samba now if there is no way to use nfs.
0
 
ahoffmannCommented:
it's not a NFS problem! NFS is completely transparent for that.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now