Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 1998 08:06:10 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Paul van der Zwan <paulz@trantor.stuyts.nl>
Cc:        current@FreeBSD.ORG
Subject:   Re: Weird NFS error using Solaris 7 server 
Message-ID:  <199811281606.IAA00888@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 23 Nov 1998 21:22:30 %2B0100." <199811232022.VAA00480@trantor.stuyts.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> When I try to create a file on a FS mounted from  my Sparc 5 running Solaris 7
> I get the following error:
> [21:14:42 trantor:paulz:/mnt/var/tmp]
> $ touch a
> touch: a: Inappropriate file type or format

Interesting.

> However if I ktrace the command a ktrace.out gets created.
> 
> Part of kdump output follows:
>    428 touch    CALL  gettimeofday(0xefbfd598,0)
>    428 touch    RET   gettimeofday 0
>    428 touch    CALL  stat(0xefbfd746,0xefbfd5a8)
>    428 touch    NAMI  "a"
>    428 touch    RET   stat -1 errno 2 No such file or directory
>    428 touch    CALL  open(0xefbfd746,0x201,0x1b6)
>    428 touch    NAMI  "a"
>    428 touch    RET   open -1 errno 79 Inappropriate file type or format
>    428 touch    CALL  write(0x2,0xefbfce04,0x7)
> 
> Snoop on the Sparc shows the offending(?) request and the response:
> 
> ________________________________
>      trantor -> seldon       ETHER Type=0800 (IP), size = 238 bytes
>      trantor -> seldon       IP  D=192.168.200.3 S=192.168.200.2 LEN=224, ID=134
>      trantor -> seldon       TCP D=2049 S=1017     Ack=171713445 Seq=11856676 Len=184 Win=17200
>      trantor -> seldon       RPC C XID=1902072876 PROG=100003 (NFS) VERS=3 PROC=8
>      trantor -> seldon       NFS C CREATE3 FH=B22A (UNCHECKED) a
> ________________________________
>       seldon -> trantor      ETHER Type=0800 (IP), size = 202 bytes
>       seldon -> trantor      IP  D=192.168.200.2 S=192.168.200.3 LEN=188, ID=59051
>       seldon -> trantor      TCP D=1017 S=2049     Ack=11856860 Seq=171713445 Len=148 Win=8760
>       seldon -> trantor      RPC R (#137) XID=1902072876 Success
>       seldon -> trantor      NFS R CREATE3 (unknown error)
> ________________________________
> 
> Anybody any idea ??

Looks like a problem on the Solaris box; 'unknown error' is pretty 
useless.  8(

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811281606.IAA00888>