public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: RaSca <rasca@miamammausalinux.org>
To: Neil Brown <neilb@suse.de>
Cc: linux-nfs@vger.kernel.org
Subject: Re: Problem using exportfs in an active-active nfs cluster
Date: Wed, 09 Jun 2010 12:28:43 +0200	[thread overview]
Message-ID: <4C0F6CDB.5050004@miamammausalinux.org> (raw)
In-Reply-To: <20100609180439.40e856ac@notabene.brown>

Il giorno Mer 09 Giu 2010 10:04:39 CET, Neil Brown ha scritto:
[...]
> Seems unlikely ... "exportfs -f" flushes all the export caches in the kernel
> thus letting go of any filesystems.
> I guess an active NFS request could still hold the fs active, but that should
> complete fairly quickly.
> file locking might be an issue.  Might a client have a lock on some file in
> the filesystem?  Failover of locks is rather more complicated that simple
> file-access fail-over.  I don't recall what the status of this is currently.
> When the umount files, check the content of
>     /proc/net/rpc/nfsd.export/content
> and
>     /proc/locks
> to check what is actually using the filesystem.

Note that I'm mounting from the client with nolock option.

Here is the output of the two cat:

/proc/net/rpc/nfsd.export/content:

#path domain(flags)#012# 
/share-a#011192.168.1.0/24(rw,no_root_squash,sync,wdelay,crossmnt,no_subtree_check,fsid=1,uuid=7c80c4af:2a244b39:af
adb554:8c8e0574)

/proc/locks:

1: POSIX  ADVISORY  WRITE 753 00:11:3923 0 EOF#0122: FLOCK  ADVISORY 
WRITE 739 00:11:3916 0 EOF#0123: POSIX  ADVISORY  WRITE 522 00:11:3049
  0 EOF

What do you think about it?

Thanks a lot!

-- 
RaSca
Mia Mamma Usa Linux: Niente è impossibile da capire, se lo spieghi bene!
rasca@miamammausalinux.org
http://www.miamammausalinux.org

  reply	other threads:[~2010-06-09 10:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 16:24 Problem using exportfs in an active-active nfs cluster RaSca
     [not found] ` <4C0E6ED0.60200-9B074fXSGsOr88ip1nKoZ2D2FQJk+8+b@public.gmane.org>
2010-06-08 21:54   ` Neil Brown
     [not found]     ` <20100609075425.7ec4ccd9-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2010-06-09  7:43       ` RaSca
     [not found]         ` <4C0F4634.8090102-9B074fXSGsOr88ip1nKoZ2D2FQJk+8+b@public.gmane.org>
2010-06-09  8:01           ` RaSca
2010-06-09  8:01           ` RaSca
2010-06-09  8:04           ` Neil Brown
2010-06-09 10:28             ` RaSca [this message]
2010-06-10  4:09               ` Neil Brown
2010-06-11  8:49                 ` RaSca

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=4C0F6CDB.5050004@miamammausalinux.org \
    --to=rasca@miamammausalinux.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox