Advanced

ext3 question

Story: Three Ways To Access Linux Partitions (ext2/ext3) From Windows On Dual-Boot SystemsTotal Replies: 2
Author Content
Bob_Robertson

Jan 20, 2008
11:16 AM EST
May I assume that the journal is written out during a normal shutdown, thus making it OK to access the filesystem as ext2 without making a muck of things?

Just a thought.
gus3

Jan 20, 2008
11:45 AM EST
(My answer subject to correction, as usual.)

Nothing I have encountered in ext3 documentation states that the journal is committed on unmount, except by implication from the tune2fs man page:

Quoting:WARNING: Removing an external journal from a filesystem which was not cleanly unmounted without first replaying the external journal can result in severe data loss and filesystem corruption.
However, after removing the journal, it is a good idea to run e2fsck, just to be on the safe side.

Contrast this with Solaris' "logging" feature, which can be added and removed at will in fstab. Just reboot, and the addition or removal of logging takes effect immediately.
Bob_Robertson

Jan 20, 2008
12:48 PM EST
> Just reboot, and the addition or removal of logging takes effect immediately.

Which itself implies a controlled unmount.

ext3 goes to ext2 the same, maybe back the other way too, once the .journal has been created.

Post a reply to this thread:

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post