[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-xfs
Subject:    Re: grub no longer being maintained?  drops support for XFS?
From:       Eric Sandeen <sandeen () sandeen ! net>
Date:       2009-06-12 14:28:08
Message-ID: 4A3265F8.1080703 () sandeen ! net
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic