[Top] [All Lists]

Re: grub no longer being maintained? drops support for XFS?

To: "Linda A. Walsh" <suse@xxxxxxxxx>
Subject: Re: grub no longer being maintained? drops support for XFS?
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Fri, 12 Jun 2009 09:28:08 -0500
Cc: SuSE Linux <opensuse@xxxxxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <4A31E0FF.8050400@xxxxxxxxx>
References: <4A31E0FF.8050400@xxxxxxxxx>
User-agent: Thunderbird (Macintosh/20090302)
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

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

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.


<Prev in Thread] Current Thread [Next in Thread>