Why xfs can not mount use barrier option?

Dave Chinner david at fromorbit.com
Wed May 15 02:33:04 CDT 2013


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 at fromorbit.com



More information about the xfs mailing list