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.
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)
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
07-29-2008, 01:29 AM
Alex Samad
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!!
07-29-2008, 04:47 AM
André Berger
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
07-29-2008, 06:07 AM
Alex Samad
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.