xfs
[Top] [All Lists]

Re: how to sync / commit data to disk?

To: xfs@xxxxxxxxxxx
Subject: Re: how to sync / commit data to disk?
From: James Pearson <james-p@xxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Jan 2007 16:28:33 +0000
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040524
grub is broken

this comes up all the time, there are various work-arounds but it
doesn't change the fact that GRUB IS BROKEN

it would be nice if someone would just address it from that end

> xfs_freeze -f
> sync
> xfs_freeze -u

sync before freeze (actually, I'm not sure a sync there is necessary
but it can't hurt)

Its not necessary (would be a bug if so).

FWIW, this hack can be better achieved in a filesystem independent way
by doing a remount,ro ... remount,rw instead of freeze/thaw.

This is the way that I do it - based on info in an earlier posting on this list:

<http://marc.theaimsgroup.com/?l=linux-xfs&m=112096901910385&w=2>

James Pearson


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