CentOS system startup error failed to mount / sysRoot solution

xfs_repair -v -L /dev/dm-0

The -l option specifies a forced log zeroing that forces XFS_REPAIR to zero the log even if it contains dirty data (metadata changes).
> Restart the virtual machine


Read More: