DragonFly BSD
DragonFly kernel List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Background fsck

From: Dan Melomedman <dan@xxxxxxxxxxx>
Date: Mon, 19 Jan 2004 17:20:13 -0500

Xin LI wrote:
> Finally, using of journalling requires modification to the metadata format,
> which will lead to some problem when users upgrade their system, so a
> converter might be necessary of DFly finally chooses this approach.

It can be done.

Take a look at EXT3. An EXT2 FS is easily converted to EXT3 with a
utility. It also looks as an EXT2 FS if the kernel doesn't have the
EXT3 support compiled in.

An EXT3 (journaling FS) can be converted back to EXT2 with a simple
fsck. Linux developers did get the migration/backwards compatibility

While both softupdates and journaling guarantee metadata safety, the
journaling FS has a huge advantage: journal replay after a crash takes
seconds, while fsck is still required for softupdates, and takes a long
time to run. softupdates are probably faster than journaling for most
cases though.

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]