Reboot discards last second writes on XFS

asked 2018-04-19 06:07:59 -0500

Conz gravatar image

I have noticed that for a while 'last second writes' on a reboot tend to get lost on my server resulting in either a 0 sized file or just not having saved at all.

Apparently this has something to do with my / being XFS file system according to a report I found in a transmission bug report (which is 1 of the programs that has this issue) Bash history of screen sessions is also not being written properly.

I'm not 100% sure when this started happening but I believe it started after the FC26->27 upgrade.

Server is running in runlevel 3 so no GUI active.

Disk is a PX-AG512M6e which is a 4x pci-e ssd.

Kernel is 4.15.16-300.fc27.x86_64

edit retag flag offensive close merge delete


Can you give an example of a last second write followed a reboot? And do you have reproduce steps? And if you issue a sync command after that write but before the reboot does the problem still happen? I think I know what's going on...

cmurf gravatar imagecmurf ( 2018-04-19 23:09:26 -0500 )edit

How did you troubleshoot this? I‘m using XFS on all my systems and haven’t noticed anything like this.

Aeyoun gravatar imageAeyoun ( 2018-04-21 12:39:39 -0500 )edit