Gnu iBook 2 wrote:
OK, I tried it with jbd module as well, but no go. I still get the message during bootup:
<3>ext3: No journal on filesystem on ide0(3,1)
How do i get a journal on ide0(3,1)?
I ran tune2fs -j on /dev/hda1
On Thursday, December 20, 2001, at 12:17 PM, Purple Shirt wrote:
you need jbd in conjunction with ext3 driver. go add it to mk_initrd and rerun script and reboot.
INITRD_MODULES="jbd ext3"
Make sure you have the journal created. In my case: # tune2fs -l /dev/hde2 | grep features Filesystem features: has_journal filetype needs_recovery sparse_super If the has_journal does not appear, create the journal. If it fails, try to remove the .journal file from the filesystem. So if you are trying this on a filesystem /dev/hda1 mounted as /usr...u would do: # cd /usr; rm .journal; tune2fs -j /dev/hda1 if you don't find a .journal....try: # cd /usr/; chattr -i .journal; rm .journal; tune2fs -j /dev/hda1 -- Nadeem Hasan nhasan@nadmm.com http://www.nadmm.com/
Ok. I got my /boot partition to convert to ext3. The key was running the tune2fs -j /dev/hda1 command with the partition unmounted. Various documents say that it does not matter if the partition is mounted or not, but that was not the case for me. Next I wanted to convert / to ext3 as well. I can only conclude that it is not possible with a stock SuSE kernel. I need to build a fresh kernel. This is because SuSE built the kernel with ext3 as a module, and the system can only load the modules from a mounted partition, so it mounts / ext2 in order to get to the modules. I don't think it is possible to then go back and remount / as ext3. On Friday, December 21, 2001, at 02:16 PM, Nadeem Hasan wrote:
Gnu iBook 2 wrote:
OK, I tried it with jbd module as well, but no go. I still get the message during bootup:
<3>ext3: No journal on filesystem on ide0(3,1)
How do i get a journal on ide0(3,1)?
I ran tune2fs -j on /dev/hda1
On Thursday, December 20, 2001, at 12:17 PM, Purple Shirt wrote:
you need jbd in conjunction with ext3 driver. go add it to mk_initrd and rerun script and reboot.
INITRD_MODULES="jbd ext3"
Make sure you have the journal created. In my case:
# tune2fs -l /dev/hde2 | grep features Filesystem features: has_journal filetype needs_recovery sparse_super
If the has_journal does not appear, create the journal. If it fails, try to remove the .journal file from the filesystem. So if you are trying this on a filesystem /dev/hda1 mounted as /usr...u would do:
# cd /usr; rm .journal; tune2fs -j /dev/hda1
if you don't find a .journal....try:
# cd /usr/; chattr -i .journal; rm .journal; tune2fs -j /dev/hda1
-- Nadeem Hasan nhasan@nadmm.com http://www.nadmm.com/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
On Sat, 22 Dec 2001 20:39:31 -0800
Gnu iBook 2
Next I wanted to convert / to ext3 as well. I can only conclude that it is not possible with a stock SuSE kernel. I
It is possible. I converted mine this way: (1) Create a rescue disk. (2) Now put the new e2fsck and tune2fs on it. Make sure that you copy all of the dependent libraries also. You can check which libraries are needed by running ldd on e2fsck and tune2fs. (3) Boot from the rescue disk and convert the partition to ext3. Regards, Charles -- The box saids Windows XP or better, so I installed Linux
On Sunday, December 23, 2001, at 06:41 AM, Charles Philip Chan wrote:
On Sat, 22 Dec 2001 20:39:31 -0800 Gnu iBook 2
wrote: Next I wanted to convert / to ext3 as well. I can only conclude that it is not possible with a stock SuSE kernel. I It is possible. I converted mine this way:
(1) Create a rescue disk.
I ended up getting a rescue disk from Debian Woody that already had a capable tune2fs on it, and was able to convert the root partition to ext3 with that. While booted with that rescue disk, I am able to mount the partition as ext3. So the partition is converted. It "has_journal" But it will not go to ext3 when I boot from the hd. In spite of specifying ext3 in /etc/fstab, it still boots to ext2. The other partition boots to ext3, so the modules are there, they are just not being used for the / partition.
(2) Now put the new e2fsck and tune2fs on it. Make sure that you copy all of the dependent libraries also. You can check which libraries are needed by running ldd on e2fsck and tune2fs.
(3) Boot from the rescue disk and convert the partition to ext3.
Regards, Charles
-- The box saids Windows XP or better, so I installed Linux
On Sun, 23 Dec 2001 09:37:49 -0800
Gnu iBook 2
But it will not go to ext3 when I boot from the hd. In spite of specifying ext3 in /etc/fstab, it still boots to ext2. The other partition boots to ext3, so the modules are there, they are just not being used for the / partition.
I have them compiled into the kernel now but I got it working at one point with modules by doing the follow: (1) Make a directory called /initrd. (2) Download the Redhat source rpm for mkinitrd and compile it (I could never get it working with SuSE's mk_initrd). (3) Make the initrd imagine. I believe the command is: mkinitrd --preload=jdb --preload=ext3 image_name kernel_version Consult the manpage. (4) Put the appropriate line in lilo in the correct section, ie: initrd=/boot/image_name and run lilo (5) Reboot and you should be done. Regards, Charles -- The box saids Windows XP or better, so I installed Linux
Charles Philip Chan wrote:
On Sun, 23 Dec 2001 09:37:49 -0800 Gnu iBook 2
wrote: But it will not go to ext3 when I boot from the hd. In spite of specifying ext3 in /etc/fstab, it still boots to ext2. The other partition boots to ext3, so the modules are there, they are just not being used for the / partition.
I have them compiled into the kernel now but I got it working at one point with modules by doing the follow:
(1) Make a directory called /initrd.
(2) Download the Redhat source rpm for mkinitrd and compile it (I could never get it working with SuSE's mk_initrd).
Egads.. download the Redhat rpm to use on SuSe? Ha ha, you have alot of nerve putting that on this list. :-) (At least you could have said " get the tarball") Just kidding. Suse's mk_initrd works just fine. The secret is it defaults to the modules listed in rc.config under "mk_initrd modules; and it defaults to the "suse-naming-scheme " for kernels. So if you are rolling and naming your own kernels, you need to read "man mk_initrd" to see how to change the default settings.
On Sun, 23 Dec 2001 18:25:08 -0500
zentara
Egads.. download the Redhat rpm to use on SuSe? Ha ha, you have alot of nerve putting that on this list. :-) (At least you could have said " get the tarball") Just kidding.
Yes, nerve of steel ;-).
Suse's mk_initrd works just fine. The secret is it defaults to the modules listed in rc.config under "mk_initrd modules; and it defaults to the "suse-naming-scheme " for kernels. So if you are rolling and naming your own kernels, you need to read "man mk_initrd" to see how to change the default settings.
When I did that I was using a SuSE kernel, actually one of Herbert's. I usually like to compile the modules into the kernel. However, it did not work on 2.4.13(?), but would compile as modules. The problem that I had IIRC was exactly the same as the originator of the thread: all partitions with the exception of / would mount as ext3. So I decided to try Redhat's mkinitrd (since they paid for ext3 development) to see if it worked better and it did. This was way before SuSE supported ext3 though, I would assume that it works now. Regards, Charles -- The box saids Windows XP or better, so I installed Linux
On Sunday, December 23, 2001, at 03:25 PM, zentara wrote:
Suse's mk_initrd works just fine. The secret is it defaults to the modules listed in rc.config under "mk_initrd modules; and it defaults to the "suse-naming-scheme " for kernels.
Sorry, but mk_initrd does not work for me. Not on the root filesystem. I have newly installed 7.3 system, stock kernel 2.4.10-4GB, I have INITRD_MODULES="jbd ext3" in /etc/rc.config. Doesn't work.
I have just updated my linux ver 7.0 to 7.3 and I want to run an online update, - I see when I do this i still get update for 7.0, someone know how I can change this so I get update for 7.3?? I wish you a merry chistmas Thanks Tage Danielsen Denmark
What is the advantage of moving to ext3 (as opposed, say, to reiserfs)?? -- dj tuchler dtuchler@earthlink.net
As opposed to reiserfs? We make the switch on the fly, no need to erase all the data, reformat, re-install. It should be very quick to switch an existing system to ext3, assuming you have a kernel with ext3, either built-in, or as modules. From my experience, better built-in then modules. In theory, all you need to do to convert an existing system from ext2 to ext3 is run "tune2fs -j /dev/hdxx", change the fs for that partition to auto in /etc/fstab, and reboot. May not work if your mk_initrd/modules are a bit buggy. Apart from that, I don't have any knowledge as to which is better, safer, faster; ext3 or reiserfs. Could be a six of one, half a dozen of the other for most people. On Sunday, December 23, 2001, at 10:42 AM, Dennis J. Tuchler wrote:
What is the advantage of moving to ext3 (as opposed, say, to reiserfs)?? -- dj tuchler dtuchler@earthlink.net
Hi gyus.. is there any howto or docs about how to setup a DMZ like thw following using SuSE Firewall ? Internet----->Firewall/NAT--LAN | | WWW DMZ----Email Others Note: I need to host multiple virtual domains for WWW and for email's Thanks in advance. --ed
On Sun, 23 Dec 2001 12:42:49 -0600
"Dennis J.Tuchler"
What is the advantage of moving to ext3 (as opposed, say, to reiserfs)??
(1) Ease of upgrade. You can convert any ext2 partition to ext3 without backing up, making the file system and restoring the data. (2) Maturity of rescue tools. Ext3 uses the same tools as ext2 which have been in development for years. (3) If you don't mind the speed hit, ext3 (AFAIK) is the only journaling file system that can journal data as well as metadata. Regards, Charles -- The box saids Windows XP or better, so I installed Linux
participants (7)
-
Charles Philip Chan
-
Dennis J.Tuchler
-
Gnu iBook 2
-
Linux - User
-
Nadeem Hasan
-
Tage
-
zentara