FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-28-2008, 09:25 AM
Alex Samad
 
Default NFS problems with Mac client

Hi


I am having some problems with my new mini mac connecting to my debian
amd64 nfs server. I have other linux clients that are working well with
nfs. I have raised this on the apple forums, but the suggestion (see
the tcpdump) is that the server is not responding.


on the nas box

/exports/shared
-async,no_subtree_check,no_root_squash,insecure,mp=/exports/shared
192.168.8.0/22(rw)


done on the nas box
tcpdump -pni eth0 ether host 00:16:cb:b0:87:15 -s 9100 -w
nas.capture.dmp (available via
http://www.samad.com.au/~alex/nas.capture.dmp)


I did this on the mac client
mount -t nfs -o rw,async,rsize=32768,wsize=32768
nas.hme1.samad.com.au:/exports/shared /mounts/shared


and then tried

df -h & (did not return)
ps -ef
dmesg | tail (lots of server not responding)
tcpdump -pni en0 not port 22 (did not see anything - could have let it
run longer!!)
mount & (finished showed the nfs mount)
ls -l /mounts/shared/ & ( did not come back)
umount -f /mounts/shared/ & (did not come back)

These are the last 3 lines from the dump from nas

45 33.230489 192.168.11.12 -> 192.168.11.14 TCP exp1 > filenet-powsrm
[ACK] Seq=166 Ack=82 Win=524280 Len=0 TSV=1053569705 TSER=9151036
46 49.409514 192.168.11.12 -> 192.168.11.14 NFS V3 FSSTAT Call,
FH:0xef8ae509
47 49.409665 192.168.11.14 -> 192.168.11.12 NFS V3 FSSTAT Reply (Call
In 46)
48 49.409811 192.168.11.12 -> 192.168.11.14 TCP 52730 > nfs [ACK]
Seq=1021 Ack=589 Win=524280 Len=0 TSV=1053569866 TSER=9155080

the response i got back from the mac mailing list

Packet #41 is an ACCESS call by UID 502 that does not get a response.
Packet #42 is an FSSTAT call by UID 502 that does not get a response.

>From the looks of it, it would seem the server is choking/stalling
on requests that are being performed by the non-root credential:

UID 502
GID 20:98:102:101

Something definitely seems wrong on the server.



my nas box talks to a ldap server, I don't have uid 502, but that
shouldn't stall nfs I would have thought.


Any help on how to track this down or ideas on the problem ?

Thanks
Alex
 
Old 07-28-2008, 10:05 AM
André Berger
 
Default NFS problems with Mac client

* Alex Samad (2008-07-28):

> on the nas box
>
> /exports/shared
> -async,no_subtree_check,no_root_squash,insecure,mp=/exports/shared
> 192.168.8.0/22(rw)

Try

/exports/shared 192.168.8.0/22(rw,async,no_subtree_check,no_root_squash)

and "exportfs -rv"

On the Mac, add to /etc/fstab (assuming your Server is 192.168.8.5):

192.168.8.5:/exports/shared /yourdir nfs locallocks,udp,sync,resvport,bg,intr,rsize=32768,w size=32768 0 0

and run "automount -v".

PS: Locking doesn't work as expected on Leopard. Use "nolock" or
"locallocks".

-André

--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-29-2008, 01:29 AM
Alex Samad
 
Default NFS problems with Mac client

On Mon, Jul 28, 2008 at 12:05:58PM +0200, André Berger wrote:
> * Alex Samad (2008-07-28):
>
> > on the nas box
> >
> > /exports/shared
> > -async,no_subtree_check,no_root_squash,insecure,mp=/exports/shared
> > 192.168.8.0/22(rw)
>
> Try
>
> /exports/shared 192.168.8.0/22(rw,async,no_subtree_check,no_root_squash)
>
> and "exportfs -rv"
>
> On the Mac, add to /etc/fstab (assuming your Server is 192.168.8.5):
>
> 192.168.8.5:/exports/shared /yourdir nfs locallocks,udp,sync,resvport,bg,intr,rsize=32768,w size=32768 0 0
still seem to have the same problem, df -h locks up. tried with no lock,
ro, removed the rsize and wsize

>
> and run "automount -v".
>
> PS: Locking doesn't work as expected on Leopard. Use "nolock" or
> "locallocks".
>
> -André
>
> --
> May as well be hung for a sheep as a lamb!
> Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

--
Uh-oh!! I'm having TOO MUCH FUN!!
 
Old 07-29-2008, 04:47 AM
André Berger
 
Default NFS problems with Mac client

* Alex Samad (2008-07-29):
> On Mon, Jul 28, 2008 at 12:05:58PM +0200, André Berger wrote:
> > * Alex Samad (2008-07-28):
> >
> > > on the nas box
> > >
> > > /exports/shared
> > > -async,no_subtree_check,no_root_squash,insecure,mp=/exports/shared
> > > 192.168.8.0/22(rw)
> >
> > Try
> >
> > /exports/shared 192.168.8.0/22(rw,async,no_subtree_check,no_root_squash)
> >
> > and "exportfs -rv"
> >
> > On the Mac, add to /etc/fstab (assuming your Server is 192.168.8.5):
> >
> > 192.168.8.5:/exports/shared /yourdir nfs locallocks,udp,sync,resvport,bg,intr,rsize=32768,w size=32768 0 0
> still seem to have the same problem, df -h locks up. tried with no lock,
> ro, removed the rsize and wsize

What about tcp instead of udp?

-André

--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-29-2008, 06:07 AM
Alex Samad
 
Default NFS problems with Mac client

On Tue, Jul 29, 2008 at 06:47:08AM +0200, André Berger wrote:
> * Alex Samad (2008-07-29):
> > On Mon, Jul 28, 2008 at 12:05:58PM +0200, André Berger wrote:
> > > * Alex Samad (2008-07-28):
> > >
> > > > on the nas box
> > > >
> > > > /exports/shared
> > > > -async,no_subtree_check,no_root_squash,insecure,mp=/exports/shared
> > > > 192.168.8.0/22(rw)
> > >
> > > Try
> > >
> > > /exports/shared 192.168.8.0/22(rw,async,no_subtree_check,no_root_squash)
> > >
> > > and "exportfs -rv"
> > >
> > > On the Mac, add to /etc/fstab (assuming your Server is 192.168.8.5):
> > >
> > > 192.168.8.5:/exports/shared /yourdir nfs locallocks,udp,sync,resvport,bg,intr,rsize=32768,w size=32768 0 0
> > still seem to have the same problem, df -h locks up. tried with no lock,
> > ro, removed the rsize and wsize
>
> What about tcp instead of udp?

tracked down the problem (with the help of another person on the mac
interop mailing list), seems like when i stop using --manage-gids,
everything is okay, I have some users with more than 16 gids !



>
> -André
>
> --
> May as well be hung for a sheep as a lamb!
> Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

--
The lovely woman-child Kaa was mercilessly chained to the cruel post of
the warrior-chief Beast, with his barbarian tribe now stacking wood at
her nubile feet, when the strong clear voice of the poetic and heroic
Handsomas roared, 'Flick your Bic, crisp that chick, and you'll feel my
steel through your last meal!'
-- Winning sentence, 1984 Bulwer-Lytton bad fiction contest.
 

Thread Tools




All times are GMT. The time now is 11:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org