XFS: corruption of in-memoryPosted: 2019-08-05
Well… one of my partitions, on a SSD, suddenly died. I’ve been building packages in a virtual machine (VB 5.2.28 r130011) of Slackware 14.2 x86_64. All was going fine until my desktop, the host machine, completely froze. Could not go to another runlevel or anything. In the end, I pushed the reset button, and upon boot my
/home partition (
sda3) did not mount.
The message was something like this:
corruption of in-memory data detected. I did
xfs_check, which resulted in the following error:
ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed. Mount the filesystem to replay the log, and unmount it before re-running xfs_check. If you are unable to mount the filesystem, then use the xfs_repair -L option to destroy the log and attempt a repair. Note that destroying the log may cause corruption — please attempt a mount of the filesystem before doing this.
xfs_repair -L /dev/sda3
I was able to mount my
/home partition after that.