linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: Dave Chinner <david@fromorbit.com>,
	linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com
Subject: Re: [PATCH] Do not check ocfs2
Date: Sun, 3 Mar 2013 23:19:05 +0100	[thread overview]
Message-ID: <20130303231905.0efd6d08@spider.haslach.nod.at> (raw)
In-Reply-To: <5133C900.9050300@sandeen.net>

Am Sun, 03 Mar 2013 16:04:48 -0600
schrieb Eric Sandeen <sandeen@sandeen.net>:
 > > Using xfstests I was able to trigger dlm issues in ocfs2.
> > I ran xfstests on one node and other nodes had it mounted too.
> 
> Just for my own education, how does that happen?
> 
> Were you testing on filesystems already configured into a cluster,
> or did the cluster somehow pick up your newly-defined test
> fileystems and mount them?

The cluster is already configured. But a single node can mount/unmount
the fs as it wants.

I know, xfstests is not a perfect test case for ocfs2 but it allowed me
to trigger issues...
These issues can also be triggered without xfstests. But in my case I
found them using xfstests.

> How does fsck.ocfs2 behave when you run it on one node, when the
> fs is mounted on others?  Will it proceed w/ no knowledge of the
> fact that it's mounted elsewhere?

It refuses to check the fs and exists with an error code != 0.

>From the manpage:
       -F     By default fsck.ocfs2 will check with the cluster
services to ensure that the volume is not in-use (mounted) on any node
in the cluster before proceeding.  -F skips this check and should only
be used when it can be guaranteed that the volume is not mounted on any
node in the cluster. WARNING: If the cluster check is disabled and the
volume  is mounted on one or more nodes, file system corruption is very
likely. If unsure, do not use this option.

Thanks,
//richard

  reply	other threads:[~2013-03-03 22:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03  0:05 [PATCH] Do not check ocfs2 Richard Weinberger
2013-03-03  1:19 ` Dave Chinner
2013-03-03  9:02   ` Richard Weinberger
2013-03-03 22:04     ` Eric Sandeen
2013-03-03 22:19       ` Richard Weinberger [this message]
2013-03-03 22:40         ` Eric Sandeen
2013-03-03 22:53           ` Richard Weinberger
2013-03-03 22:57             ` Eric Sandeen
2013-03-04  0:42               ` Dave Chinner
2013-03-04 21:05                 ` Joel Becker
2013-03-04 22:09                   ` Richard Weinberger
2013-03-04 22:57                     ` Joel Becker

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=20130303231905.0efd6d08@spider.haslach.nod.at \
    --to=richard@nod.at \
    --cc=david@fromorbit.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=sandeen@sandeen.net \
    --cc=xfs@oss.sgi.com \
    /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;
as well as URLs for NNTP newsgroup(s).