[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linux server, Solaris client, weird stuff...





I have a mixed network here, since were a software company that does ports
to random *ix flavours. I had my NFS instabilities in the past but I now
have the entire computer (funny) farm stabilized mounting through a mix of
autofs and AMD from a single Linux RH 4.2 machine (all NFS-related
official updates implemented, bare kernel 2.0.33). 

the problem manifests itself on all of my four Solaris machines. I have a 2.6,
two 2.5.1s and one Fujitsu HAL machine with a 64-bit special version of
2.4. also happens on SunOS.

AIX, and linux are not effected. DEC and HP not tested yet.

description:
------------

files in directories turn to X-files when moving around. the inode information
is not kept when changing the name of the directory (that's the most common
occurance, it's especially annoying when it pops up randomly during a compile.

my description is a bit lame and unprofessional, so here's the demo without
further ado. I'm on a Solaris 2.5.1 machine, in a directory mounted from a
Linux machine:

[root@magnet temp]$ mkdir 1
[root@magnet temp]$ cd 1
[root@magnet 1]$ touch 1 2
[root@magnet 1]$ ls -l
total 0
-rw-r--r--   1 root            0 Apr 20 16:12 1
-rw-r--r--   1 root            0 Apr 20 16:12 2
[root@magnet 1]$ cd ..
[root@magnet temp]$ mv 1 2
[root@magnet temp]$ ls 2
1       2
[root@magnet temp]$ ls -l 2
2/1 not found
2/2 not found
total 0
[root@magnet temp]$ cd 2
[root@magnet 2]$ ls -la
1 not found
2 not found
total 2
drwxr-xr-x   2 root         1024 Apr 20 16:12 .
drwxr-xr-x   3 root         1024 Apr 20 16:12 ..
[root@magnet 2]$ touch 3
[root@magnet 2]$ ls -la
total 2
drwxr-xr-x   2 root         1024 Apr 20 16:13 .
drwxr-xr-x   3 root         1024 Apr 20 16:12 ..
-rw-r--r--   1 root            0 Apr 20 16:12 1
-rw-r--r--   1 root            0 Apr 20 16:12 2
-rw-r--r--   1 root            0 Apr 20 16:13 3

basically, the inodes don't get updated in sync or something. can you all
recreate this? will the new beta kernel's handling of directories change this?


TIA, Ira