<br /> Switching to EXT3 – Debian Planet

Welcome to Debian Planet

News for Debian. Stuff that *really* matters

Debian
These are important Debian sites one should not be without!

  • Official Debian site
  • Package search
  • Mailing list archives
  • Bug reports
  • Debian on CD
  • Debian Weekly News — excellent news source!
  • Unofficial APT sources:
    internatif.org
    apt-get.org

  • Developers’ Corner
  • Community
    Need help? You’re not alone on this planet.

  • debianHELP
    (User support site)

  • Debian International
  • DebianForum.de
    (Deutsch)

  • DebianForum.dk
    (Dansk)

  • EsDebian
    (Español)

  • DebianWorld
    (Français)

  • Debian-Fr
    (Français)

  • MaximumDebian
    (Italiano)

  • DebianUsers
    (Korean)

  • Debian-BR
    (Português)
  • Contribute
    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you’ve written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.

    General feedback should be sent to staff@debianplanet.org

    IRC
    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.oftc.net.

    Many of the Debian Planet staff live there so pop by and say hello.

    Debian Planet also has its own channel on the same network called #debianplanet.

    Sponsorship

    DP is sponsored by Xinit Systems.

    Domains paid for and hosted by uklinux.net.

    Buy your Debian merchandise at DebianShop.com.

    Syndicate
    XML

    Switching to EXT3
    Submitted by agl on Sunday, September 09, 2001 – 15:42
    EXT3 is the journaled version of the old-faithful EXT2, as I’m sure you’ve all heard by now. For those who want to switch to EXT3 here’s a VERY-MINI-HOWTO

    • Get kernel 2.4.9-ac9 (or a more recent ac series)
    • Build the kernel with EXT3, not EXT2 (just in case the VFS tries to mount / with EXT2 first)
    • Get the latest e2fsprogs package
    • Run tune2fs -j /dev/xxx for each filesystem you want to run EXT3 on
    • For all non-root filesystems, change their entry in /etc/fstab to use ext3
    • Install kernel and reboot

    It just worked for me
    DanielS: You can also get it for 2.2.x – kernel.org/pub/linux/kernel/people/sct/ext3/

    Control panel

    Comment viewing options:



    Select your prefered way to display the comments and click ‘Update settings’ to active your changes.

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Thursday, 2001/09/13 – 11:21
    What about qouta?
    Works? or not?
    [ Please login, or register ]

    Subject: Re: Switching to EXT3
    Author: DanielS
    Date: Monday, 2001/09/10 – 10:02
    Keep ext2 enabled, and boot your kernel with bootfs=ext3.

    🙂 d

    [ Please login, or register ]

    Subject: Re: Switching to EXT3
    Author: regeya
    Date: Monday, 2001/09/10 – 02:43
    I haven’t explored the tunable features of ext3, and allegedly one can tune for performance/greater safety, but so far ext3 code doesn’t seem to be so cpu-greedy. Maybe it’s just me. Then again, Tweedie claims CPU usage is down by at least half, IIRC.
    [ Please login, or register ]

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Sunday, 2001/09/09 – 19:28
    How about 2.2.x kernels? (Progeny or potato users)

    What’s the latest ext3 for 2.2? Where is it available?

    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: DanielS
    Date: Monday, 2001/09/10 – 10:03
    It can be found at http://your.favourite.kernel.org.mirror/pub/linux/kernel/people/sct/ext3/

    🙂 d

    [ Please login, or register ]

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Sunday, 2001/09/09 – 17:31
    Can one shrink and enlarge existing ext3 partitions just like ext2? That’s a feature I miss in XFS, which i’m using right now…
    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Monday, 2001/09/10 – 00:01
    ext3 partitions ARE ext2 partitions, with an extra file called .journal in their root directories. (and a truckload of differences in the driver)

    As such, you CAN mount an ext3 partition with the ext2 driver (and vice versa) without corrupting anything (but the .journal file is obviously gonna get out of sync).

    That’s the main beauty of ext3: It doesn’t exist per se, its a patch to ext2. Fully compatible patch. Backward and forward compatibility and then some.

    [ Please login, or register ]

    Subject: Re: Switching to EXT3
    Author: Zomb
    Date: Sunday, 2001/09/09 – 16:49
    > * Build the kernel with EXT3, not EXT2 (just in case the VFS tries to mount / with EXT2 first)

    This is bullshit. AFAIC, this doesn’t have anything to do with VFS, but with the fs autoprobing routine in the kernel. ext2 support can still remain in the kernel – in the current version, ext3 has higher priority than ext2 so it will be preffered when detecting the filesystem type.

    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Monday, 2001/09/10 – 20:28
    Might or might not be… but there is a better way to mention that… it’s called constructive critisism. Shouting ‘this is bullshit’ at someone who is trying to give people some good tips doesn’t fall in that category.
    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Tuesday, 2001/09/11 – 02:48
    i agree. Be Polite!!

    VFS is a abstract level to delegate file acess request to the uderlying filesystem.
    VFS super block contain reference to mount the underlying filesystem if the underlying filesystem is registered(through module loading or embeded in the kernel in compilation). Although, the mounting route is not come with VFS.

    It is nothing wrong to say

    (VFS tries to mount / with EXT2 first)

    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Zomb
    Date: Tuesday, 2001/09/11 – 10:31
    Okay, I have to excuse me by the original author. But the fact is, I am right. Look at your definition ” VFS is a abstract level to delegate file acess ” and you confirm this.

    You disagree with yourself, compare:
    “Although, the mounting route is not come with VFS.”
    and
    “It is nothing wrong to say (VFS tries to mount”.

    Then, you say VFS tries ext2 first. This is also not true, look in super.c. AFAIC the fs type is probed int the same order as presented in /proc/filesystems – and there ext3 has higher priority than ext2.

    Find better agruments next time, thanks.

    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Thursday, 2001/09/13 – 10:03
    Thanks your reply, this time is more comfortable.

    Here is what you say:
    fs type is probed int the same order as presented in /proc/filesystems – and there ext3 has higher priority than ext2.

    You are right when ext3 is embeded in the kernel during compilation.

    But, how about ext3 compiled as modules, ext2 embeded in the kernel?

    if vfs mount filesystem is wrong, then
    how about “you mount filesystem although u are not the implementation of the mount code”

    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Thursday, 2001/09/13 – 15:02
    Dumb question – which sane person would compile the FS driver for the /ROOT filesystem as module?
    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Friday, 2001/09/14 – 10:39
    Almost all file systems in debian kernel-images of 2.4 series are compiled in modules even ext2 .
    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Zomb
    Date: Saturday, 2001/09/15 – 15:30
    Okay, then you are speking about the initrd-type packages. Compile ext3 and ext2 as modules and declare ext3 as the FS type in fstab.Still no sane reasons to drop ext2 support from kernel as original poster suggested.
    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Sunday, 2001/09/09 – 21:47
    Even though I have ext3 as my / file system type, every 20 reboots (it’s a laptop), it goes through a full fsck(!). Anyone know why this is?
    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Zomb
    Date: Sunday, 2001/09/09 – 22:03
    Please read the hints that tune2fs gave you or read the manpage of mke2fs/tune2fs:

    tune2fs -i 0 -c 0 /dev/hdxx

    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Tuesday, 2001/09/11 – 11:18
    the manpage says its very dangerous, even with a journalized filesystem.
    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Sunday, 2001/09/09 – 19:57
    Newsflash: the root mounting code is *in* the VFS. see fs/super.c

    And what the priority of ext3 is depends on the exact patch since ext3 isn’t in the standard kernel.

    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Sunday, 2001/09/09 – 21:49
    Depends on your idea about what VFS is. mount structures are not the part of it. imo. From the head of the file:

    * super.c contains code to handle: – mount structures
    * – super-block tables
    * – filesystem drivers list
    * – mount system call
    * – umount system call
    * – ustat system call

    [ Please login, or register ]

    Subject: Re: Switching to EXT3
    Author: Zomb
    Date: Sunday, 2001/09/09 – 16:41
    Even the -ac kernel does not have the latest ext3 version. Patch for it is available on the
    usual place
    .

    My precompiled kernel package with 2.4.10pre4 and ext3-0.9.9 can be found on
    http://people.debian.org/~blade/bf-ext3/src/

    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Monday, 2001/09/10 – 14:27
    thx!
    [ Please login, or register ]

     

    Subject: Re: Switching to EXT3
    Author: Anonymous
    Date: Sunday, 2001/09/09 – 23:43
    I used those install floppies to install Woody. Nice work!! All I needed was two floppies and everything else was downloaded off of the ‘net.

    Stef

    [ Please login, or register ]

    Search articles



    Category
    ·News (133)
    ·Features (1)
    ·Site News (8)
    ·HOWTOs (31)
    ·Tips (3)
    ·Opinion (11)
    ·Q & A (15)

    Log in
    Username:

    Password:

    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-236 kdelibs
    DSA-235 kdegraphics
    DSA-234 kdeadmin
    DSA-233 cvs
    DSA-232 cupsys
    DSA-231 dhcp3
    DSA-230 bugzilla
    DSA-229 imp
    DSA-228 libmcrypt
    DSA-227 openldap2

    Latest poll: What platforms do you run on?
    i386 only, what else is there?
    Some i386, some others
    PowerPC only
    Some other architecure
    All the way with m68k!

    home · archives · news feeds · about · polls · search · sections · user account

    Powered by the amazing Drupal

    Debian Planet is not officially related to the Debian Project.
    Debian and the Debian logo are trademarks of Software in the Public Interest, Inc.