2004-06-15 18:09:50

by Petter Larsen

[permalink] [raw]
Subject: Re: mode data=journal in ext3. Is it safe to use?

Hello

I try again.

Can anybody of you acknowledge or not if mode data=journal in ext3 is
safe to use in Linux kernel 2.6.x?

Wee need to have a very consistent and integrity for our filesystem, and
it would then be desired to journal both data and metadata.

But if this mode can corrupt the filesystem as both Phil White and
Nicolas Kowalski has experienced, it may be more advised to use mode
data=ordered instead.

Data integrity is much more important for us than speed.

What do you people out there say?

I also try to post this in the kernel mailing list. I have not
subscribed to the kml so if anybody there have som advisory about this I
would be pleased if you could CC me.

Petter

On Mon, 2004-06-07 at 10:21, Petter Larsen wrote:
> Hello
>
> I can see several postings on this mailing-list that people have
> problem
> with mounting ext3 partition with mode data=journal.
>
> See URL's:
> https://www.redhat.com/archives/ext3-users/2004-March/msg00000.html
> https://www.redhat.com/archives/ext3-users/2004-March/msg00050.html
>
> We are going to use ext3 on a Compact Flash disk in true IDE mode. We
> need this filesystem to be as safe and consistent as possible. We can
> not tolerate any garbage in the files after a crash or sudden power
> failures. We have then decided to use ext3 with mode data=journal.
>
> Can I rely on this?
> We use kernel 2.6.5 on PowerPC 8260, and may be using newer kernels
> later in the project.
>
>
> Best regards
> --
> Petter Larsen
> cand. scient.
> moreCom as
> 913 17 222
>
>
> _______________________________________________
> Ext3-users mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/ext3-users
--
Petter Larsen
cand. scient.
moreCom as
913 17 222


2004-06-15 18:22:28

by Eugene Crosser

[permalink] [raw]
Subject: Re: mode data=journal in ext3. Is it safe to use?

On Tue, 2004-06-15 at 20:09 +0200, Petter Larsen wrote:

> Can anybody of you acknowledge or not if mode data=journal in ext3 is
> safe to use in Linux kernel 2.6.x?
>
> Wee need to have a very consistent and integrity for our filesystem, and
> it would then be desired to journal both data and metadata.
>
> But if this mode can corrupt the filesystem as both Phil White and
> Nicolas Kowalski has experienced, it may be more advised to use mode
> data=ordered instead.
>
> Data integrity is much more important for us than speed.

I ran ext3 with data=journal on 2.6.6smp for about a week on a heavily
loaded system (I mean it). I did not ever experience filesystem
corruption (related to the fs code). I did, however, hit complete
system lockup once. It *may* have been unrelated to the fs code.

(If you use quota, it *will* lock. The author is working on a fix.
Above, I am referring to a lockup with quota off).

Eugene


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2004-06-16 15:32:30

by Timothy Miller

[permalink] [raw]
Subject: Re: mode data=journal in ext3. Is it safe to use?



Petter Larsen wrote:

>
> Data integrity is much more important for us than speed.
>


You might want to consider ReiserFS or one of the others which were
designed with journaling in mind. And I hope you're using RAID1 or RAID5.

2004-06-17 08:29:48

by Petter Larsen

[permalink] [raw]
Subject: Re: mode data=journal in ext3. Is it safe to use?

> >
> > Data integrity is much more important for us than speed.
> >
>
>
> You might want to consider ReiserFS or one of the others which were
> designed with journaling in mind. And I hope you're using RAID1 or RAID5.

We are using ext3 on a compact flash disk in an embedded device. So we
are not using RAID systems.

Best regards
--
Petter Larsen
cand. scient.
moreCom as
913 17 222

2004-06-17 08:36:55

by Petter Larsen

[permalink] [raw]
Subject: Re: mode data=journal in ext3. Is it safe to use?

> >
> > Data integrity is much more important for us than speed.
>
> I ran ext3 with data=journal on 2.6.6smp for about a week on a heavily
> loaded system (I mean it). I did not ever experience filesystem
> corruption (related to the fs code). I did, however, hit complete
> system lockup once. It *may* have been unrelated to the fs code.
>
> (If you use quota, it *will* lock. The author is working on a fix.
> Above, I am referring to a lockup with quota off).
>
> Eugene

Good to here. But there may have been a lookup once because you are not
sure that the crash was unrelated to ext3 fs code?

Are you going to test it more?

We are not going to use quota, we are using ext3 on a compact flash disk
in an embedded device.


--
Petter Larsen
cand. scient.
moreCom as
913 17 222

2004-06-17 19:48:06

by Daniel Egger

[permalink] [raw]
Subject: Re: mode data=journal in ext3. Is it safe to use?

On 17.06.2004, at 10:29, Petter Larsen wrote:

> We are using ext3 on a compact flash disk in an embedded device. So we
> are not using RAID systems.

An excellent way to kill such media. Hopefully YMMV.

Servus,
Daniel


Attachments:
PGP.sig (478.00 B)
This is a digitally signed message part