<br /> Take the plunge, the water is nice and warm (upgrading 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
    (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)

  • DebianHOWTO (Deutsch)
  • 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.

    Donate
    Support Debian through Bytemark Hosting. At least £7 will be given for each new account

    Syndicate
    XML

    Take the plunge, the water is nice and warm (upgrading to ext3)
    Submitted by robster on Saturday, March 30, 2002 – 10:47
    For those who have not yet taken the plunge and upgraded from ext2 to ext3, now is as a good a time as any to experience the awe that is this particular journalled filesystem. Read more for full details of how to plunge into the tranquil waters of ext3.
    Ext3 as it suggests is a new, enhanced version of the ext2 filesystem, which is the most common Linux filesystem. It’s fast, it’s clean, the code has been tried and tested and most importantly it works.
    As drive capacity increases, the problem of the dreaded fsck becomes more and more irritating, as it can take a very long time to check filesystems the size of modern disks. Journalled filesystems relieve this problem — they don’t make your data more secure, but they can help reduce the problems of a fsck on power failure for example. All write operations are recorded in a ‘Journal’ on the disk, operations are written to the journal and only when they have successfully been written to the disk are the entries removed from the journal. If a power failure occurs, then the write operations which may have not been completed or only half successfully can be carried out when the journal is replayed on the machine at boot up. Thus removing the need for a fsck on boot up.
    So how do I use this great world saving innovation? First you need to have an up-to-date version of e2fsprogs. The versions in woody and sid are both happy to talk ext3. You will also need a kernel with ext3 support included, I recommend you include this into the kernel, not as a module. Kernel compilation is beyond the scope of this document, however I suggest you read my article on compiling kernels the Debian way. Follow these instructions using a relatively recent kernel source, e.g. 2.4.18 or 2.4.17.
    Now that you have kernel support, you need to create the journals on your ext2 partitions. The great thing about ext3 is that it’s built on top of ext2 and you can mount a cleanly unmounted ext3 partition at ext2. Switching to ext3 is also non-destructive, however I do recommend you backup any very very important data (you are doing that anyway, aren’t you!).
    To create the journal, use tune2fs -j <partition device>. If the partition is mounted then a .journal file is created. It is important you do not delete this or back it up. If it isn’t mounted, the journal is hidden on the disk. You can use a seperate drive to store the journal but this is beyond the scope of this document.
    If you are creating partitions from scratch, you can use mkfs.ext2 -j <partition device>. You need to edit /etc/fstab to tell it to mount the partitions as ext3. They way I do this is to just change the “ext2” to “auto”. This will make mount try all filesystems including ext3, followed by ext2.
    I hope you find this article encourages you to dive in and upgrade to ext3!
     
     
    spellchecked by Joy 🙂 PHP-Nuke sucks ass, it changes my &lt; and &gt; entities back to the characters every time…

    Control panel

    Comment viewing options:



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

    Subject: Re: Take the plunge, the water is nice and warm (upgrading t
    Author: Stef
    Date: Saturday, 2002/03/30 – 19:11
    How can a person find out which mode their Ext3 journal is working in and how to change it?
    [ return ]

     

    Subject: Re: Take the plunge, the water is nice and warm (upgrading t
    Author: undefined
    Date: Saturday, 2002/03/30 – 20:38
    look here, specifically at the section:

    Q: I updated ext3 today. Got all of my mounts converted. Now on boot, I see: “EXT3-fs: mounted filesystem with ordered data mode”. Is this normal?

    it mentions that you might see displayed what mode you are in at boot up, i assume when the filesystems are mounted at boot-time.

    that section also goes on to explain what the default modes are for v1 & v2, and what the mount options are to mount in a different mode (which you would place in /etc/fstab if you want the options to take effect each boot).

    sorry, i know the referenced faq doesn’t directly answer your question, but it’s the best explanation i’ve found on the web. you might want to try the ext3 man page or docs that accompany the official ext3 code (on andrew morton’s website?).

    btw, does anybody know if the ext3 forced sync issue has been addressed? i have a laptop, and the fact that ext3 bypasses the kernel syncing mechanism, insures that my laptop’s harddrive never spins down as ext3 syncs every 5 seconds.

    [ Please login, or register ]

    Search articles



    Category
    ·News (178)
    ·Features (4)
    ·Site News (8)
    ·HOWTOs (37)
    ·Tips (4)
    ·Opinion (12)
    ·Q & A (18)
    ·Sponsorship (1)

    Log in
    Username:

    Password:

    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-307 gps
    DSA-306 ircii-pana
    DSA-305 sendmail
    DSA-304 lv
    DSA-303 mysql
    DSA-302 fuzz
    DSA-301 libgtop
    DSA-299 leksbot
    DSA-300 balsa
    DSA-297 snort

    Latest poll: My Favorite Woody Backport Repository
    OpenOffice.Org
    9%
       
    KDE 3
    26%
     
    GNOME 2
    24%
       
    Mozilla 1.3
    6%
       
    BlackBox
    2%
       
    XFree86
    9%
       
    LAME
    1%
       
    Mutt
    2%
       
    Blender
    1%
       
    No backports on my Woody
    21%
       

    Total votes: 412
    7 comments · older polls

    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.