public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: ch huang <justlooks@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: Why xfs can not mount use barrier option?
Date: Wed, 15 May 2013 17:33:04 +1000	[thread overview]
Message-ID: <20130515073304.GR29466@dastard> (raw)
In-Reply-To: <CACeqxwRdq-wuz9xpa9p=kQvYgjJQYRMP2JLsyv7SChqx8b-ujw@mail.gmail.com>

On Wed, May 15, 2013 at 03:08:56PM +0800, ch huang wrote:
> i use lvm on raid 1,/dev/CHVG01/conxfs is a logical volume,if i  mount with
> barrier,the /proc/mounts still show nobarrier option ,why?

http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F

> #  mount -t xfs -o barrier,attr2,noikeep,inode64 /dev/CHVG01/conxfs /opt/contest/
> # cat /proc/mounts
> /dev/CHVG01/conxfs /opt/contest xfs rw,attr2,nobarrier,inode64,noquota 0 0

Check dmesg - most likely something in your storage stack doesn't
support barriers so they got turned off....

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2013-05-15  7:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15  7:08 Why xfs can not mount use barrier option? ch huang
2013-05-15  7:33 ` Dave Chinner [this message]

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=20130515073304.GR29466@dastard \
    --to=david@fromorbit.com \
    --cc=justlooks@gmail.com \
    --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