On 04/18/2017 10:55 AM, 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.
How can you tell that? If it's not, then that's a serious kernel bug.
See the man page. There are options for only metadata or only file
data, but the default is both.