<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: Anonymous
    Date: Saturday, 2002/03/30 – 12:28
    I make it sound like my system is horribly unstable,
    it isn’t, I’ve had X freeze on two occations with debian woody, both times the glxgears OpenGL demo was running, I’ve yet to figure it out, nothing in the XFree86 logs, no core dumps, no nothing. I would
    guess it’s somewhat related to the NVIDIA drivers.
    Oh well.
    [ return ]

     

    Subject: Re: Take the plunge, the water is nice and warm (upgrading t
    Author: Anonymous
    Date: Sunday, 2002/03/31 – 02:28
    People automatically jump to the conclusion that any crash of X or the whole system with an nvidia card that it is the closed source drivers. I remember during the 2.4.9 kernel my X would freeze and lock up the entire system. First people told me”that’s impossible linux doens’t crash, you must just be stupid”, then less zealous people who realize that yes linux can crash then said “oh it’s those evil closed source drivers of course, so you deserve it for using nvidia” then of course time goes on and it comes to light that they where all full of shit and that there was a bug in the SB Live driver that caused the whole system to lock up…and as someone else stated there where some strange AMD issues lurking around cuasing trouble. So naturally everyone will blame the closed source driver but usually these attacks are unfounded. I have been using the binary nvidia driver and for the last 6 months at least it has been perfectly stable. Of course you can switch to the open source nvidia driver, yes X comes with a perfectly fine set of drivers for nvidia cards that are on par with any other open source drivers. The binary drivers are even better though, and now are quite stable. I’m not defending closed source drivers, of course that is undesirable and we all know the problems with closed source…but don’t let people put politics ahead of finding the real root of the problem, which may have absolutely nothing to do with the nvidia drivers whatsoever.
    [ Please login, or register ]

     

    Subject: Re: Take the plunge, the water is nice and warm (upgrading t
    Author: Anonymous
    Date: Saturday, 2002/03/30 – 17:05
    Have you tried enabled the Magic SysRq key? X locks
    up on me a lot when I use GL apps (try about every
    time an OpenGL program exits), and it seems like you
    would have to reboot since the keyboard and mouse
    aren’t working…except you don’t. Alt-SysRq-K kills
    X for me every time. The only problem is that it
    destroys my consoles (when I switch to another vt
    I see what was last on my screen), so you have to
    use a display manager or you can’t start X again.
    You can always start X like this of course:
    while :; do startx; done, but the display
    manager works better (at least for me).
    If you don’t know how to enable the Magic SysRq key:
    choose your favorite kernel config method, go to
    the “Kernel Hacking” section, enable “kernel debugging,”
    and enable “Magic SysRq Key.” Read the docs on it first;
    if other users can use your system, there may be
    some security issues with it.
    – unknown_lamer (no email/website now, hackedtobits
    is gone so I need a new home)
    [ Please login, or register ]

     

    Subject: Re: Take the plunge, the water is nice and warm (upgrading t
    Author: mwright
    Date: Saturday, 2002/03/30 – 16:15
    I used to use the NVidia drivers (with a GeForce2), and have a crash (complete computer crash; not even the SysRQ keys would work) about every week or two. I’ve since switched to an ATI Radeon, and don’t have these problems anymore. So, I’d assume it’s the NVidia drivers (yeah, this is a totally unscientific way of measuring it, but apparently, a lot of people have problems with them).
    [ Please login, or register ]

     

    Subject: NVIDIA
    Author: ex-bart
    Date: Saturday, 2002/03/30 – 14:41
    I had that Problems with NVIDIA (Riva TNT II) also. I don’t remember how I worked around it, I think it was something like disabling frambuffer support when compiling the kernel.

    That card caused me so many troubles, I’m now using an older Matrox instead…

    [ 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.