Mailinglist Archive: opensuse-factory (1165 mails)

< Previous Next >
Re: [opensuse-factory] ext3 external journal impossible?
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Sun, 26 Nov 2006 11:29:03 +0100
  • Message-id: <200611261129.03843.andjoh@xxxxxxxxxx>
On Sunday 26 November 2006 11:24, Frank-Michael Fischer wrote:
> Anders Johansson schrieb:
> > On Sunday 26 November 2006 11:06, Frank-Michael Fischer wrote:
> >> Anybody an idea why (unlike with xfs or reiserfs) I could not manage to
> >> make an ext3 filesystem with external journal.
> >> After "mkfs.ext3 -b 4096 -O /dev/sda5 /dev/hda7" I get: "Unvollständige
> >> Dateisystem-Option gesetzt: /dev/sda5"
> >
> > Did you create the journal device first, as the man page says?
> >
> > If you want to have the file system on /dev/sda7 and the journal on
> > /dev/sda5, you would do
> >
> > mkfs.ext3 -O journal_dev /dev/sda5
> >
> > Then you can do
> >
> > mkfs.ext3 -j -J device=/dev/sda5 /dev/sda7
>
> According to my message, this is what I did:
>
> mkfs.ext3 -b 4096 -O /dev/sda5 /dev/hda7

I think you misunderstand the manpage. It should literally be journal_dev,
that shouldn't be replaced with a device name.

If you want to have the journal on hda7, the command should be

mkfs.ext3 -b 4096 -O journal_dev /dev/hda7
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >