Albert Chin wrote:
> We have the following NFS server:
>   Sun X4100, 4GB RAM, OpenSolaris b66
> and the following NFS clients:
>   HP-UX 10.20/PA, 11.00/PA, 11.11/PA, 11.23/PA, 11.23/IA
>
> If I export a ZFS file system on the Solaris host, all HP-UX clients
> can mount and read. The NFS mount options on the HP-UX clients are:
>   hard,intr,rw,bg,nosuid
>
> If I _create_ a file and write to it from the HP-UX clients, no
> problems. If I then append to the same file, the HP-UX client process
> hangs:
>   hp-ux$ su
>   hp-ux# mount -o hard,intr,rw,bg,nosuid b66:/opt/tww /opt/tww
>   hp-ux# mount | grep /opt/tww
>   /opt/tww on b66:/opt/tww nosuid,rsize=32768,wsize=32768,NFSv3,dev=62000009 
> on Tue Jun 19 17:55:38 2007
>   hp-ux$ echo a >/opt/tww/a
>   hp-ux$ echo a >/opt/tww/a
>   [hang]
>
>   hp-ux# mount -o hard,intr,rw,bg,nosuid,proto=udp b66:/opt/tww /opt/tww
>   hp-ux# mount | grep /opt/tww
>   /opt/tww on b66:/opt/tww 
> nosuid,rsize=32768,wsize=32768,proto=udp,NFSv3,dev=6200000a on Tue Jun 19 
> 17:57:49 2007
>   hp-ux$ echo a >/opt/tww/a
>   hp-ux$ echo a >/opt/tww/a
>   [hang]
>
>   hp-ux# mount -o hard,intr,rw,bg,nosuid,vers=2 b66:/opt/tww /opt/tww
>   hp-ux# mount | grep /opt/tww
>   /opt/tww on b66:/opt/tww nosuid,dev=6200000b on Tue Jun 19 17:58:48 2007
>   hp-ux$ echo a >/opt/tww/a
>   hp-ux$ echo a >/opt/tww/a
>
> So, I have to resort to NFSv2 on all HP-UX clients.
>
> Running a snoop on the b66 server, with the HP-UX 11.23/IA client:
>   hp-ux$ echo a >/opt/tww/a
>
>   b66# snoop -d e1000g0 rpc nfs and host hp-ux
>   hp-ux -> b66 NFS C LOOKUP3 FH=25DC a
>   b66 -> hp-ux NFS R LOOKUP3 No such file or directory
>   hp-ux -> b66 NFS C LOOKUP3 FH=25DC a
>   b66 -> hp-ux NFS R LOOKUP3 No such file or directory
>   hp-ux -> b66 NFS C CREATE3 FH=25DC (UNCHECKED) a
>   b66 -> hp-ux NFS R CREATE3 OK FH=5EE1
>   hp-ux -> b66 NFS C WRITE3 FH=5EE1 at 0 for 2 (ASYNC)
>   b66 -> hp-ux NFS R WRITE3 OK 2 (ASYNC)
>   hp-ux -> b66 NFS C COMMIT3 FH=5EE1 at 0 for 32768
>   b66 -> hp-ux NFS R COMMIT3 OK
>
>   hp-ux$ echo a >/opt/tww/a
>   b66# snoop -d e1000g0 rpc nfs and host hp-ux
>   hp-ux -> b66 NFS C GETATTR3 FH=5EE1
>   b66 -> hp-ux NFS R GETATTR3 OK
>   hp-ux -> b66 NFS C GETATTR3 FH=5EE1
>   b66 -> hp-ux NFS R GETATTR3 OK
>   hp-ux -> b66 NFS C SETATTR3 FH=5EE1
>   b66 -> hp-ux NFS R SETATTR3 Update synch mismatch
>   hp-ux -> b66 NFS C GETATTR3 FH=5EE1
>   b66 -> hp-ux NFS R GETATTR3 OK
>   hp-ux -> b66 NFS C SETATTR3 FH=5EE1
>   b66 -> hp-ux NFS R SETATTR3 Update synch mismatch
>   hp-ux -> b66 NFS C GETATTR3 FH=5EE1
>   b66 -> hp-ux NFS R GETATTR3 OK
>   hp-ux -> b66 NFS C SETATTR3 FH=5EE1
>   b66 -> hp-ux NFS R SETATTR3 Update synch mismatch
>   hp-ux -> b66 NFS C GETATTR3 FH=5EE1
>   b66 -> hp-ux NFS R GETATTR3 OK
>   hp-ux -> b66 NFS C SETATTR3 FH=5EE1
>   b66 -> hp-ux NFS R SETATTR3 Update synch mismatch
>   ...
>
>   
You'll get more help on nfs-discuss. I'm pushing this over there and 
leaving a BCC with opensolaris-help.

Reply via email to