<br /> XFS issues in Sarge’s kernel – Debian Planet

Welcome to Debian Planet

News for Debian. Stuff that *really* matters


Debian Planet is hosted by Bluelinux Internet Services Ltd. Offering a special discounted rate for Free and Open Source software community members.

Buy your Debian merchandise at DebianShop.com.

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

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

  • Planet Debian
  • debianHELP
    (User support site)

  • Debian Administration
    (SysAdmin resources)

  • Debian International
  • DebianForum.de

  • DebianForum.dk

  • EsDebian

  • DebianWorld

  • Debian-Fr

  • MaximumDebian

  • DebianItalia
  • DebianUsers

  • Debian-BR

  • DebianHOWTO

  • Russian Debian (Русский)
  • Debian-JP
  • Debian Suisse
  • 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

    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.


    XFS issues in Sarge’s kernel
    Submitted by robster on Friday, April 22, 2005 – 09:40
    SargeThere are unfortunately several problems with the XFS support included in the kernel included with sarge. This is of course used by the “linux26” flavour in the installer, this is not however the default since sarge is shipping with 2.4.27 as the default kernel. Many users however will want to use the 2.6 variant for improved hardware support.

    Diagnosis of the problem is proving somewhat difficult, the main symptoms are kernel panics and lock ups when putting the file system under moderate load. In my experience this led to a corrupted journal which xfs_repair was forced to throw it away. Not particularly nice since this was in the middle of a large collection of package upgrades. Even if you get away with your metadata in a reasonable condition your data may well still be hosed, if you don’t unmount correctly, since XFS does not write data to disk immediately, it instead waits to build up some idea of how large the file will be and then allocates one nice large contiguous extent for the file (delayed allocation). (Of course since your disks are going to write caching anyway that point is pretty moot.) To prevent information leakage any extents belonging to a file that have not been completely written out are filled by null bytes. If this file happens to be the libc.so.6 that most of your semi-installed userland wants to use then you are somewhat stuffed. Some interesting bugs on this: #274988, #278161, and #292290.

    There are certainly no plans to replace 2.6.8 in the sarge installer since this would require a significant amount of work at a really bad time. You should aim to immediately upgrade your kernel as soon as possible. With a bit of cunning you can even do this before your first boot. Simply switch to spare virtual terminal, chroot into the target, mount /proc, add a source to the sources list and then install the new kernel, update your boot loader and you’re done.

    Category: News

    Control panel

    Comment viewing options:

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

    Subject: Was this real, was this resolved?
    Author: DrCrane
    Date: Wednesday, 2005/08/24 – 03:24
    Anyone have updates on this? I was planning to use xfs on a new server but the BTS comments have me scared.
    [ Please login, or register ]

    Search articles

    ·News (406)
    ·Features (5)
    ·Site News (16)
    ·HOWTOs (79)
    ·Tips (21)
    ·Opinion (29)
    ·Q & A (35)
    ·Sponsorship (1)
    ·Press Releases (5)

    Log in


    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-943 perl
    DSA-942 albatross
    DSA-903 unzip
    DSA-941 tuxpaint
    DSA-940 gpdf
    DSA-939 fetchmail
    DSA-938 koffice
    DSA-937 tetex-bin
    DSA-936 libextractor
    DSA-935 libapache2-mod-auth-pgsql

    Planet Debian
    Wouter Verhelst: On flames.
    Joachim Breitner: Fixing my planet.debian.org subscription
    Steve Kemp: She has the blood of reptile just underneath her skin
    Pierre Habouzit: Married …
    Pierre Habouzit: whitelister 0.4 (SPF) and aaege ….
    Pierre Habouzit: kde 3.4.1 upload
    Holger Levsen: In case you are running OpenWRT
    Michael Janssen: Shiny roofs are good for the environment!
    Matthew Palmer: Work it out yourself, dammit!
    Axel Beckert: Tell me which music you like and I tell who you are

    Debian Administration
    How do I prevent rebuilt packages from being upgraded?
    Disabling the print-screen key inside X?
    Monitoring your bandwidth usage with vnstat
    Ruby on Rails on Debian
    Choice for Virtual Private Servers?
    Monitoring your hardware’s temperature
    Sending mail with Exim from ‘dialup’ IP
    How to recover GRUB Debian Sarge after reinstalling Windows
    Getting a GUI
    Spam filtering with Pyzor and SpamBayes

    Latest poll: Which release scheme should Debian follow?
    Continue this way (release when ready)
    Give up on releasing
    Split the release up
    Speed the release up
    Crank the workload up (see DebianWiki ReleaseProposals for details on these)

    Total votes: 372
    0 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.