A suggested recipe:
1. Make sure you have tune2fs installed. It is probably /sbin/tune2fs, and so won't be in your path as a user, but will be as root.
2. Unmount any unused partitions (nfs or samba mount points, windows partitions if you dual-boot).
3. Run this command as root: tune2fs -j /dev/hdxx where hdxx is the device name for your hard drive partitions (hda1, hda5, etc.). You need to run this for each partition you want to convert -- you do not need to do this on your swap partition, only on your ext2 partitions.
4. Edit /etc/fstab, and change all instances of ext2 to ext3.
The ext.o and jbd.o that you need are selected as modules in the 2.4.16 SuSE kernel. Check that the ext and jbd modules are loaded in /etc/rc.config: ex.: INITRD_MODULES="dc395x ide-scsi ext jbd" Download this before you run mk_initrd: http://sdb.suse.de/en/sdb/html/ext3_rootfs_73.html Then run: mk_initrd lilo and reboot. Jostein
===== Original Message From Milnes Terry SSgt 52 LG/LGOP
===== Yea, it is my fault as I **ASSUMED** that SuSE would default to reiserfs. I know that I cannot just change my fs on the fly to reiser without deleting all of my files. I know that ext3 can do this without deleting the files on my drive. I just need to know if ext3 is compiled in to the 2.4.16upgrade kernel or is it a module. And, if so, do I need any extra programs to do the converting? Thanks! NeoFax
-----Original Message----- From: Chin Kwie Joe AJST (Armand) [mailto:ajstchinkwiejoe@hr.nl] Sent: Monday, February 11, 2002 1:53 PM To: 'Milnes Terry SSgt 52 LG/LGOP'; SuSE Mail (E-mail) Subject: RE: [SLE] EXT3?
I tried 7.3 once. During installation you need the option expert partitioning i beleive. There you can define mount points for your partitions and select the fs.
I beleive you can also convert ext2 to ext3 as it only adds a jfs to it.
Regards, Armand
#-----Oorspronkelijk bericht----- #Van: Milnes Terry SSgt 52 LG/LGOP #[mailto:terry.milnes@SPANGDAHLEM.af.mil] #Verzonden: maandag 11 februari 2002 13:38 #Aan: SuSE Mail (E-mail) #Onderwerp: [SLE] EXT3? # # #How do I get ext3 to work in SuSE 7.3 kernel 2.4.16 upgrade? #Is there RPMs #out there that I need and do I do the rc.config change like #reiserfs? I.e. #initrd_module reiserfs,ext3. Currently I have an ext2 #directory as SuSE 7.3 #as default sets up ext2 instead of reiserfs or ext3.(After #spending so much #money to help develop reiserfs.) Any help would be appreciated. Thanks! # #NeoFax # #-- #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 #
Deze e-mail en de inhoud daarvan is vertrouwelijk. Indien dit bericht niet voor u bestemd is, verzoeken wij u deze e-mail direct aan ons te retourneren en daarna te vernietigen. In dit geval is het ook niet toegestaan deze e-mail en de inhoud daarvan te gebruiken, kopiëren of openbaar te maken aan derden. Holland Railconsult B.V. sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail.
This e-mail and its contents are confidential and may be legally privileged. If this e-mail is not intended for you, please contact us immediately by reply e-mail and destroy the e-mail. In this case, please do neither use, nor copy or disclose the e-mail and its contents to anyone. Holland Railconsult B.V. is neither liable for the proper and complete transmission of the information in this e-mail nor for any delay in its receipt.
-- 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
Il 10:01, martedì 12 febbraio 2002, Jostein Berntsen ha scritto:
A suggested recipe:
1. Make sure you have tune2fs installed. It is probably /sbin/tune2fs, and so won't be in your path as a user, but will be as root.
2. Unmount any unused partitions (nfs or samba mount points, windows partitions if you dual-boot).
3. Run this command as root: tune2fs -j /dev/hdxx where hdxx is the device name for your hard drive partitions (hda1, hda5, etc.). You need to run this for each partition you want to convert -- you do not need to do this on your swap partition, only on your ext2 partitions.
4. Edit /etc/fstab, and change all instances of ext2 to ext3.
The ext.o and jbd.o that you need are selected as modules in the 2.4.16 SuSE kernel. Check that the ext and jbd modules are loaded in /etc/rc.config:
ex.:
INITRD_MODULES="dc395x ide-scsi ext jbd"
Download this before you run mk_initrd:
http://sdb.suse.de/en/sdb/html/ext3_rootfs_73.html
Then run:
mk_initrd lilo
and reboot.
Jostein
There is some disadvantages switching from ext2 to ext3? For example, will any ext2 resizing tool resize ext3? What about performance? (I havent been looking around yet). Praise
On Tue, 12 Feb 2002 15:56:40 +0100, Praise wrote:
There is some disadvantages switching from ext2 to ext3? For example, will any ext2 resizing tool resize ext3? What about performance? (I havent been looking around yet).
In theory, yes, you will take a performance hit when switching from ext2 to ext3. Journalling inevitably means more disk activity. The advantage arises when you are rebooting and don't need to spend hours fscking a large disk and when you don't lose data. (I upgraded to ext3 over the weekend after I lost my mail filtering configuration to a power failure.) As I was messing with partitions and all that, I also changed one of my unused partitions into an additional swap partition, in preparation for a planned memory addition. So what I'm going to say about perceptible performance may be skewed. What I've seen so far seems to be an improvement in performance, particularly with the problems which seem to be associated with the virtual memory management problems in the 2.4 kernels. Like I said, I added a swap partition, so there's no way to know how much of this is due to adding a swap partition and how much was due to switching to ext3. As for resizing, I would expect that the resizing tool should operate on an unmounted ext3 partition just as it does an ext2 partition. Let me introduce Stephen C. Tweedie, the developer of ext3. Here's what he says on the subject: http://www.linuxarkivet.nu/mlists/ext3-users/0112/msg00125.html Use parted. -- David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/resume.html
On Tue, 2002-02-19 at 01:18, David Benfell wrote:
The advantage arises when you are rebooting and don't need to spend hours fscking a large disk and when you don't lose data. (I upgraded to ext3 over the weekend after I lost my mail filtering configuration to a power failure.)
Let me second this!! I was messing with a new kernel over the weekend, and it wasn't (isn't) so very happy... The only way to re-gain the machine was to hit the "reset" switch. "replaying 8 transactions in 3 seconds" Man, that is **so** much nicer than waiting for a huge-honkin' fsck. I happen to use reiserfs rather than ext3, but either way: journalling is good :-) I also have a 5 year-old. And, we experience a couple of power-failures every year. I would not go back to a non-journalled fs again... -Gord -- Gordon Pritchard, P.Eng., Member IEEE Technical University of B.C. - Research Lab Engineer mailto:gordon.pritchard@techbc.ca direct phone: 604-586-6186
participants (4)
-
David Benfell
-
Gordon Pritchard
-
Jostein Berntsen
-
Praise