Weird problem with NCP/novell clustered vol. Directories are there, but not files!
I have a very strange problem with a mounted NCP share (remote Novell clustered volume).
Directories are there, but not files! I mount the share with autofs, but the same happens with mount, or directly with ncpmount. Example mount command: Code:
mount -t ncp -o tcp,ipserver=SERVER,volume=VOL,multiple,uid=501,gid=500,filemode=0664,dirmode=0775,passwd=PW,codepage=cp850,iocharset=utf8 SERVER/USER test/ A “find -noleaf ! -type d” in test/ returns nothing. Stranger still: I can create and delete a file but I don't see it happen! Example: I ran “touch test/SOME/DIR/test_file”, and a coworker on Windows could see the file, but I could not! And I ran “rm -f test/SOME/DIR/test_file” and my co-worker reported to me that the file disappeared! Neither command gave any error. I don't know if that's any help, but here's some more information. Where I work, we were previously using Novell from server NV1, and now data is being moved to clustered volumes on server NV2. On Windows boot, here's the current login log: Code:
Contexte actuel : CO.NTE.XT Code:
NV2 -fstype=ncpfs,tcp,ipserver=NV2,volume=data,multiple,uid=501,gid=500,filemode=0664,dirmode=0775,passwd=PW,codepage=cp850,iocharset=utf8 :NV2/USER.CO.NTE.XT NV1 works OK. NV2 does not: I see directories, but no files, although I have access to them. For example, I could open a PDF file I knew was there (gnome-open /path/to/file.pdf), even though I could not see the file! As told before, I can also (blindly) create and delete files. Yves. |
1. use slist to see all the server
2. try ncpmount -S SERVERNAME -U USERNAME -P PASSWORD -p cp850 -C TARGETDIR -u LOCALUSERNAME -m -i2 |
Thank you for your answer, saavik.
Here is some more information. On the IP side, both machines are seen: Code:
[yves@work ~]$ ping N1 On the NCP side of things, though, N2 is unknown, which is no surprise because I've read that clustered volumes only work in IP mode because they use a capability of IP that the Novell protocol does not have: Code:
[root@work ~]# slist Here's the result of the test you suggested, and another test I did based on it: Code:
[root@work ~]# ncpmount -S N2 -U USER.CO.NTE.XT -P PW -p cp850 -C data -u yves -m -i2 test/ As for the “volume=” mount option, it is because I've read that this option is mandatory for clustered volumes, unless you want to see the administration volume (or something like that; I'm far from an expert in this area); for non-clustered volumes, ncpfs' default without this option is to mount all volumes (as sub-directories) under a single mount-point. And indeed, until I added this option, the contents of N2's mount point would remain “_admin/” and “sys/”, which has nothing to do with the contents I need. Yves. |
Trying to solve this by myself, I tried and logged to the Novell machines in a way as close as possible to what Windows PCs do.
I tried to mimick what a Windows user sees on their Novell login window, as well as the sequence of operations: first login, then map the drives. So I tried this: Code:
ncplogin -T TREE -X CO.NTE.XT -E -U USER.CO.NTE.XT -u 501 -g 500 -P PW -f 0664 -d 0775 -y utf8 -p cp850 -i 3 Code:
ncplogin -S NV2 -A NV2 -o tcp -X CO.NTE.XT -E -U USER.CO.NTE.XT -u 501 -g 500 -P PW -f 0664 -d 0775 -y utf8 -p cp850 Anyway, whatever the commands I use, I still get the same result: I can browse directories, create, open and delete files, BUT I cannot browse files (see them in Nautilus or command-line)… And ncpfs hasn't got a web site, and wasn't updated since 2005. This is getting depressing. Yves. |
Where I work, I recently set up a server with SLES SP2 and OES2 SP1b to test using ncpmount to access ncp shares, and ran into this very problem.
It's not really a good solution, but a little birdy (engineer) told me that one the newer novell-ncpenc rpms (around version 5.1.3) broke the ability of ncpfs to see files. I haven't tested it yet myself, but hopefully helps you out. |
All times are GMT -5. The time now is 12:04 PM. |