[opensuse] ext3 Journaling
OS: SuSE 10.0 I am trying to turn journaling on on ext3 non-root filesystems and must be missing something. I added data=journal to the options portion of the /etc/fstab entry, unmounted and mounted to no avail. Next I tried a mount with -Odata=journal, again with no effect. Is there something else I need to do to start data journaling on a filesystem that currently doesn not have it? Thank you, Lucky Leavell -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 06 October 2007 08:04:35 am Lucky Leavell wrote:
OS: SuSE 10.0
I am trying to turn journaling on on ext3 non-root filesystems and must be missing something. I added data=journal to the options portion of the /etc/fstab entry, unmounted and mounted to no avail. Next I tried a mount with -Odata=journal, again with no effect.
Is there something else I need to do to start data journaling on a filesystem that currently doesn not have it?
Thank you, Lucky Leavell
I think you can try yast. yast->system->partitioner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 06 October 2007, Lucky Leavell wrote:
OS: SuSE 10.0
I am trying to turn journaling on on ext3 non-root filesystems and must be missing something. I added data=journal to the options portion of the /etc/fstab entry, unmounted and mounted to no avail. Next I tried a mount with -Odata=journal, again with no effect.
Is there something else I need to do to start data journaling on a filesystem that currently doesn not have it?
I understand that you are trying to activate journaling on a filesystem that does not have this yet. So my guess is that your filesystem is still ext2. 1) Unmount the filesystem. 2) You have to create a journal on that filesystem. Use the "tune2fs" command with the "-j" option to accomplish this. 3) Change the "/etc/fstab" entry for that file system: change "ext2" into "ext3". Optionally, you can add the "data=journal" attribute to this entry (the attribute "data=ordered" is the default). 4) Mount the filesystem again. I hope this helps. Regards, Erwin Lam -- Erwin Lam (erwin.lam@gmx.net) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 6 Oct 2007, Erwin Lam wrote:
On Saturday 06 October 2007, Lucky Leavell wrote:
OS: SuSE 10.0
I am trying to turn journaling on on ext3 non-root filesystems and must be missing something. I added data=journal to the options portion of the /etc/fstab entry, unmounted and mounted to no avail. Next I tried a mount with -Odata=journal, again with no effect.
Is there something else I need to do to start data journaling on a filesystem that currently doesn not have it?
I understand that you are trying to activate journaling on a filesystem that does not have this yet. So my guess is that your filesystem is still ext2.
Actually, it has always been ext3 but journaling is not activated by default. I also found instructions in Section 34.2.3 of the SuSE Linus Documentation though not as clear as your recipe. The missing piece was Step 2, creating the journal. Any comments on journal location or size?
1) Unmount the filesystem.
2) You have to create a journal on that filesystem. Use the "tune2fs" command with the "-j" option to accomplish this.
3) Change the "/etc/fstab" entry for that file system: change "ext2" into "ext3". Optionally, you can add the "data=journal" attribute to this entry (the attribute "data=ordered" is the default).
4) Mount the filesystem again.
I hope this helps.
It does. Thank you, Lucky -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2007-10-06 at 08:46 -0400, Lucky Leavell wrote:
Actually, it has always been ext3 but journaling is not activated by default. I also found instructions in Section 34.2.3 of the SuSE Linus Documentation though not as clear as your recipe. The missing piece was Step 2, creating the journal. Any comments on journal location or size?
If it is ext3, it has a journal. The easiest way is when creating the filesystem the first time. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHB6G6tTMYHG2NR9URAlqXAJkB4bKPIzFZ4EaB2Jn4jFLqvvwuRgCfXTPz oJabxQDSpr+sRcsz+AsEgaw= =pnpp -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 06 October 2007, Lucky Leavell wrote: .. snip....
Actually, it has always been ext3 but journaling is not activated by default. I also found instructions in Section 34.2.3 of the SuSE Linus Documentation though not as clear as your recipe. The missing piece
was
Step 2, creating the journal. Any comments on journal location or size?
If the ext3 filesystem does not have a journal, it is still an ext2 filesystem. I usually create the journal when creating the filesystem. As far as the size is concerned, just take the default value. That will be fine. Grtz, Erwin Lam -- Erwin Lam (erwin.lam@gmx.net) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos E. R.
-
Erwin Lam
-
Lucky Leavell
-
Yang Bo