Skip to contentSkip to conversation

how to sync / commit data to disk?

DISCUSSION James Pearson 1 participant 1 message Jan 24, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines
Quoted 11 lines

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

Quoted 3 lines

xfs_freeze -f
sync
xfs_freeze -u

Quoted 7 lines
Quoted 2 lines

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