* Why xfs can not mount use barrier option?
@ 2013-05-15 7:08 ch huang
2013-05-15 7:33 ` Dave Chinner
0 siblings, 1 reply; 2+ messages in thread
From: ch huang @ 2013-05-15 7:08 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: text/plain, Size: 313 bytes --]
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?
# 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
[-- Attachment #1.2: Type: text/html, Size: 401 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Why xfs can not mount use barrier option?
2013-05-15 7:08 Why xfs can not mount use barrier option? ch huang
@ 2013-05-15 7:33 ` Dave Chinner
0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2013-05-15 7:33 UTC (permalink / raw)
To: ch huang; +Cc: xfs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-15 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15 7:08 Why xfs can not mount use barrier option? ch huang
2013-05-15 7:33 ` Dave Chinner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox