All of lore.kernel.org
 help / color / mirror / Atom feed
From: Haakon Riiser <haakon.riiser@fys.uio.no>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: nfs@lists.sourceforge.net
Subject: Re: read(2) hangs on the client side
Date: Sun, 15 May 2005 08:21:03 +0200	[thread overview]
Message-ID: <20050515062103.GA482@fox> (raw)
In-Reply-To: <1116113888.14297.27.camel@lade.trondhjem.org>

Trond,

> Why didn't you try the NFSv3 RFC? 8-)
> 
>    NFS3ERR_JUKEBOX
>        The server initiated the request, but was not able to
>        complete it in a timely fashion. The client should wait
>        and then try the request with a new RPC transaction ID.
>        For example, this error should be returned from a server
>        that supports hierarchical storage and receives a request
>        to process a file that has been migrated. In this case,
>        the server should start the immigration process and
>        respond to client with this error.
> 
> In other words, this is an error used by the server to say "I'm busy,
> and cannot retrieve the data you want. Please try again later".
> 
> Are you absolutely sure that you managed to disable oplocks on the samba
> server? 'cos this is the error an NFS server will usually return when it
> is waiting for the samba server (or an NFSv4 server) to break the lease
> on a file so that it can be opened.

I did set 'kernel oplocks = no' globally and restarted Samba, but I
didn't look for locked files with smbstatus.  I'll try again and
investigate a little more this time.  In the meantime, here's what
smbstatus shows:

Locked files:
Pid    DenyMode   Access   R/W     Oplock           Name
--------------------------------------------------------
32475  DENY_NONE  0x20089  RDONLY  EXCLUSIVE+BATCH foo Sun May 15 08:13:23 2005

This lock goes on and off all the time, which probably explains why
this error doesn't happen every single time I try to open the file.
But why does ERR_JUKEBOX cause the client to hang?  This lock _is_
soon released, so shouldn't NFS wake up once that happens?

-- 
 Haakon


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2005-05-15  6:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-08 11:33 read(2) hangs on the client side Haakon Riiser
2005-05-08 12:54 ` Trond Myklebust
2005-05-08 13:21   ` Haakon Riiser
2005-05-08 13:59     ` Trond Myklebust
2005-05-08 14:37       ` Haakon Riiser
2005-05-09 10:38         ` Trond Myklebust
2005-05-09 14:13           ` Haakon Riiser
2005-05-11 14:23             ` Trond Myklebust
2005-05-14 22:39               ` Haakon Riiser
2005-05-14 23:38                 ` Trond Myklebust
2005-05-15  6:21                   ` Haakon Riiser [this message]
2005-05-15  6:39                     ` Trond Myklebust
2005-05-15  6:54                       ` Haakon Riiser
2005-05-15  7:00                         ` Trond Myklebust

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=20050515062103.GA482@fox \
    --to=haakon.riiser@fys.uio.no \
    --cc=nfs@lists.sourceforge.net \
    --cc=trond.myklebust@fys.uio.no \
    /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.