On Tue, Apr 18, 2017 at 11:55:00AM -0600, JD wrote: > > > On 04/18/2017 04:02 AM, Patrick O'Callaghan wrote: > > On Mon, 2017-04-17 at 21:07 -0600, JD wrote: > > > Hi all, > > > is there a way to force the flush (write out) of ext3 journal AND data > > > WITHOUT unmounting it? > > sync(1) > > > > poc > Tried it. > No go. > Sync seems to only flush out the unwritten metadata inodes, not the data > pages. Perhaps folklore from old Unix days. On power down admins were told to "sync ; sync ; sync". Sync was said to flush things already queued and que things that were "dirty". The second sync flushed them. Third was to give time for writes to complete. jl -- Jon H. LaBadie jonfu@xxxxxxxxxx _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx