diff --git a/en_US.ISO8859-1/books/handbook/geom/chapter.xml b/en_US.ISO8859-1/books/handbook/geom/chapter.xml index 00d41d9f49..37351fa191 100644 --- a/en_US.ISO8859-1/books/handbook/geom/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/geom/chapter.xml @@ -1619,10 +1619,10 @@ ufsid/486b6fc16926168e N/A ad4s1f Beginning with &os; 7.0, support for journals on - UFS file systems is - available. The implementation is provided through the - GEOM subsystem and is configured using - gjournal. Unlike other file system journaling implementations, the + UFS file systems is available. The + implementation is provided through the GEOM + subsystem and is configured using gjournal. + Unlike other file system journaling implementations, the gjournal method is block based and not implemented as part of the file system. It is a GEOM extension. @@ -1638,40 +1638,38 @@ ufsid/486b6fc16926168e N/A ad4s1f Updates, which tracks and enforces meta-data updates, and snapshots, which create an image of the file system, a log is stored in disk space specifically for this task. For better - performance, the journal may be stored on another - disk. In this configuration, the journal provider or storage - device should be listed after the device to enable journaling - on. + performance, the journal may be stored on another disk. In this + configuration, the journal provider or storage device should be + listed after the device to enable journaling on. - The GENERIC kernel provides support - for gjournal. To automatically load the + The GENERIC kernel provides support for + gjournal. To automatically load the geom_journal.ko kernel module at boot time, add the following line to /boot/loader.conf: geom_journal_load="YES" - If a custom - kernel is used, ensure the following line is in the kernel configuration - file: + If a custom kernel is used, ensure the following line is in + the kernel configuration file: options GEOM_JOURNAL Once the module is loaded, a journal can be created on a new - file system - using the following steps. In this example, + file system using the following steps. In this example, da4 is a new SCSI disk: &prompt.root; gjournal load &prompt.root; gjournal label /dev/da4 - This will load the module and create a /dev/da4.journal - device node on + This will load the module and create a + /dev/da4.journal device node on /dev/da4. - A UFS file system may now be created on the - journaled device, then mounted on an existing mount point: + A UFS file system may now be created on + the journaled device, then mounted on an existing mount + point: &prompt.root; newfs -O 2 -J /dev/da4.journal &prompt.root; mount /dev/da4.journal /mnt @@ -1679,9 +1677,8 @@ ufsid/486b6fc16926168e N/A ad4s1f In the case of several slices, a journal will be created for each individual slice. For instance, if - ad4s1 and - ad4s2 are both slices, then - gjournal will create + ad4s1 and ad4s2 are + both slices, then gjournal will create ad4s1.journal and ad4s2.journal. @@ -1689,15 +1686,15 @@ ufsid/486b6fc16926168e N/A ad4s1f Journaling may also be enabled on current file systems by using tunefs. However, always make a backup before attempting to - alter an existing file system. In most cases, gjournal - will fail if it is unable to create the journal, but this does - not protect against data loss incurred as a result of misusing - tunefs. Refer to &man.gjournal.8; and - &man.tunefs.8; for more information about these - commands. + alter an existing file system. In most cases, + gjournal will fail if it is unable to create + the journal, but this does not protect against data loss + incurred as a result of misusing tunefs. + Refer to &man.gjournal.8; and &man.tunefs.8; for more + information about these commands. - It is possible to journal the boot disk of a &os; - system. Refer to the article It is possible to journal the boot disk of a &os; system. + Refer to the article Implementing UFS Journaling on a Desktop PC for detailed instructions.