public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: "Linda A. Walsh" <suse@tlinx.org>
Cc: SuSE Linux <opensuse@opensuse.org>, xfs-oss <xfs@oss.sgi.com>
Subject: Re: grub no longer being maintained?  drops support for XFS?
Date: Fri, 12 Jun 2009 09:28:08 -0500	[thread overview]
Message-ID: <4A3265F8.1080703@sandeen.net> (raw)
In-Reply-To: <4A31E0FF.8050400@tlinx.org>

Linda A. Walsh wrote:
> I just saw this bug, https://bugzilla.novell.com/show_bug.cgi?id=459792,
> that reports a problem in OpenSUSE with Grub being unable to boot with
> XFS when someone upgraded from OpenSuSE11.0 to OpenSuSE11.1.
> Quote:
> 
> Grub is unable to start if /boot is on xfs partition.
> Found after updating from 11.0 to 11.1.

Well, I see we have a thread...

Grub makes bad assumptions about what it can do to a filesystem, and the
problems lie with reading directly from and writing directly to a
filesystem's block device while it's -mounted-, when grub is being
installed.

Sometimes this even trips up ext3 as well, but the problem is more
obvious with xfs.  If you look at all the sync sync sync sleeps in grub
you'll see that they are desperately trying to make the block device
coherent with the filesystem, which they simply cannot do with syncs and
sleeps.  Some distros have tried adding xfs_freeze calls to quiesce the
filesystem, and when this can be done, it generally works, but it'd be
better if grub would just not do IO to the device while it's mounted, in
general.

That being said, hch's recent xfs sync changes should make this much
more likely to succeed in the future at least, despite grub's notions of
what's safe.

-Eric

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      parent reply	other threads:[~2009-06-12 14:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-12  5:00 grub no longer being maintained? drops support for XFS? Linda A. Walsh
2009-06-12  5:27 ` Sujit Karataparambil
2009-06-12  5:49   ` Jason White
2009-06-12  6:13     ` Sujit Karataparambil
2009-06-12  6:38   ` grub no longer being maintained? so Suse drops support for XFS boot? Linda Walsh
2009-06-12  9:14     ` Jason White
2009-06-12  9:28     ` Matthias Schniedermeyer
2009-06-12  9:44       ` Michael Weissenbacher
2009-06-12 10:16         ` Jason White
2009-06-12 14:28 ` Eric Sandeen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A3265F8.1080703@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=opensuse@opensuse.org \
    --cc=suse@tlinx.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox