Subject: Re: nfs in i386-current is still kind of broken, isn't it?
To: ober <ober@linbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 05/23/2006 09:52:41
Well, I don't see anything.

Here's what I did on my client:

htodd@anna:~ > sudo mount kerry:/home/htodd/netbsd-trees/src /usr/src
mount_nfs: can't access /home/htodd/netbsd-trees/src: Permission denied
Exit 1
htodd@anna:~ > cp /usr/pkgsrc/README .
htodd@anna:~ > sudo mount kerry:/home/htodd/netbsd-trees/src /usr/src
mount_nfs: can't access /home/htodd/netbsd-trees/src: Permission denied
Exit 1
htodd@anna:~ >

Here's the output:
client

htodd@anna:~ > tcpdump -r TRACE.nfs
reading from file TRACE.nfs, link-type EN10MB (Ethernet)
09:49:09.750494 IP anna.i8u.org.663314153 > kerry.i8u.org.nfs: 104 access fh 0,6/1931 0001
09:49:09.776869 IP kerry.i8u.org.nfs > anna.i8u.org.663314153: reply ok 120 access c 0001
09:49:09.777455 IP anna.i8u.org.663314154 > kerry.i8u.org.nfs: 100 getattr fh 0,6/1931
09:49:09.777716 IP kerry.i8u.org.nfs > anna.i8u.org.663314154: reply ok 112 getattr DIR 755 ids 1000/100 sz 0x600
09:49:09.806630 IP anna.i8u.org.663314155 > kerry.i8u.org.nfs: 104 access fh 0,6/1931 0002
09:49:09.806857 IP kerry.i8u.org.nfs > anna.i8u.org.663314155: reply ok 120 access c 0002
09:49:09.807343 IP anna.i8u.org.663314156 > kerry.i8u.org.nfs: 100 getattr fh 0,6/1931
09:49:09.807811 IP kerry.i8u.org.nfs > anna.i8u.org.663314156: reply ok 112 getattr REG 664 ids 1000/100 sz 0x63
09:49:09.809552 IP anna.i8u.org.663314157 > kerry.i8u.org.nfs: 104 access fh 0,6/1931 0001
09:49:09.809860 IP kerry.i8u.org.nfs > anna.i8u.org.663314157: reply ok 120 access c 0001
htodd@anna:~ >

server

htodd@kerry:~ > tcpdump -r TRACE.nfs
reading from file TRACE.nfs, link-type EN10MB (Ethernet)
09:49:09.751201 IP anna.i8u.org.663314153 > kerry.i8u.org.nfs: 104 access fh 0,6/6463334 0001
09:49:09.777355 IP kerry.i8u.org.nfs > anna.i8u.org.663314153: reply ok 120 access c 0001
09:49:09.778194 IP anna.i8u.org.663314154 > kerry.i8u.org.nfs: 100 getattr fh 0,6/6463334
09:49:09.778217 IP kerry.i8u.org.nfs > anna.i8u.org.663314154: reply ok 112 getattr DIR 755 ids 1000/100 sz 0x600
09:49:09.807334 IP anna.i8u.org.663314155 > kerry.i8u.org.nfs: 104 access fh 0,6/6463334 0002
09:49:09.807355 IP kerry.i8u.org.nfs > anna.i8u.org.663314155: reply ok 120 access c 0002
09:49:09.808048 IP anna.i8u.org.663314156 > kerry.i8u.org.nfs: 100 getattr fh 0,6/6463398
09:49:09.808316 IP kerry.i8u.org.nfs > anna.i8u.org.663314156: reply ok 112 getattr REG 664 ids 1000/100 sz 0x63
09:49:09.810334 IP anna.i8u.org.663314157 > kerry.i8u.org.nfs: 104 access fh 0,6/6463398 0001
09:49:09.810359 IP kerry.i8u.org.nfs > anna.i8u.org.663314157: reply ok 120 access c 0001
htodd@kerry:~ >

On Tue, 23 May 2006, ober wrote:

> Try 'tcpdump -s 250 -w TRACE.nfs port 2049'
> Make sure what ever it is you are copying over nfs is not
> something that is 'secret'.
>
> We can take a look and see if MOUNT is failing.
>
> -Ober
>
> Richard Chesler: [Reading a piece of paper] The first rule of Fight Club is 
> you don't talk about Fight Club?
> Narrator: [Voice-over] I'm half asleep again; I must've left the original in 
> the copy machine.
> Richard Chesler: The second rule of Fight Club - is this yours?
> Narrator: Huh?
> Richard Chesler: Pretend you're me, make a managerial decision: you find 
> this, what would you do?
>
> On Mon, 22 May 2006, Hisashi T Fujinaka wrote:
>
>> Date: Mon, 22 May 2006 22:29:58 -0700 (PDT)
>> From: Hisashi T Fujinaka <htodd@twofifty.com>
>> To: current-users@NetBSD.org
>> Subject: nfs in i386-current is still kind of broken, isn't it?
>> 
>> I have a hard time mounting nfs shares lately and I'm not sure what's
>> the determining factor. My MacOS X machines can mount nothing, and my
>> netbsd-3 machines can only mount one or two shares. Juggling the order
>> in fstab allows me to mount different directories.
>> 
>> Is there any debug info I can provide?
>> 
>> -- 
>> Hisashi T Fujinaka - htodd@twofifty.com
>> BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
>> 
>

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte