* Unable to disable barriers
@ 2008-07-28 11:48 Gary Hawco
2008-07-30 16:37 ` Eric Sandeen
0 siblings, 1 reply; 2+ messages in thread
From: Gary Hawco @ 2008-07-28 11:48 UTC (permalink / raw)
To: linux-ext4@vger.kernel.org, Theodore Tso
Subject pretty much says it all.
For testing purposes I tried to disable barriers in fstab (barriers=0). On
reboot the filesystem will not mount read/write until barriers are reenabled.
This occurs whether I use ordered data mode or data writeback mode, in both
Gentoo and Slackware 12.1
Is this behavior by design (that barriers can not be disabled)?
Thanks,
Gary
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unable to disable barriers
2008-07-28 11:48 Unable to disable barriers Gary Hawco
@ 2008-07-30 16:37 ` Eric Sandeen
0 siblings, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2008-07-30 16:37 UTC (permalink / raw)
To: Gary Hawco; +Cc: linux-ext4@vger.kernel.org, Theodore Tso
Gary Hawco wrote:
> Subject pretty much says it all.
>
> For testing purposes I tried to disable barriers in fstab (barriers=0). On
> reboot the filesystem will not mount read/write until barriers are reenabled.
What errors do you get?
> This occurs whether I use ordered data mode or data writeback mode, in both
> Gentoo and Slackware 12.1
>
> Is this behavior by design (that barriers can not be disabled)?
>
> Thanks,
> Gary
Hm, it's not supposed to be :)
Perhaps you just spelled it wrong:
root@inode ~]# mount -o barriers=0 /dev/sdb2 /mnt/test
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@inode ~]# mount -o barrier=0 /dev/sdb2 /mnt/test
[root@inode ~]#
-Eric
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-30 16:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 11:48 Unable to disable barriers Gary Hawco
2008-07-30 16:37 ` Eric Sandeen
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).