Subject: Re: NFS to Solaris: Value too large for defined data type on 0 sized files
To: David Wetzel <dave@turbocat.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 08/01/2000 21:24:10
On Tue, Aug 01, 2000 at 11:07:42AM +0200, David Wetzel wrote:
> Hi
> 
> I have a problem with some files which I mount from my NetBSD 1.4Z box to an 
> SunOS 5.7 Sparc.
> 
> on the NFS server and my OPENSTEP and MacOS X machines, all is fine:
> 
> alice# ls -l /Net/alice/raid/Users/dave/projects/DKG/App/cancer/LogOutPage.*
> -rw-r--r--  1 dave  wheel  219 Jul  5 16:06 
> /Net/alice/raid/Users/dave/projects/DKG/App/cancer/LogOutPage.h 
> -rw-r--r--  1 dave  wheel  537 Jul  5 18:44 
> /Net/alice/raid/Users/dave/projects/DKG/App/cancer/LogOutPage.m 
> 
> /Net/alice/raid/Users/dave/projects/DKG/App/cancer/LogOutPage.wo:
> total 3
> -rw-r-----  1 dave  wheel  356 Aug  1 10:47 .dir3_0.wmd
> -rw-r--r--  1 dave  wheel   77 Jul  5 14:14 LogOutPage.html
> -rw-r--r--  1 dave  wheel    0 Jul  5 14:14 LogOutPage.wod
> -rw-r--r--  1 dave  wheel   93 Jul  5 14:14 LogOutPage.woo
> 
> 
> But on the Sun:
>  
> [dave@cleopatra cancer]$ ls -l 
> /Net/alice/raid/Users/dave/projects/DKG/App/cancer/LogOutPage.* 
> -rw-r--r--   1 dave          219 Jul  5 16:06 
> /Net/alice/raid/Users/dave/projects/DKG/App/cancer/LogOutPage.h 
> -rw-r--r--   1 dave          537 Jul  5 18:44 
> /Net/alice/raid/Users/dave/projects/DKG/App/cancer/LogOutPage.m 
> 
> ls: 
> /Net/alice/raid/Users/dave/projects/DKG/App/cancer/LogOutPage.wo/LogOutPage.wod: 
> Value too large for defined data type 
> /Net/alice/raid/Users/dave/projects/DKG/App/cancer/LogOutPage.wo:
> total 2
> -rw-r--r--   1 dave           77 Jul  5 14:14 LogOutPage.html
> -rw-r--r--   1 dave           93 Jul  5 14:14 LogOutPage.woo
>  
> 
> It seems that the sun has problems with 0 sized files. I mountet the 
> disk with "mount alice:/raid /Net/alice/raid" 
> Is this wrong?

No, I don't think the issue is with 0 sized files. I can see this on a
Solaris2.7 NFS server with files that are not empty. BTW, this file
wasn't created by a NetBSD client - but they were created before
I upgraded the server to 2.7. It looks like a solaris 2.7 issue ...

--
Manuel Bouyer <bouyer@antioche.eu.org>
--