cannot stat file, invalid argument

From: patrik.koch@philips.com
Date: Fri Mar 28 2003 - 07:44:43 EST


I've just stumbled on a strange file system problem. I've never seen something similar before.

A colleague has just reported file access problems for 4 files lying on our SUN cluster (cluster 3.0, Solaris 8,
HA-NFS) that were created via samba (WinWord).
On a local cluster node I see e.g with "ls -l" strange modification and access times (e.g. 1953 or 1961) for the
related files, and I can copy, touch, ... the files.

On a differnt Solaris 8 machine access via NFS to these files doesn't work:
"ls" of the directory shows the file name, but "ls file.doc" or "ls -l" results in "file.doc: Invalid argument"

"truss ls file.doc" shows at the end:
lstat64("file.doc", 0x......) ERR#22 EINVAL

whereas on the cluster node "truss ls file.doc" ends with
lstat64("file.doc", 0x......) = 0
ioctl(1, TCGETA, 0x....) = 0

touch over NFS: "touch file.doc" -> touch: file.doc cannot stat
and "truss touch file.doc" shows
stat64("file.doc", 0x.....) ERR#22 EINVAL

It's not a question of permissions because directory and files have permission rwxrwxrwx.
And no further ACL is set.
I think it's pure NFS related.

Any hints? As said before I've never had such a problem before. System setup is alright and working
for hundred users. Just these four files,and I don't know how to debug the problem.

Regards,

Patrik
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:05 EDT