Skip to contentSkip to conversation

Ext3 journal on its own device?

DISCUSSION Juan 5 participants 8 messages Sep 17, 2001 – Sep 18, 2001

lore
Share & tools
lore

Juan

author
#0 lore raw

Hi all!

I have been browsing the Ext3 source (version 0.0.7a), and it seems impossible to use a block device as an Ext3 journal. Is that true?.

TIA.

Signature · 8 lines
D. Juan Piernas Cánovas
Departamento de Ingeniería y Tecnología de Computadores
Facultad de Informática. Universidad de Murcia
Campus de Espinardo - 30080 Murcia (SPAIN)
Tel.: +34968367657    Fax: +34968364151
email: [email protected]
PGP public key:
http://pgp.rediris.es:11371/pks/lookup?search=piernas%40ditec.um.es&op=index
#1 lore raw
Quoted 2 lines

I have been browsing the Ext3 source (version 0.0.7a), and it seems impossible to use a block device as an Ext3 journal. Is that true?.

As the actual version of ext3 is 0.99 you should consider an update.... It is possible to have the ext3 journal on a second device with ext3 0.95 or higher.

Check out http://www.uow.edu.au/~andrewm/linux/ext3/ext3-usage.html

greetings

Christian Bornträger

author
#2 lore raw
In reply to Juan
Quoted 8 lines · Christian Bornträger
Quoted 3 lines

I have been browsing the Ext3 source (version 0.0.7a), and it seems impossible to use a block device as an Ext3 journal. Is that true?.

As the actual version of ext3 is 0.99 you should consider an update.... It is possible to have the ext3 journal on a second device with ext3 0.95 or higher.

Quoted 5 lines

Check out http://www.uow.edu.au/~andrewm/linux/ext3/ext3-usage.html

greetings

Christian Bornträger

Thanks.

But the problem is that I need to use Linux 2.2.19, and the latest Ext3 version for that kernel is 0.0.7a, isn't it?.

Signature · 8 lines
D. Juan Piernas Cánovas
Departamento de Ingeniería y Tecnología de Computadores
Facultad de Informática. Universidad de Murcia
Campus de Espinardo - 30080 Murcia (SPAIN)
Tel.: +34968367657    Fax: +34968364151
email: [email protected]
PGP public key:
http://pgp.rediris.es:11371/pks/lookup?search=piernas%40ditec.um.es&op=index
#3 lore raw
In reply to Juan
Quoted 2 lines

But the problem is that I need to use Linux 2.2.19, and the latest Ext3 version for that kernel is 0.0.7a, isn't it?.

good point. I am not sure if ext3 is still maintained for linux 2.2, but I doubt it. Andrew or Stephen should be able to answer this question.

But with 0.0.7a it is not possible to have an external journal.

greetings

Christian Bornträger

#4 lore raw
In reply to Juan
Quoted 2 lines · Juan

I have been browsing the Ext3 source (version 0.0.7a), and it seems impossible to use a block device as an Ext3 journal. Is that true?.

The code to support this is not included in the 2.2 ext3 only in 2.4 ext3. There was a patch for 2.2 journal devices long ago, but I'm not sure if it was updated to work with the new "format" of the external journal. It was posted to ext2-devel by Marcelo Tossatti, probably 6 months ago or more.

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
#5 lore raw
In reply to Juan
Quoted 6 lines · Christian Bornträger
Quoted 3 lines

But the problem is that I need to use Linux 2.2.19, and the latest Ext3 version for that kernel is 0.0.7a, isn't it?.

good point. I am not sure if ext3 is still maintained for linux 2.2, but I doubt it. Andrew or Stephen should be able to answer this question.

Stephen is actively maintaining ext3 for the 2.2 kernels, but it is definitely in "maintenance mode".

Quoted 2 lines

But with 0.0.7a it is not possible to have an external journal.

That's true.

-

#6 lore raw
In reply to Juan

Hi,

Quoted 2 lines · Juan

I have been browsing the Ext3 source (version 0.0.7a), and it seems impossible to use a block device as an Ext3 journal. Is that true?.

In the 2.2 code (ext3-0.0.7a), the journal has to be part of the filesystem. The current e2fsprogs and 2.4 ext3 code (ext3-0.9.9) does support journals on other devices, but there's more support to be added before it's truly complete (in particular we want to support several filesystems journaling to a single shared journal spool.)

The separate-journal-disk code hasn't been tested as much as the default journal-on-main-filesystem code, and it's not officially supported, so the format might change in the future. But it should work.

Cheers,
Stephen

#7 lore raw
In reply to Juan

Hi,

Quoted 5 lines · Christian Bornträger
Quoted 2 lines

But the problem is that I need to use Linux 2.2.19, and the latest Ext3 version for that kernel is 0.0.7a, isn't it?.

good point. I am not sure if ext3 is still maintained for linux 2.2, but I doubt it. Andrew or Stephen should be able to answer this question.

Critical bugfixes only for 2.2. All current development is 2.4 only. There are _tons_ of improvements in 2.4 which will not be back-ported; 2.4 is the official current ext3.

Cheers,
Stephen