All of lore.kernel.org
 help / color / mirror / Atom feed
From: manio <manio@skyboo.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: NFS mount attempts hangs with btrfs on server side
Date: Sat, 17 Apr 2010 22:10:15 +0200	[thread overview]
Message-ID: <4BCA15A7.9000502@skyboo.net> (raw)

 > Greetings.
 >
 > I am observing a case whereby NFS mounting seems to hang. A tcpdump
 > trace reveals that it retries forever RPC and exchanging NFS messages
 > without giving any warning or error message about what's wrong. There is
 > no firewall active, and the NFSserver (.1) has the client (.101)
 > unconditionally allowed.
 >
 > It's a simple
 > mount -t nfs 192.168.100.1:/B/home/jengelh /home/jengelh -o tcp,intr,soft
 >
 > /B is a btrfs volume. Mounting an ext4 volume over NFS instead completes
 > in a splitsecond.
 >
 > Attached is the pcap file (->wireshark pretty display for deciphering).
 >
 > It seems pretty much independent of the Linux kernel used; I can
 > reproduce this in both 2.6.33-rc8 as well as 2.6.31.12.

Hello
I have very similar behavior. On the server side i have nfs kernel server
(nfs version 3) - when mounting ext3 directories - all works fine,
but when i export btrfs directory and try to mount it:
on client side (debian sid) i've got:
mount.nfs: Connection timed out
and during mounting time on server side (debian lenny):
about 20 lines with: "authenticated mount request ..."

i also tryed it on another client with debian lenny and first mount try
was about several seconds long and results in:
mount.nfs: Stale NFS file handle
next tryes results with same error, but it was very fast responses
to the mount command

after several mount tryes i always have a problem with restarting
nfs-kernel-server with debian init script:

Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd <--- hungs here
... and the only way to bring the nfs server back online
was to reboot the server :(

regards,
-- 
Mariusz Bialonczyk
jabber/e-mail: manio@skyboo.net
http://manio.skyboo.net

             reply	other threads:[~2010-04-17 20:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-17 20:10 manio [this message]
2010-04-21 10:25 ` NFS mount attempts hangs with btrfs on server side Manio
2010-04-21 10:29   ` Jan Engelhardt
     [not found]     ` <4BCED584.5000305@skyboo.net>
2010-04-26 13:04       ` Jan Engelhardt
  -- strict thread matches above, loose matches on Subject: below --
2010-03-01  0:41 Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BCA15A7.9000502@skyboo.net \
    --to=manio@skyboo.net \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.