Skip to contentSkip to conversation

XFS corruption during power-blackout

DISCUSSION Al Boldi 1 participant 1 message Jul 16, 2005 VFS

lore
Share & tools
lore

Al Boldi

author
#0 lore raw

Russell Howe wrote: {

XFS only journals metadata, not data.

So, you are supposed to get a consistent filesystem structure, but your data consistency isn't guaranteed.
}

What did XFS do to detect filedata-corruption before it was added to the vanilla-kernel?

Maybe it did not update the metadata before the fs was sync'd?

Really, it should wait for fs sync and then update metadata!

This would imply 2 syncs in succession to ensure updated filedata/metadata consistency, which is OK.

Is it possible to instruct XFS to delay metadata update until after a filedata sync?

Thanks!

Al