Source string Read only

(itstool) path: sect1/title
12/120
Context English State
_
translator-credits
Implementing UFS Journaling on a Desktop PC
<email>manolis@FreeBSD.org</email>
<personname><firstname>Manolis</firstname><surname>Kiagias</surname></personname><affiliation> <_:address-1/> </affiliation>
<year>2008</year> <holder role="mailto:manolis@FreeBSD.org">Manolis Kiagias</holder>
$FreeBSD: head/en_US.ISO8859-1/articles/gjournal-desktop/article.xml 51348 2017-12-30 22:56:56Z eadler $
FreeBSD is a registered trademark of the FreeBSD Foundation.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this document, and the FreeBSD Project was aware of the trademark claim, the designations have been followed by the <quote>™</quote> or the <quote>®</quote> symbol.
A journaling file system uses a log to record all transactions that take place in the file system, and preserves its integrity in the event of a system crash or power failure. Although it is still possible to lose unsaved changes to files, journaling almost completely eliminates the possibility of file system corruption caused by an unclean shutdown. It also shortens to a minimum the time required for after-failure file system checking. Although the UFS file system employed by FreeBSD does not implement journaling itself, the new journal class of the GEOM framework in FreeBSD 7.<replaceable>X</replaceable> can be used to provide file system independent journaling. This article explains how to implement UFS journaling on a typical desktop PC scenario.
Introduction
While professional servers are usually well protected from unforeseen shutdowns, the typical desktop is at the mercy of power failures, accidental resets, and other user related incidents that can lead to unclean shutdowns. Soft Updates usually protect the file system efficiently in such cases, although most of the times a lengthy background check is required. On rare occasions, file system corruption reaches a point where user intervention is required and data may be lost.
The new journaling capability provided by GEOM can greatly assist in such scenarios, by virtually eliminating the time required for file system checking, and ensuring that the file system is quickly restored to a consistent state.
This article describes a procedure for implementing UFS journaling on a typical desktop PC scenario (one hard disk used for both operating system and data). It should be followed during a fresh installation of FreeBSD. The steps are simple enough and do not require overly complex interaction with the command line.
After reading this article, you will know:
How to reserve space for journaling during a new installation of FreeBSD.
How to load and enable the <literal>geom_journal</literal> module (or build support for it in your custom kernel).
How to convert your existing file systems to utilize journaling, and what options to use in <filename>/etc/fstab</filename> to mount them.
How to implement journaling in new (empty) partitions.
How to troubleshoot common problems associated with journaling.
Before reading this article, you should be able to:
Understand basic <trademark class="registered">UNIX</trademark> and FreeBSD concepts.
Be familiar with the installation procedure of FreeBSD and the <application>sysinstall</application> utility.
The procedure described here is intended for preparing a new installation where no actual user data is stored on the disk yet. While it is possible to modify and extend this procedure for systems already in production, you should <emphasis>backup</emphasis> all important data before doing so. Messing around with disks and partitions at a low level can lead to fatal mistakes and data loss.
Understanding Journaling in FreeBSD
The journaling provided by GEOM in FreeBSD 7.<replaceable>X</replaceable> is not file system specific (unlike for example the ext3 file system in <trademark class="registered">Linux</trademark>) but is functioning at the block level. Though this means it can be applied to different file systems, for FreeBSD 7.0-RELEASE, it can only be used on UFS2.
ComponentTranslation
This translation Translated FreeBSD Doc/articles_gjournal-desktop
Introduction
Following strings have same context and same source.
Translated FreeBSD Doc/articles_rc-scripting
Introduction
Translated FreeBSD Doc/articles_remote-install
Introduction
Translated FreeBSD Doc/articles_fonts
Introduction
Translated FreeBSD Doc/articles_freebsd-questions
Introduction
Translated FreeBSD Doc/articles_leap-seconds
Introduction
Translated FreeBSD Doc/articles_linux-emulation
Introduction
Translated FreeBSD Doc/articles_mailing-list-faq
Introduction
Translated FreeBSD Doc/articles_pam
Introduction
Translated FreeBSD Doc/articles_pr-guidelines
Introduction
Translated FreeBSD Doc/articles_vm-design
Introduction
Translated FreeBSD Doc/articles_freebsd-update-server
Introduction
Translated FreeBSD Doc/articles_geom-class
Introduction
Translated FreeBSD Doc/articles_linux-users
Introduction
Translated FreeBSD Doc/articles_problem-reports
Introduction
Translated FreeBSD Doc/articles_releng
Introduction
Translated FreeBSD Doc/books_arch-handbook
Introduction
Translated FreeBSD Doc/articles_bsdl-gpl
Introduction
Translated FreeBSD Doc/books_porters-handbook
Introduction
Translated FreeBSD Doc/books_faq
Introduction
Translated FreeBSD Doc/books_developers-handbook
Introduction
Translated FreeBSD Doc/books_fdp-primer
Introduction
Translated FreeBSD Doc/articles_building-products
Introduction
Translated FreeBSD Doc/articles_committers-guide
Introduction
Translated FreeBSD Doc/books_handbook
Introduction

Loading…

No matching activity found.

Browse all component changes

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect1/title
Labels
No labels currently set.
Flags
read-only
Source string location
article.translate.xml:48
Source string age
11 months ago
Translation file
string