aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/fstab.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/fstab.xml')
-rw-r--r--chapter08/fstab.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml
index 026ec000c..2bf2cb2ad 100644
--- a/chapter08/fstab.xml
+++ b/chapter08/fstab.xml
@@ -95,4 +95,19 @@ EOF</userinput></screen>
<!-- Personally, I find it more foolproof to always specify the iocharset and
codepage in /etc/fstab for MS-based filesystems - Alexander E. Patrakov -->
+ <para>It is possible to make the ext3 filesystem reliable across power
+ failures for some hard disk types. To do this, add the
+ <option>barrier=1</option> mount option to the appropriate entry in
+ <filename>/etc/fstab</filename>. To check if the disk drive supports
+ this option, run
+ <ulink url="http://www.linuxfromscratch.org/blfs/view/cvs/general/hdparm.html">hdparm</ulink>
+ on the applicable disk drive. For example, if:</para>
+
+<screen><userinput>hdparm -I /dev/sda | grep NCQ</userinput></screen>
+
+ <para>returns non-empty output, the option is supported.</para>
+
+ <para>Note: Logical Volume Management (LVM) based partitions cannot use the
+ <option>barrier</option> option.</para>
+
</sect1>