xfs
[Top] [All Lists]

Re: Why xfs can not mount use barrier option?

To: ch huang <justlooks@xxxxxxxxx>
Subject: Re: Why xfs can not mount use barrier option?
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 15 May 2013 17:33:04 +1000
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <CACeqxwRdq-wuz9xpa9p=kQvYgjJQYRMP2JLsyv7SChqx8b-ujw@xxxxxxxxxxxxxx>
References: <CACeqxwRdq-wuz9xpa9p=kQvYgjJQYRMP2JLsyv7SChqx8b-ujw@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
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@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>