I have CentOS 7 Virtualbox virtual machine (VM) that gives the following
error on boot(removed parts replaced with …)
----------------------------------------------------------------------------
XFS (dm-2): Metadata corruption detected at xfs_inode_buf_verify...
XFS (dm-2): unmount and run xfs_repair
XFS (dm-2): First 128 bytes of corrupted metadata buffer:
…
XFS (dm-2): metadata I/O error in “xlog_recov_do..(read#2)” at daddr
0x1b32 error 117
----------------------------------------------------------------------------
I tried entered emergency mode, entered password and tried:
xfs_repair -L /dev/mapper/centos-root
But I got the error:
/dev/mapper/centos-root contains a mounted filesystem
/dev/mapper/centos-root contains a mounted and writable filesystem
Next I booted from the Centos ISO then went
troubleshooting → Rescue a CentOS system → 1) Continue
This fails. I get lines of = marks. When I left overnight, I had a
blank screen. When I ALT+Tab to program-log and then back to main, I
got a screen of scrolling errors.
I nightly backup my data including this VM with rsync to a USB drive.
My last backup was while the VM was running. In Virtualbox and on my
computers drive, I deleted the VM using the virtualbox GUI. I thought
this would move the VM to the trash but it permanently deleted the VM.
The problem I'm having is with the backup VM from my USB drive.
How should I troubleshoot and fix this problem? My main goal is to get
my data off the VM. I also unsuccessful with mounting the .vdi file in
another computer.